emoticon_api/Infrastructure/Kuaidi100/Common/Request/samecity/OrderGoods.cs
2023-10-20 21:58:42 +08:00

30 lines
768 B
C#

using Newtonsoft.Json;
namespace Common.Request.samecity
{
public class OrderGoods
{
/// <summary>
/// 商品名称
/// </summary>
public string name { get; set; }
/// <summary>
/// 商品价格(分)
/// </summary>
public int price { get; set; }
/// <summary>
/// 商品数量
/// </summary>
public int count { get; set; }
/// <summary>
/// 商品单位
/// </summary>
public string unit { get; set; }
public override string ToString()
{
return JsonConvert.SerializeObject(this, Formatting.Indented, new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore });
}
}
}