using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace POSV.ThirdPartyOrderData { /// /// 产品优惠明细 /// [Serializable] [JsonObject(MemberSerialization.OptIn)] public class ProgramOrderTicketInfoData { //==================================private================================== #region field //前台系统ID private string id; //系统ID private string ticketId; //订单号 private string busNo; //优惠类型 private int type; //订单优惠说明 private string info; //优惠金额 private decimal discountMoney; #endregion //==================================public================================== #region id 前台系统ID /// /// 前台系统ID /// [JsonProperty(PropertyName = "id")] public string Id { get { return id; } set { id = value; } } #endregion #region ticketId 系统ID /// /// 系统ID /// [JsonProperty(PropertyName = "ticketId")] public string Ticketid { get { return ticketId; } set { ticketId = value; } } #endregion #region busNo 订单号 /// /// 订单号 /// [JsonProperty(PropertyName = "busNo")] public string Busno { get { return busNo; } set { busNo = value; } } #endregion #region type 优惠类型 /// /// 优惠类型 /// [JsonProperty(PropertyName = "type")] public int Type { get { return type; } set { type = value; } } #endregion #region info 订单优惠说明 /// /// 订单优惠说明 /// [JsonProperty(PropertyName = "info")] public string Info { get { return info; } set { info = value; } } #endregion #region discountMoney 优惠金额 /// /// 优惠金额 /// [JsonProperty(PropertyName = "discountMoney")] public decimal Discountmoney { get { return discountMoney; } set { discountMoney = value; } } #endregion } }