using Mapster;
namespace Model
{
///
/// 交易记录 TradeRecord
///
[SugarTable("TradeRecord", "交易记录")]
[Tenant("0")]
public class TradeRecord
{
///
/// 交易单号
///
[SugarColumn(ColumnDescription = "交易单号", Length = 100, ColumnName = "TradeSerialNo")]
public string? tradeSerialNo { get; set; }
///
/// 商户编号
///
[SugarColumn(ColumnDescription = "商户编号", Length = 50, ColumnName = "MerNo")]
public string? merNo { get; set; }
///
/// 商户名称
///
[SugarColumn(ColumnDescription = "商户名称", Length = 50, ColumnName = "MerName")]
public string? merName { get; set; }
///
/// 交易金额
///
[SugarColumn(ColumnDescription = "交易金额", ColumnName = "TradeAmount")]
public decimal tradeAmount { get; set; }
///
/// 交易参考号
///
[SugarColumn(ColumnDescription = "交易参考号", Length = 32, ColumnName = "TradeReferNo")]
public string? tradeReferNo { get; set; }
///
/// 银行授权码
///
[SugarColumn(ColumnDescription = "银行授权码", Length = 32, ColumnName = "BankAuthCode")]
public string? bankAuthCode { get; set; }
///
/// 优惠费率标识
///
[SugarColumn(ColumnDescription = "优惠费率标识", Length = 16, ColumnName = "DiscountRateFlag")]
public string? discountRateFlag { get; set; }
///
/// 交易状态
///
[SugarColumn(ColumnDescription = "交易状态", Length = 16, ColumnName = "TradeStatus")]
public string? tradeStatus { get; set; }
///
/// 错误码
///
[SugarColumn(ColumnDescription = "错误码", Length = 16, ColumnName = "ErrorCode")]
public string? errorCode { get; set; }
///
/// 错误信息
///
[SugarColumn(ColumnDescription = "错误信息", Length = 32, ColumnName = "ErrorMsg")]
public string? errorMsg { get; set; }
///
/// 交易日期
///
[SugarColumn(ColumnDescription = "交易日期", Length = 8, ColumnName = "TradeDate")]
public string? tradeDate { get; set; }
///
/// 交易时间
///
[SugarColumn(ColumnDescription = "交易时间", Length = 8, ColumnName = "TradeTime")]
public string? tradeTime { get; set; }
///
/// 交易类型
///
[SugarColumn(ColumnDescription = "交易类型", Length = 32, ColumnName = "TradeType")]
public string? tradeType { get; set; }
///
/// 输入模式
///
[SugarColumn(ColumnDescription = "输入模式", Length = 32, ColumnName = "SerEntryMode")]
public string? serEntryMode { get; set; }
///
/// 银行卡类型
///
[SugarColumn(ColumnDescription = "银行卡类型", Length = 16, ColumnName = "BankCardType")]
public string? bankCardType { get; set; }
///
/// 交易SN号
///
[SugarColumn(ColumnDescription = "交易SN号", Length = 50, ColumnName = "TradeSnNo")]
public string? tradeSnNo { get; set; }
///
/// 设备类型
///
[SugarColumn(ColumnDescription = "设备类型", Length = 16, ColumnName = "DeviceType")]
public string? deviceType { get; set; }
///
/// 商户手机号
///
[SugarColumn(ColumnDescription = "商户手机号", Length = 11, ColumnName = "MerMobile")]
public string? merMobile { get; set; }
///
/// 挖款标识
///
[SugarColumn(ColumnDescription = "挖款标识", Length = 4, ColumnName = "DigAmtFlag")]
public string? digAmtFlag { get; set; }
///
/// 挖款金额
///
[SugarColumn(ColumnDescription = "挖款金额", ColumnName = "DigAmt")]
public decimal digAmt { get; set; }
///
/// 店面收银交易标识
///
[SugarColumn(ColumnDescription = "店面收银交易标识", Length = 16, ColumnName = "IsStoreCashier")]
public string? isStoreCashier { get; set; }
///
/// 设备类型
///
[SugarColumn(ColumnDescription = "设备类型", Length = 16, ColumnName = "ReceiptType")]
public string? receiptType { get; set; }
///
/// 交易卡号
///
[SugarColumn(ColumnDescription = "交易卡号", Length = 32, ColumnName = "BankCardNo")]
public string? bankCardNo { get; set; }
///
/// 出款手续费
///
[SugarColumn(ColumnDescription = "出款手续费", ColumnName = "SettleFee")]
public decimal settleFee { get; set; }
///
/// 出款方式
///
[SugarColumn(ColumnDescription = "出款方式", Length = 16, ColumnName = "SettleMethod")]
public string? settleMethod { get; set; }
///
/// 备注
///
[SugarColumn(ColumnDescription = "备注", Length = 64, ColumnName = "Remark")]
public string? remark { get; set; }
///
/// 产品类型
///
[SugarColumn(ColumnDescription = "产品类型", Length = 32, ColumnName = "ProductType")]
public string? productType { get; set; }
///
/// 代理商编号
///
[SugarColumn(ColumnDescription = "代理商编号", Length = 32, ColumnName = "AgentNo")]
public string? agentNo { get; set; }
///
/// 渠道流水号
///
[SugarColumn(ColumnDescription = "渠道流水号", Length = 50, ColumnName = "ChannelSerial")]
public string? channelSerial { get; set; }
///
/// 备用字段1
///
[SugarColumn(ColumnDescription = "备用字段1", Length = 50, ColumnName = "Field1")]
public string? field1 { get; set; }
///
/// 备用字段2
///
[SugarColumn(ColumnDescription = "备用字段2", Length = 50, ColumnName = "Field2")]
public string? field2 { get; set; }
///
/// 备用字段3
///
[SugarColumn(ColumnDescription = "备用字段3", Length = 50, ColumnName = "Field3")]
public string? field3 { get; set; }
///
/// 备用字段4
///
[SugarColumn(ColumnDescription = "备用字段4", Length = 50, ColumnName = "Field4")]
public string? field4 { get; set; }
///
/// 备用字段5
///
[SugarColumn(ColumnDescription = "备用字段5", Length = 50, ColumnName = "Field5")]
public string? field5 { get; set; }
}
}