using Newtonsoft.Json; using NPoco; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace POSV.Entity.Pormotion { [Serializable] [JsonObject(MemberSerialization.OptIn)] [TableName("pos_card_promotion")] [PrimaryKey(new string[] { "Id" }, AutoIncrement = false)] public class CardPromotion : BaseEntity { public CardPromotion() { } /// /// 租户编码 /// [JsonProperty(PropertyName = "tenantId")] [Column("tenantId")] public string TenantId { get; set; } /// /// 优惠类型 /// [JsonProperty(PropertyName = "type")] [Column("type")] public string Type { get; set; } /// /// 内容 /// [JsonProperty(PropertyName = "content")] [Column("content")] public string Content { get; set; } } }