using Admin.NET.Application;
|
using Admin.NET.Core;
|
|
/*
|
* @author : 刘文奇
|
* @date : 2024/5/10下午1:48:03
|
* @desc : 往来单位
|
*/
|
namespace Admin.NET.Application.Entity
|
{
|
/// <summary>
|
/// 往来单位
|
/// </summary>
|
[SugarTable("wms_base_customer", "往来单位")]
|
public class WmsBaseCustomer : EntityBase
|
{
|
|
|
/// <summary>
|
/// 客户编号
|
/// </summary>
|
[Required]
|
[SugarColumn(ColumnName = "CustCode", ColumnDescription = "客户编号", Length = 50)]
|
|
public string CustCode { get; set; }
|
|
|
/// <summary>
|
/// 客户中文名称
|
/// </summary>
|
[Required]
|
[SugarColumn(ColumnName = "CustChinaName", ColumnDescription = "客户中文名称", Length = 255)]
|
|
public string CustChinaName { get; set; }
|
|
|
/// <summary>
|
/// 客户英文名称
|
/// </summary>
|
[SugarColumn(ColumnName = "CustEnglishName", ColumnDescription = "客户英文名称", Length = 255)]
|
|
public string? CustEnglishName { get; set; }
|
|
|
/// <summary>
|
/// 助记码
|
/// </summary>
|
[SugarColumn(ColumnName = "MnemonicCode", ColumnDescription = "助记码", Length = 255)]
|
|
public string? MnemonicCode { get; set; }
|
|
|
/// <summary>
|
/// 类型
|
/// </summary>
|
[Required]
|
|
[SugarColumn(ColumnName = "CustType", ColumnDescription = "类型")]
|
public BaseCustomerTypeEnum CustType { get; set; }
|
|
|
/// <summary>
|
/// 类型名称
|
/// </summary>
|
[SugarColumn(ColumnName = "CustTypeName", ColumnDescription = "类型名称", Length = 50)]
|
|
public string? CustTypeName { get; set; }
|
|
|
/// <summary>
|
/// 联系人
|
/// </summary>
|
[SugarColumn(ColumnName = "LinkMan", ColumnDescription = "联系人", Length = 50)]
|
|
public string? LinkMan { get; set; }
|
|
|
/// <summary>
|
/// 电话
|
/// </summary>
|
[SugarColumn(ColumnName = "Phone", ColumnDescription = "电话", Length = 50)]
|
|
public string? Phone { get; set; }
|
|
|
/// <summary>
|
/// 电子邮件
|
/// </summary>
|
[SugarColumn(ColumnName = "Email", ColumnDescription = "电子邮件", Length = 50)]
|
|
public string? Email { get; set; }
|
|
|
/// <summary>
|
/// 邮编
|
/// </summary>
|
[SugarColumn(ColumnName = "ZipCode", ColumnDescription = "邮编", Length = 50)]
|
|
public string? ZipCode { get; set; }
|
|
|
/// <summary>
|
/// 省份
|
/// </summary>
|
[SugarColumn(ColumnName = "Province", ColumnDescription = "省份", Length = 50)]
|
|
public string? Province { get; set; }
|
|
|
/// <summary>
|
/// 城市
|
/// </summary>
|
[SugarColumn(ColumnName = "City", ColumnDescription = "城市", Length = 50)]
|
|
public string? City { get; set; }
|
|
|
/// <summary>
|
/// 地址
|
/// </summary>
|
[SugarColumn(ColumnName = "Address", ColumnDescription = "地址", Length = 255)]
|
|
public string? Address { get; set; }
|
|
|
/// <summary>
|
/// 是否禁用
|
/// </summary>
|
[Required]
|
|
[SugarColumn(ColumnName = "IsDisabled", ColumnDescription = "是否禁用")]
|
public bool IsDisabled { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
}
|