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#

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,
}
}