using Newtonsoft.Json; using NPoco; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace POSV.Entity { [Serializable] [JsonObject(MemberSerialization.OptIn)] [TableName("pos_store_product_coupon")] [PrimaryKey(new string[] { "id" }, AutoIncrement = false)] public class StoreProductCoupon : BaseEntity { public StoreProductCoupon() { } /// /// 租户ID /// [JsonProperty(PropertyName = "tenantId")] [Column("tenantId")] public string TenantId { get; set; } /// /// 门店ID /// [JsonProperty(PropertyName = "storeId")] [Column("storeId")] public string StoreId { get; set; } /// /// 优惠券单据ID /// [JsonProperty(PropertyName = "ticketId")] [Column("ticketId")] public string TicketId { get; set; } /// /// 优惠券单据编号 /// [JsonProperty(PropertyName = "ticketNo")] [Column("ticketNo")] public string TicketNo { get; set; } /// /// 优惠券单据备注说明 /// [JsonProperty(PropertyName = "description")] [Column("description")] public string Description { get; set; } /// /// 商品ID /// [JsonProperty(PropertyName = "productId")] [Column("productId")] public string ProductId { get; set; } /// /// 规格ID /// [JsonProperty(PropertyName = "specId")] [Column("specId")] public string SpecId { get; set; } /// /// 优惠券面额 /// [JsonProperty(PropertyName = "couponPrice")] [Column("couponPrice")] public decimal CouponPrice { get; set; } /// /// 开始日期 /// [JsonProperty(PropertyName = "startDate")] [Column("startDate")] public string StartDate { get; set; } /// /// 开始时间 /// [JsonProperty(PropertyName = "startTime")] [Column("startTime")] public string StartTime { get; set; } /// /// 结束日期 /// [JsonProperty(PropertyName = "endDate")] [Column("endDate")] public string EndDate { get; set; } /// /// 结束时间 /// [JsonProperty(PropertyName = "endTime")] [Column("endTime")] public string EndTime { get; set; } /// /// 星期 /// [JsonProperty(PropertyName = "weekDays")] [Column("weekDays")] public string WeekDays { get; set; } } }