using DS.Module.Core; using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.Code.Entity; /// /// 港口信息表 /// [SqlSugar.SugarTable("op_code_port","港口信息表")] public class CodePort: BaseModel { /// /// 港口英文名称 /// [SugarColumn(ColumnDescription = "港口英文名称", Length = 60)] public string PortName { get; set; } /// /// 港口中文名称 /// [SugarColumn(ColumnDescription = "港口中文名称", Length = 60)] public string CnName { get; set; } /// /// 国家名称 /// [SugarColumn(ColumnDescription = "国家名称", Length = 80,IsNullable = true)] public string CountryName { get; set; } /// /// 所在大洲 /// [SugarColumn(ColumnDescription = "所在大洲",IsNullable = true, Length = 60)] public string Chau { get; set; } /// /// 说明 /// [SugarColumn(ColumnDescription = "说明",IsNullable = true, Length = 2000)] public string Explain { get; set; } /// /// 港口类型 /// [SugarColumn(ColumnDescription = "港口类型",IsNullable = true, Length = 10)] public string PortType { get; set; } /// /// 国家Id /// [SugarColumn(ColumnDescription = "国家Id",IsNullable = true)] public long CountryId { get; set; } /// /// 航线Id /// [SugarColumn(ColumnDescription = "航线Id",IsNullable = true)] public long LaneId { get; set; } /// /// EDI代码 /// [SugarColumn(ColumnDescription = "EDI代码", Length = 5,IsNullable = true)] public string EdiCode { get; set; } /// /// 状态 0启用 1禁用 /// [SugarColumn(ColumnDescription = "状态",DefaultValue = "0")] public StatusEnum? Status { get; set; } = StatusEnum.Enable; }