You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace POSV.ThirdPartyOrderData
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 产品优惠明细
|
|
|
|
|
/// </summary>
|
|
|
|
|
[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
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 前台系统ID
|
|
|
|
|
/// <summary>
|
|
|
|
|
[JsonProperty(PropertyName = "id")]
|
|
|
|
|
public string Id
|
|
|
|
|
{
|
|
|
|
|
get { return id; }
|
|
|
|
|
set { id = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region ticketId 系统ID
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 系统ID
|
|
|
|
|
/// <summary>
|
|
|
|
|
[JsonProperty(PropertyName = "ticketId")]
|
|
|
|
|
public string Ticketid
|
|
|
|
|
{
|
|
|
|
|
get { return ticketId; }
|
|
|
|
|
set { ticketId = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region busNo 订单号
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订单号
|
|
|
|
|
/// <summary>
|
|
|
|
|
[JsonProperty(PropertyName = "busNo")]
|
|
|
|
|
public string Busno
|
|
|
|
|
{
|
|
|
|
|
get { return busNo; }
|
|
|
|
|
set { busNo = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region type 优惠类型
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 优惠类型
|
|
|
|
|
/// <summary>
|
|
|
|
|
[JsonProperty(PropertyName = "type")]
|
|
|
|
|
public int Type
|
|
|
|
|
{
|
|
|
|
|
get { return type; }
|
|
|
|
|
set { type = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region info 订单优惠说明
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订单优惠说明
|
|
|
|
|
/// <summary>
|
|
|
|
|
[JsonProperty(PropertyName = "info")]
|
|
|
|
|
public string Info
|
|
|
|
|
{
|
|
|
|
|
get { return info; }
|
|
|
|
|
set { info = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region discountMoney 优惠金额
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 优惠金额
|
|
|
|
|
/// <summary>
|
|
|
|
|
[JsonProperty(PropertyName = "discountMoney")]
|
|
|
|
|
public decimal Discountmoney
|
|
|
|
|
{
|
|
|
|
|
get { return discountMoney; }
|
|
|
|
|
set { discountMoney = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|