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.

558 lines
13 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 ProgramHandleOrderProductData
{
//==================================private==================================
#region field
//前台系统ID
private string id;
//系统ID
private string clientId;
//父记录ID
private string parentId;
//菜品ID
private string productId;
//菜品编号
private string productNo;
//菜品名称
private string productName;
//菜品单位
private string productUnitId;
//菜品单位名
private string productUnitName;
//菜品图片URL
private string productImageUrl;
//分类券路径
private string typePath;
//顶级分类ID
private string seriesId;
//顶级分类名称
private string seriesName;
//类别ID
private string typeId;
//类别名
private string typeName;
//规格ID
private string specId;
//规格名称
private string specName;
//数量
private decimal count;
//退菜数量
private decimal rcount;
//销售价格
private decimal price;
//折后价格
private decimal discountPrice;
//菜品原价
private decimal priceOrg;
//是否套菜(1普通菜 2 主菜 3 明细菜)
private int isSuit;
//套菜ID
private string suitId;
//销售时间
private string saleDate;
//消费金额
private decimal amount;
//优惠率
private decimal discount;
//优惠额
private decimal discountTotal;
//应收金额
private decimal receivable;
//加价金额
private decimal addPriceTotal;
//加价优惠金额
private decimal discountAddTotal;
//加价消费金额
private decimal amountAddTotal;
//消费总额(消费金额+加价总额)
private decimal amountTotal;
//应收总额(应收金额+加价应收总额)
private decimal receivableTotal;
//餐盒费
private decimal packageFee;
//行号
private int lineNo;
#endregion
//==================================public==================================
#region id 前台系统ID
/// <summary>
/// 前台系统ID
/// <summary>
[JsonProperty(PropertyName = "id")]
public string Id
{
get { return id; }
set { id = value; }
}
#endregion
#region clientId 系统ID
/// <summary>
/// 系统ID
/// <summary>
[JsonProperty(PropertyName = "clientId")]
public string Clientid
{
get { return clientId; }
set { clientId = value; }
}
#endregion
#region parentId 父记录ID
/// <summary>
/// 父记录ID
/// <summary>
[JsonProperty(PropertyName = "parentId")]
public string Parentid
{
get { return parentId; }
set { parentId = value; }
}
#endregion
#region productId 菜品ID
/// <summary>
/// 菜品ID
/// <summary>
[JsonProperty(PropertyName = "productId")]
public string Productid
{
get { return productId; }
set { productId = value; }
}
#endregion
#region productNo 菜品编号
/// <summary>
/// 菜品编号
/// <summary>
[JsonProperty(PropertyName = "productNo")]
public string Productno
{
get { return productNo; }
set { productNo = value; }
}
#endregion
#region productName 菜品名称
/// <summary>
/// 菜品名称
/// <summary>
[JsonProperty(PropertyName = "productName")]
public string Productname
{
get { return productName; }
set { productName = value; }
}
#endregion
#region productUnitId 菜品单位
/// <summary>
/// 菜品单位
/// <summary>
[JsonProperty(PropertyName = "productUnitId")]
public string Productunitid
{
get { return productUnitId; }
set { productUnitId = value; }
}
#endregion
#region productUnitName 菜品单位名
/// <summary>
/// 菜品单位名
/// <summary>
[JsonProperty(PropertyName = "productUnitName")]
public string Productunitname
{
get { return productUnitName; }
set { productUnitName = value; }
}
#endregion
#region productImageUrl 菜品图片URL
/// <summary>
/// 菜品图片URL
/// <summary>
[JsonProperty(PropertyName = "productImageUrl")]
public string Productimageurl
{
get { return productImageUrl; }
set { productImageUrl = value; }
}
#endregion
#region typePath 分类券路径
/// <summary>
/// 分类券路径
/// <summary>
[JsonProperty(PropertyName = "typePath")]
public string Typepath
{
get { return typePath; }
set { typePath = value; }
}
#endregion
#region seriesId 顶级分类ID
/// <summary>
/// 顶级分类ID
/// <summary>
[JsonProperty(PropertyName = "seriesId")]
public string Seriesid
{
get { return seriesId; }
set { seriesId = value; }
}
#endregion
#region seriesName 顶级分类名称
/// <summary>
/// 顶级分类名称
/// <summary>
[JsonProperty(PropertyName = "seriesName")]
public string Seriesname
{
get { return seriesName; }
set { seriesName = value; }
}
#endregion
#region typeId 类别ID
/// <summary>
/// 类别ID
/// <summary>
[JsonProperty(PropertyName = "typeId")]
public string Typeid
{
get { return typeId; }
set { typeId = value; }
}
#endregion
#region typeName 类别名
/// <summary>
/// 类别名
/// <summary>
[JsonProperty(PropertyName = "typeName")]
public string Typename
{
get { return typeName; }
set { typeName = value; }
}
#endregion
#region specId 规格ID
/// <summary>
/// 规格ID
/// <summary>
[JsonProperty(PropertyName = "specId")]
public string Specid
{
get { return specId; }
set { specId = value; }
}
#endregion
#region specName 规格名称
/// <summary>
/// 规格名称
/// <summary>
[JsonProperty(PropertyName = "specName")]
public string Specname
{
get { return specName; }
set { specName = value; }
}
#endregion
#region count 数量
/// <summary>
/// 数量
/// <summary>
[JsonProperty(PropertyName = "count")]
public decimal Count
{
get { return count; }
set { count = value; }
}
#endregion
#region rcount 退菜数量
/// <summary>
/// 退菜数量
/// <summary>
[JsonProperty(PropertyName = "rcount")]
public decimal Rcount
{
get { return rcount; }
set { rcount = value; }
}
#endregion
#region price 销售价格
/// <summary>
/// 销售价格
/// <summary>
[JsonProperty(PropertyName = "price")]
public decimal Price
{
get { return price; }
set { price = value; }
}
#endregion
#region discountPrice 折后价格
/// <summary>
/// 折后价格
/// <summary>
[JsonProperty(PropertyName = "discountPrice")]
public decimal Discountprice
{
get { return discountPrice; }
set { discountPrice = value; }
}
#endregion
#region priceOrg 菜品原价
/// <summary>
/// 菜品原价
/// <summary>
[JsonProperty(PropertyName = "priceOrg")]
public decimal Priceorg
{
get { return priceOrg; }
set { priceOrg = value; }
}
#endregion
#region isSuit 是否套菜(1普通菜 2 主菜 3 明细菜)
/// <summary>
/// 是否套菜(1普通菜 2 主菜 3 明细菜)
/// <summary>
[JsonProperty(PropertyName = "isSuit")]
public int Issuit
{
get { return isSuit; }
set { isSuit = value; }
}
#endregion
#region suitId 套菜ID
/// <summary>
/// 套菜ID
/// <summary>
[JsonProperty(PropertyName = "suitId")]
public string Suitid
{
get { return suitId; }
set { suitId = value; }
}
#endregion
#region saleDate 销售时间
/// <summary>
/// 销售时间
/// <summary>
[JsonProperty(PropertyName = "saleDate")]
public string Saledate
{
get { return saleDate; }
set { saleDate = value; }
}
#endregion
#region amount 消费金额
/// <summary>
/// 消费金额
/// <summary>
[JsonProperty(PropertyName = "amount")]
public decimal Amount
{
get { return amount; }
set { amount = value; }
}
#endregion
#region discount 优惠率
/// <summary>
/// 优惠率
/// <summary>
[JsonProperty(PropertyName = "discount")]
public decimal Discount
{
get { return discount; }
set { discount = value; }
}
#endregion
#region discountTotal 优惠额
/// <summary>
/// 优惠额
/// <summary>
[JsonProperty(PropertyName = "discountTotal")]
public decimal Discounttotal
{
get { return discountTotal; }
set { discountTotal = value; }
}
#endregion
#region receivable 应收金额
/// <summary>
/// 应收金额
/// <summary>
[JsonProperty(PropertyName = "receivable")]
public decimal Receivable
{
get { return receivable; }
set { receivable = value; }
}
#endregion
#region addPriceTotal 加价金额
/// <summary>
/// 加价金额
/// <summary>
[JsonProperty(PropertyName = "addPriceTotal")]
public decimal Addpricetotal
{
get { return addPriceTotal; }
set { addPriceTotal = value; }
}
#endregion
#region discountAddTotal 加价优惠金额
/// <summary>
/// 加价优惠金额
/// <summary>
[JsonProperty(PropertyName = "discountAddTotal")]
public decimal Discountaddtotal
{
get { return discountAddTotal; }
set { discountAddTotal = value; }
}
#endregion
#region amountAddTotal 加价消费金额
/// <summary>
/// 加价消费金额
/// <summary>
[JsonProperty(PropertyName = "amountAddTotal")]
public decimal Amountaddtotal
{
get { return amountAddTotal; }
set { amountAddTotal = value; }
}
#endregion
#region amountTotal 消费总额(消费金额+加价总额)
/// <summary>
/// 消费总额(消费金额+加价总额)
/// <summary>
[JsonProperty(PropertyName = "amountTotal")]
public decimal Amounttotal
{
get { return amountTotal; }
set { amountTotal = value; }
}
#endregion
#region receivableTotal 应收总额(应收金额+加价应收总额)
/// <summary>
/// 应收总额(应收金额+加价应收总额)
/// <summary>
[JsonProperty(PropertyName = "receivableTotal")]
public decimal Receivabletotal
{
get { return receivableTotal; }
set { receivableTotal = value; }
}
#endregion
#region packageFee 餐盒费
/// <summary>
/// 餐盒费
/// <summary>
[JsonProperty(PropertyName = "packageFee")]
public decimal Packagefee
{
get { return packageFee; }
set { packageFee = value; }
}
#endregion
#region lineNo 行号
/// <summary>
/// 行号
/// <summary>
[JsonProperty(PropertyName = "lineNo")]
public int Lineno
{
get { return lineNo; }
set { lineNo = value; }
}
#endregion
}
}