using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace POSV.QiMai { /// /// 订单明细 /// [Serializable] [JsonObject(MemberSerialization.OptIn)] public class QiMaiOrderItem { /// /// 规格Id(商品Id) /// [JsonProperty(PropertyName = "id")] public string Id { get; set; } /// /// 商品名称 /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } /// /// 图片 /// [JsonProperty(PropertyName = "image")] public string Image { get; set; } /// /// 价格 /// [JsonProperty(PropertyName = "price")] public decimal Price { get; set; } /// /// 优惠金额 /// [JsonProperty(PropertyName = "minus")] public decimal Minus { get; set; } /// /// 成本价格 /// [JsonProperty(PropertyName = "cost_price")] public decimal CostPrice { get; set; } /// /// 商品数量 /// [JsonProperty(PropertyName = "num")] public int Num { get; set; } /// /// 是否发货 1是 0 否 /// [JsonProperty(PropertyName = "is_send")] public int IsSend { get; set; } /// /// 发货时间(unix时间戳) /// [JsonProperty(PropertyName = "sent_at")] public string SentAt { get; set; } /// /// 是否赠品 1是 0否 /// [JsonProperty(PropertyName = "is_give")] public int IsGive { get; set; } /// /// 推广员佣金 /// [JsonProperty(PropertyName = "income_rate")] public decimal IncomeRate { get; set; } /// /// 商品标识(商品编码) /// [JsonProperty(PropertyName = "trade_mark")] public string TradeMark { get; set; } /// /// 推广员佣金 /// [JsonProperty(PropertyName = "income_rate2")] public decimal IncomeRate2 { get; set; } /// /// 商品规格信息 /// [JsonProperty(PropertyName = "spec")] public object Spec { get; set; } /// /// 商品属性 /// [JsonProperty(PropertyName = "property")] public string Property { get; set; } /// /// 商品规格信息 /// [JsonProperty(PropertyName = "order_attach_goods")] public object OrderAttachGoods { get; set; } /// /// 商品信息 /// [JsonIgnore] public string FoodName { get; set; } /// /// 商品规格信息 /// [JsonIgnore] public string SpecName { get; set; } /// /// 商品做法信息 /// [JsonIgnore] public string PropertyName { get; set; } } }