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_card_recharge")] [PrimaryKey(new string[] { "id" }, AutoIncrement = false)] public class CardRecharge : BaseEntity { public CardRecharge() { } /// /// 租户编码 /// [JsonProperty(PropertyName = "tenantId")] [Column("tenantId")] public string TenantId{ get; set; }// 租户ID /// /// 门店ID /// [JsonProperty(PropertyName = "storeId")] [Column("storeId")] public string StoreId{ get; set; }// 门店ID /// /// 门店编号 /// [JsonProperty(PropertyName = "storeNo")] [Column("storeNo")] public string StoreNo{ get; set; }// 门店编号 /// /// 门店名称 /// [JsonProperty(PropertyName = "storeName")] [Column("storeName")] public string StoreName{ get; set; }// 门店名称 /// /// 员工ID /// [JsonProperty(PropertyName = "workerId")] [Column("workerId")] public string WorkerId { get; set; }// 员工ID /// /// 员工编号 /// [JsonProperty(PropertyName = "workerNo")] [Column("workerNo")] public string WorkerNo { get; set; }// 员工编号 /// /// 员工名称 /// [JsonProperty(PropertyName = "workerName")] [Column("workerName")] public string WorkerName { get; set; }// 员工名称 /// /// POS编号 /// [JsonProperty(PropertyName = "posNo")] [Column("posNo")] public string PosNo { get; set; }// POS编号 /// /// 班次编号 /// [JsonProperty(PropertyName = "planNo")] [Column("planNo")] public string PlanNo { get; set; }// 班次名称 /// /// 班次名称 /// [JsonProperty(PropertyName = "planName")] [Column("planName")] public string PlanName { get; set; }// 班次名称 /// /// 卡号 /// [JsonProperty(PropertyName = "cardNo")] [Column("cardNo")] public string CardNo { get; set; }// 卡号 /// /// 充值编号 /// [JsonProperty(PropertyName = "rechargeNo")] [Column("rechargeNo")] public string RechargeNo { get; set; }// 充值编号 /// /// 支付状态 /// [JsonProperty(PropertyName = "payStatus")] [Column("payStatus")] public int PayStatus { get; set; }// 支付状态1未付款-2付款成功-3付款异常 /// /// 充值状态 /// [JsonProperty(PropertyName = "rechargeStatus")] [Column("rechargeStatus")] public int RechargeStatus { get; set; }// 充值状态1未充值-2充值成功3-充值异常 /// /// 支付金额 /// [JsonProperty(PropertyName = "authCode")] [Column("authCode")] public string AuthCode { get; set; }// 支付时候扫码的码 /// ///充值金额 /// [JsonProperty(PropertyName = "amount")] [Column("amount")] public decimal Amount { get; set; }// 充值金额 /// /// 实付金额 /// [JsonProperty(PropertyName = "money")] [Column("money")] public decimal Money { get; set; }// 实付金额 /// /// 赠送金额 /// [JsonProperty(PropertyName = "giveMoney")] [Column("giveMoney")] public decimal GiveMoney { get; set; }// 赠送金额 /// /// 赠送积分 /// [JsonProperty(PropertyName = "givePoint")] [Column("givePoint")] public decimal GivePoint { get; set; }// 赠送积分 /// /// 电子券ID /// [JsonProperty(PropertyName = "couponId")] [Column("couponId")] public string CouponId { get; set; }// 电子券ID /// /// 电子券数量 /// [JsonProperty(PropertyName = "couponNum")] [Column("couponNum")] public decimal CouponNum { get; set; }// 电子券数量 /// /// 赠品ID /// [JsonProperty(PropertyName = "giftId")] [Column("giftId")] public string GiftId { get; set; }// 赠品ID /// /// 赠品数量 /// [JsonProperty(PropertyName = "giftNum")] [Column("giftNum")] public decimal GiftNum { get; set; }// 赠品数量 /// /// 请求内容 /// [JsonProperty(PropertyName = "requestMessage")] [Column("requestMessage")] public string RequestMessage { get; set; }// 请求内容 /// /// 充值支付明细 /// [Ignore] public List Detail; } }