|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using NPoco;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace POSV.Entity
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 充值表主表
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Serializable]
|
|
|
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
|
|
|
[TableName("pos_card_account_destroy")]
|
|
|
|
|
[PrimaryKey(new string[] { "id" }, AutoIncrement = false)]
|
|
|
|
|
public class CardAccountDestroy : BaseEntity
|
|
|
|
|
{
|
|
|
|
|
public CardAccountDestroy()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 租户编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "tenantId")]
|
|
|
|
|
[Column("tenantId")]
|
|
|
|
|
public string TenantId{ get; set; }// 租户ID
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 门店ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "storeId")]
|
|
|
|
|
[Column("storeId")]
|
|
|
|
|
public string StoreId{ get; set; }// 门店ID
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 门店编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "storeNo")]
|
|
|
|
|
[Column("storeNo")]
|
|
|
|
|
public string StoreNo{ get; set; }// 门店编号
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 门店名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "storeName")]
|
|
|
|
|
[Column("storeName")]
|
|
|
|
|
public string StoreName{ get; set; }// 门店名称
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 员工ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "workerId")]
|
|
|
|
|
[Column("workerId")]
|
|
|
|
|
public string WorkerId { get; set; }// 员工ID
|
|
|
|
|
|
|
|
|
|
/// <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>
|
|
|
|
|
/// POS编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "posNo")]
|
|
|
|
|
[Column("posNo")]
|
|
|
|
|
public string PosNo { get; set; }// POS编号
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 班次编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "planNo")]
|
|
|
|
|
[Column("planNo")]
|
|
|
|
|
public string PlanNo { get; set; }// 班次名称
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 班次名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "planName")]
|
|
|
|
|
[Column("planName")]
|
|
|
|
|
public string PlanName { get; set; }// 班次名称
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 卡号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "cardNo")]
|
|
|
|
|
[Column("cardNo")]
|
|
|
|
|
public string CardNo { get; set; }// 卡号
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 支付方式编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "payNo")]
|
|
|
|
|
[Column("payNo")]
|
|
|
|
|
public string PayNo { get; set; }// 支付方式编号
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 支付状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "payName")]
|
|
|
|
|
[Column("payName")]
|
|
|
|
|
public string PayName { get; set; }// 支付方式名称
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
///扣款金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "debitMoney")]
|
|
|
|
|
[Column("debitMoney")]
|
|
|
|
|
public decimal DebitMoney { get; set; }// 扣款金额
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 实退金额
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "refundMoney")]
|
|
|
|
|
[Column("refundMoney")]
|
|
|
|
|
public decimal RefundMoney { get; set; }// 实退金额
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 凭证号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "voucherNo")]
|
|
|
|
|
[Column("voucherNo")]
|
|
|
|
|
public string VoucherNo { get; set; }// 凭证号
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|