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