using FreeSql.DataAnnotations;
using System;
namespace BBWY.Server.Model.Db
{
[Table(Name = "auditpaybill", DisableSyncStructure = true)]
public partial class AuditPayBill
{
///
/// 账单流水号
///
[Column(IsPrimary = true)]
public long PayBillNo { get; set; }
///
/// 归属店铺
///
[Column(StringLength = 50)]
public string BelongShop { get; set; }
///
/// 归属店铺Id
///
public long? BelongShopId { get; set; }
[Column(DbType = "datetime")]
public DateTime? CreateTime { get; set; }
[Column(DbType = "datetime")]
public DateTime? OrderStartTime { get; set; }
///
/// 支出金额
///
[Column(DbType = "decimal(18,2)")]
public decimal? ExpenditureAmount { get; set; }
///
/// 收入金额
///
[Column(DbType = "decimal(18,2)")]
public decimal? IncomeAmount { get; set; }
///
/// 是否支持商户订单号
///
public bool? IsSupportMerchantOrderNo { get; set; }
///
/// 格式化之后的商家订单号
///
public string MerchantOrderNo { get; set; }
///
/// 对方账户
///
public string OppositeAccount { get; set; }
///
/// 账单类型
///
[Column(DbType = "int(1)", MapType = typeof(int?))]
public Enums.PayBillType? PayBillType { get; set; }
///
/// 支付时间
///
[Column(DbType = "datetime")]
public DateTime? PayTime { get; set; }
///
/// 商品名称
///
public string ProductName { get; set; }
///
/// 关联采购订单号
///
[Column(StringLength = 100)]
public string RelationPurchaseOrderId { get; set; }
///
/// 关联平台订单Id
///
[Column(StringLength = 50, IsNullable = false)]
public string RelationShopOrderId { get; set; }
///
/// 备注
///
public string Remark { get; set; }
///
/// 原始商家订单号
///
public string SourceMerchantOrderNo { get; set; }
///
/// 导入时选择的店铺
///
public string ImportShopIds { get; set; }
public string ErrorMessage { get; set; }
[Column(DbType = "int(1)", MapType = typeof(int?))]
public Enums.AuditCapitalType? AuditCapitalType { get; set; }
///
/// 自定义资金类型
///
[Column(StringLength = 50)]
public string CustomAuditCapitalType { get; set; }
}
}