using DS.Module.Core; using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.Code.Entity; /// /// 船名信息表 /// [SqlSugar.SugarTable("op_code_vessel","船名信息表")] public class CodeVessel: BaseModel { /// /// 船名 /// [SugarColumn(ColumnDescription = "船名", Length = 60)] public string VesselName { get; set; } /// /// 中文说明 /// [SugarColumn(ColumnDescription = "中文说明", Length = 100)] public string CnName { get; set; } /// /// 船公司Id /// [SugarColumn(ColumnDescription = "船公司Id",IsNullable = true)] public long CarrierId { get; set; } /// /// 船运代理 /// [SugarColumn(ColumnDescription = "船运代理",IsNullable = true, Length = 100)] public string ShipAgency { 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; }