using Newtonsoft.Json; using NPoco; using POSV.ShoppingCart; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace POSV.Entity { /// /// 充值支付方式明细 /// [Serializable] [JsonObject(MemberSerialization.OptIn)] [TableName("pos_card_sale_pay")] [PrimaryKey(new string[] { "id" }, AutoIncrement = false)] public class CardSalePay : BaseEntity { public CardSalePay() { } /// /// 租户编码 /// [JsonProperty(PropertyName = "tenantId")] [Column("tenantId")] public string TenantId{ get; set; }// 租户ID /// /// 主单ID /// [JsonProperty(PropertyName = "ticketId")] [Column("ticketId")] public string TicketId { get; set; }// 主单ID /// /// 支付方式编号 /// [JsonProperty(PropertyName = "payNo")] [Column("payNo")] public string PayNo { get; set; }// 支付方式编号 /// /// 支付方式名称 /// [JsonProperty(PropertyName = "payName")] [Column("payName")] public string PayName { get; set; }// 支付方式名称 /// /// 支付金额 /// [JsonProperty(PropertyName = "amount")] [Column("amount")] public decimal Amount { get; set; }// 支付金额 /// /// 支付凭证号 /// [JsonProperty(PropertyName = "voucherNo")] [Column("voucherNo")] public string VoucherNo { get; set; }// 支付凭证号 /// /// 支付渠道 区分各种聚合支付、原生支付 /// [JsonProperty(PropertyName = "payChannel")] [Column("payChannel")] public PayChannelEnum PayChannel { get; set; } = PayChannelEnum.无; /// /// 备注说明 /// [JsonProperty(PropertyName = "memo")] [Column("memo")] public string Memo { get; set; }// 备注说明 } }