using DS.Module.Core; using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.Info.Entity; /// /// 往来单位-收发货人信息 /// [SugarTable("info_client_shipper", "往来单位-收发货人信息")] public class InfoClientShipper : BaseModelV2 { /// /// 往来单位id /// public long ClientId { get; set; } /// /// Desc:收发货人代码 /// [SugarColumn(ColumnDescription = "收发货人代码", Length = 20)] public string CodeName { get; set; } /// /// 收发货人名称 /// [SugarColumn(ColumnDescription = "收发货人名称", Length = 100, IsNullable = false)] public string Name { get; set; } = string.Empty; /// /// Desc:收发货人简称 /// [SugarColumn(ColumnDescription = "收发货人简称", Length = 20)] public string? ShortName { get; set; } /// /// Desc:类型 下拉选择(Shipper-1,Consinee-2,Notifypaty-3,Agent-4) /// [SugarColumn(ColumnDescription = "类型 下拉选择(Shipper-1,Consinee-2,Notifypaty-3,Agent-4)")] public int ShipperType { get; set; } /// /// 是否公共标识 /// [SugarColumn(ColumnDescription = "是否公共标识", DefaultValue = "0")] public bool IsPublic { get; set; } = false; /// /// Desc:详细信息 /// [SugarColumn(ColumnDescription = "详细信息", Length = 600, IsNullable = true)] public string ShortDetail { get; set; } /// /// Desc:联系人 /// [SugarColumn(ColumnDescription = "联系人", Length = 25, IsNullable = true)] public string ATTN { get; set; } /// /// Desc:邮箱 /// [SugarColumn(ColumnDescription = "邮箱", Length = 50, IsNullable = true)] public string Email { get; set; } /// /// Desc:电话 /// [SugarColumn(ColumnDescription = "电话", Length = 50, IsNullable = true)] public string Tel { get; set; } /// /// 地址 /// [SugarColumn(ColumnDescription = "地址", Length = 500, IsNullable = true)] public string? Address { get; set; } // /// // /// 国家Id // /// // [SugarColumn(ColumnDescription = "国家Id")] // public long CountryId { get; set; } = 0; /// /// Desc:公司代码 /// [SugarColumn(ColumnDescription = "公司代码", Length = 50, IsNullable = true)] public string CompanyNo { get; set; } /// /// 状态 0启用 1禁用 /// [SugarColumn(ColumnDescription = "状态", DefaultValue = "0")] public StatusEnum? Status { get; set; } = StatusEnum.Enable; /// /// 机构Id /// [SugarColumn(ColumnDescription = "机构Id")] public long OrgId { get; set; } }