namespace Admin.NET.Plugin.AiDOP.Universal;
///
/// 客户主数据(CustMaster 表,外部 ERP 表,只读映射)
///
[IgnoreTable]
[SugarTable("CustMaster", "客户主数据")]
public class CustMaster
{
/// 自增列
[SugarColumn(ColumnName = "RecID", IsPrimaryKey = true, IsIdentity = true)]
public int RecID { get; set; }
/// 客户编号
[SugarColumn(ColumnName = "Cust", Length = 8, IsNullable = true)]
public string? Cust { get; set; }
/// 简称
[SugarColumn(ColumnName = "SortName", Length = 30, IsNullable = true)]
public string? SortName { get; set; }
/// 域名
[SugarColumn(ColumnName = "Domain", Length = 8, IsNullable = true)]
public string? Domain { get; set; }
/// 地点
[SugarColumn(ColumnName = "Site", Length = 8, IsNullable = true)]
public string? Site { get; set; }
/// 等级
[SugarColumn(ColumnName = "Class", Length = 2, IsNullable = true)]
public string? Class { get; set; }
/// 货币
[SugarColumn(ColumnName = "Curr", Length = 4, IsNullable = true)]
public string? Curr { get; set; }
/// 类别
[SugarColumn(ColumnName = "Terms", Length = 8, IsNullable = true)]
public string? Terms { get; set; }
/// 信用限额
[SugarColumn(ColumnName = "CreditLimit", IsNullable = true)]
public decimal? CreditLimit { get; set; }
/// 信用冻结
[SugarColumn(ColumnName = "CreditHold", IsNullable = true)]
public int? CreditHold { get; set; }
/// 区域
[SugarColumn(ColumnName = "Region", Length = 8, IsNullable = true)]
public string? Region { get; set; }
/// 发至
[SugarColumn(ColumnName = "ShipTo", Length = 8, IsNullable = true)]
public string? ShipTo { get; set; }
/// 运输方式
[SugarColumn(ColumnName = "ShipVia", Length = 6, IsNullable = true)]
public string? ShipVia { get; set; }
/// 语言
[SugarColumn(ColumnName = "Language", Length = 4, IsNullable = true)]
public string? Language { get; set; }
/// 销售员1
[SugarColumn(ColumnName = "Salesperson1", Length = 8, IsNullable = true)]
public string? Salesperson1 { get; set; }
/// 应交税
[SugarColumn(ColumnName = "Taxable", IsNullable = true)]
public int? Taxable { get; set; }
/// 税类型
[SugarColumn(ColumnName = "TaxClass", Length = 8, IsNullable = true)]
public string? TaxClass { get; set; }
/// 变更日期
[SugarColumn(ColumnName = "ModDate", IsNullable = true)]
public DateTime? ModDate { get; set; }
/// 创建时间
[SugarColumn(ColumnName = "CreateTime", IsNullable = true)]
public DateTime? CreateTime { get; set; }
/// 更新时间
[SugarColumn(ColumnName = "UpdateTime", IsNullable = true)]
public DateTime? UpdateTime { get; set; }
/// 有效
[SugarColumn(ColumnName = "IsActive", IsNullable = true)]
public int? IsActive { get; set; }
/// 备注
[SugarColumn(ColumnName = "Remark", Length = 255, IsNullable = true)]
public string? Remark { get; set; }
/// 税ID
[SugarColumn(ColumnName = "TaxID", Length = 30, IsNullable = true)]
public string? TaxID { get; set; }
/// 银行帐户
[SugarColumn(ColumnName = "BankAcct", Length = 30, IsNullable = true)]
public string? BankAcct { get; set; }
}