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.
165 lines
4.0 KiB
C#
165 lines
4.0 KiB
C#
using Newtonsoft.Json;
|
|
using NPoco;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace POSV.Entity.Report
|
|
{
|
|
[Serializable]
|
|
public class OrderOromotionSummary
|
|
{
|
|
public OrderOromotionSummary()
|
|
{
|
|
|
|
}
|
|
/// <summary>
|
|
/// 单号
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "tradeNo")]
|
|
[Column("tradeNo")]
|
|
public string TradeNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 时间
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "finishDate")]
|
|
[Column("finishDate")]
|
|
public string FinishDate { get; set; }
|
|
/// <summary>
|
|
/// 工号
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "workerNo")]
|
|
[Column("workerNo")]
|
|
public string WorkerNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 员工名称
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "workerName")]
|
|
[Column("workerName")]
|
|
public string WorkerName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 优惠类型
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "promotionType")]
|
|
[Column("promotionType")]
|
|
public PromotionTypeE PromotionType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 数量
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "count")]
|
|
[Column("count")]
|
|
public string Count { get; set; } //
|
|
|
|
|
|
/// <summary>
|
|
/// 商品分类
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "typeName")]
|
|
[Column("typeName")]
|
|
public string TypeName { get; set; } //
|
|
|
|
/// <summary>
|
|
/// 商品名称
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "productName")]
|
|
[Column("productName")]
|
|
public string ProductName { get; set; } //
|
|
|
|
|
|
/// <summary>
|
|
/// 商品编号
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "productNo")]
|
|
[Column("productNo")]
|
|
public string ProductNo { get; set; } //
|
|
|
|
/// <summary>
|
|
/// 规格名称
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "specName")]
|
|
[Column("specName")]
|
|
public string SpecName { get; set; } //
|
|
|
|
/// <summary>
|
|
/// 售价
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "salePrice")]
|
|
[Column("salePrice")]
|
|
public string SalePrice { get; set; }
|
|
|
|
/// <summary>
|
|
/// 金额
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "amount")]
|
|
[Column("amount")]
|
|
public string Amount { get; set; } //
|
|
|
|
/// <summary>
|
|
/// 做法加价
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "flavorAmount")]
|
|
[Column("flavorAmount")]
|
|
public string FlavorAmount { get; set; }
|
|
|
|
/// <summary>
|
|
/// 总金额
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "totalAmount")]
|
|
[Column("totalAmount")]
|
|
public string TotalAmount { get; set; } //
|
|
|
|
/// <summary>
|
|
/// 优惠金额
|
|
/// </summary>
|
|
[JsonProperty(PropertyName = "discountAmount")]
|
|
[Column("discountAmount")]
|
|
public string DiscountAmount { get; set; } //
|
|
|
|
}
|
|
|
|
public enum PromotionTypeE
|
|
{
|
|
None = -1,
|
|
赠送 = 0,
|
|
折扣 = 1,
|
|
优惠券 = 2,
|
|
会员价 = 3,
|
|
满减 = 4,
|
|
满送 = 5,
|
|
议价 = 6,
|
|
兑换 = 7,
|
|
立减 = 8,
|
|
整单立减 = 9,
|
|
免单 = 10,
|
|
会员等级优惠 = 11,
|
|
|
|
做法折扣 = 12,
|
|
|
|
整单折扣 = 21,
|
|
整单议价 = 26,
|
|
|
|
外卖扣费 = 30,
|
|
企迈订单优惠 = 31,
|
|
|
|
道菜分摊 = 50,
|
|
|
|
卡友日 = 60,
|
|
满减促销 = 61,
|
|
商品促销 = 62,
|
|
实体优惠券 = 63,
|
|
双数特价优惠 = 64,
|
|
双数特价赠送 = 65,
|
|
|
|
|
|
电子代金券 = 80,
|
|
电子折扣券 = 81,
|
|
电子兑换券 = 82,
|
|
电子商品券 = 83,
|
|
}
|
|
}
|