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.
225 lines
4.9 KiB
C#
225 lines
4.9 KiB
C#
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 ProgramOrderMakeInfoData
|
|
{
|
|
//==================================private==================================
|
|
|
|
|
|
#region field
|
|
//前台系统ID
|
|
private string id;
|
|
//商品明细ID
|
|
private string orderItemId;
|
|
//做法ID
|
|
private string makeId;
|
|
//做法名称
|
|
private string makeName;
|
|
//做法加价
|
|
private decimal addPrice;
|
|
//折后单价
|
|
private decimal discountPrice;
|
|
//做法数量
|
|
private decimal count;
|
|
//做法退数量
|
|
private decimal rcount;
|
|
//加价总额
|
|
private decimal addTotal;
|
|
//折后总额
|
|
private decimal discountAddTotal;
|
|
//折后率
|
|
private decimal discount;
|
|
//做法管理数量标识(0否1是)
|
|
private int qtyFlag;
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//==================================public==================================
|
|
|
|
|
|
#region id 前台系统ID
|
|
|
|
[JsonProperty(PropertyName = "id")]
|
|
/// <summary>
|
|
/// 前台系统ID
|
|
/// <summary>
|
|
public string Id
|
|
{
|
|
get { return id; }
|
|
set { id = value; }
|
|
}
|
|
#endregion
|
|
|
|
|
|
#region orderItemId 商品明细ID
|
|
|
|
[JsonProperty(PropertyName = "orderItemId")]
|
|
/// <summary>
|
|
/// 商品明细ID
|
|
/// <summary>
|
|
public string Orderitemid
|
|
{
|
|
get { return orderItemId; }
|
|
set { orderItemId = value; }
|
|
}
|
|
#endregion
|
|
|
|
|
|
#region makeId 做法ID
|
|
|
|
[JsonProperty(PropertyName = "makeId")]
|
|
/// <summary>
|
|
/// 做法ID
|
|
/// <summary>
|
|
public string Makeid
|
|
{
|
|
get { return makeId; }
|
|
set { makeId = value; }
|
|
}
|
|
#endregion
|
|
|
|
|
|
#region makeName 做法名称
|
|
|
|
[JsonProperty(PropertyName = "makeName")]
|
|
/// <summary>
|
|
/// 做法名称
|
|
/// <summary>
|
|
public string Makename
|
|
{
|
|
get { return makeName; }
|
|
set { makeName = value; }
|
|
}
|
|
#endregion
|
|
|
|
|
|
#region addPrice 做法加价
|
|
|
|
[JsonProperty(PropertyName = "addPrice")]
|
|
/// <summary>
|
|
/// 做法加价
|
|
/// <summary>
|
|
public decimal Addprice
|
|
{
|
|
get { return addPrice; }
|
|
set { addPrice = value; }
|
|
}
|
|
#endregion
|
|
|
|
|
|
#region discountPrice 折后单价
|
|
|
|
[JsonProperty(PropertyName = "discountPrice")]
|
|
/// <summary>
|
|
/// 折后单价
|
|
/// <summary>
|
|
public decimal Discountprice
|
|
{
|
|
get { return discountPrice; }
|
|
set { discountPrice = value; }
|
|
}
|
|
#endregion
|
|
|
|
|
|
#region count 做法数量
|
|
|
|
[JsonProperty(PropertyName = "count")]
|
|
/// <summary>
|
|
/// 做法数量
|
|
/// <summary>
|
|
public decimal Count
|
|
{
|
|
get { return count; }
|
|
set { count = value; }
|
|
}
|
|
#endregion
|
|
|
|
|
|
#region rcount 做法退数量
|
|
|
|
[JsonProperty(PropertyName = "rcount")]
|
|
/// <summary>
|
|
/// 做法退数量
|
|
/// <summary>
|
|
public decimal Rcount
|
|
{
|
|
get { return rcount; }
|
|
set { rcount = value; }
|
|
}
|
|
#endregion
|
|
|
|
|
|
#region addTotal 加价总额
|
|
|
|
[JsonProperty(PropertyName = "addTotal")]
|
|
/// <summary>
|
|
/// 加价总额
|
|
/// <summary>
|
|
public decimal Addtotal
|
|
{
|
|
get { return addTotal; }
|
|
set { addTotal = value; }
|
|
}
|
|
#endregion
|
|
|
|
|
|
#region discountAddTotal 折后总额
|
|
|
|
[JsonProperty(PropertyName = "discountAddTotal")]
|
|
/// <summary>
|
|
/// 折后总额
|
|
/// <summary>
|
|
public decimal Discountaddtotal
|
|
{
|
|
get { return discountAddTotal; }
|
|
set { discountAddTotal = value; }
|
|
}
|
|
#endregion
|
|
|
|
|
|
#region discount 折后率
|
|
|
|
[JsonProperty(PropertyName = "discount")]
|
|
/// <summary>
|
|
/// 折后率
|
|
/// <summary>
|
|
public decimal Discount
|
|
{
|
|
get { return discount; }
|
|
set { discount = value; }
|
|
}
|
|
#endregion
|
|
|
|
|
|
#region qtyFlag 做法管理数量标识(0否1是)
|
|
|
|
[JsonProperty(PropertyName = "qtyFlag")]
|
|
/// <summary>
|
|
/// 做法管理数量标识(0否1是)
|
|
/// <summary>
|
|
public int Qtyflag
|
|
{
|
|
get { return qtyFlag; }
|
|
set { qtyFlag = value; }
|
|
}
|
|
#endregion
|
|
|
|
|
|
|
|
}
|
|
}
|