using DS.Module.Core.Data; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DS.WMS.Core.Check.Entity { /// /// 自动对账主表 /// [SqlSugar.SugarTable("check_bill_auto", "自动对账主表")] public class CheckBillAuto : BaseModel { /// /// 自动对账编号 可以根据规则生成 /// [SqlSugar.SugarColumn(ColumnDescription = "自动对账编号", IsNullable = true, Length = 30)] public string AutoBillNo { get; set; } /// /// 对账单名称 /// [SqlSugar.SugarColumn(ColumnDescription = "对账单名称", IsNullable = true, Length = 50)] public string BillName { get; set; } /// /// 对账日期 /// [SqlSugar.SugarColumn(ColumnDescription = "对账日期", IsNullable = true)] public DateTime? CheckDate { get; set; } = DateTime.Now; /// /// 业务类型 0 全部 1.海运出口 /// [SugarColumn(ColumnDescription = "业务类型 0 全部 1.海运出口", IsNullable = true, DefaultValue = "0")] public int BusinessType { get; set; } /// /// 对账方式 1 Excel导入 2.区间统计 /// [SugarColumn(ColumnDescription = "对账类型", IsNullable = true,DefaultValue ="1")] public int CheckType { get; set; } /// /// 起始时间 /// [SqlSugar.SugarColumn(ColumnDescription = "起始时间", IsNullable = true)] public DateTime? StartTime { get; set; } /// /// 结束时间 /// [SqlSugar.SugarColumn(ColumnDescription = "结束时间", IsNullable = true)] public DateTime? EndTime { get; set; } /// /// 收付类型(收、付)0 全部 1应收 2 应付 /// [SugarColumn(ColumnDescription = "收付类型(收、付)", IsNullable = false, DefaultValue = "0")] public int BillType { get; set; } /// /// 对账客户Id /// [SqlSugar.SugarColumn(ColumnDescription = "对账客户Id", IsNullable = false, DefaultValue = "0")] public long CustomerId { get; set; } /// /// 对账客户名称 t_info_client CUSTNAME /// [SqlSugar.SugarColumn(ColumnDescription = "对账客户名称", IsNullable = true, Length = 50)] public string CustomerName { get; set; } /// /// 费用范围 /// [SugarColumn(ColumnDescription = "费用范围", IsNullable = false, DefaultValue = "0")] public int FeeScope { get; set; } /// /// 结算人Id /// [SugarColumn(ColumnDescription = "结算人Id", IsNullable = true)] public long? SettlerId { get; set; } /// /// 结算人名称 /// [SugarColumn(ColumnDescription = "结算人", IsNullable = true, Length = 50)] public string? SettlerName { get; set; } /// /// 结算日期 /// [SugarColumn(ColumnDescription = "结算日期", IsNullable = true)] public DateTime? SettlementTime { get; set; } /// /// 账单编号 可以根据规则生成 /// [SqlSugar.SugarColumn(ColumnDescription = "账单编号", IsNullable = true, Length = 30)] public string BillNo { get; set; } /// /// 对账人 /// [SugarColumn(ColumnDescription = "对账人", IsNullable = true, Length = 50)] public string? CheckUserName { get; set; } /// /// 对账状态 /// [SugarColumn(ColumnDescription = "对账状态 0未对账 1对账一致 2对账不一致", IsNullable = true, DefaultValue ="0")] public int CheckStatus { get; set; } /// /// 对账状态名称 /// [SugarColumn(ColumnDescription = "对账状态名称 0未对账 1对账一致 2对账不一致", IsNullable = true, Length = 50)] public string? CheckStatusName { get; set; } } }