using DS.Module.Core; using DS.Module.Core.Data; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DS.WMS.Core.Map.Entity { /// /// 船名映射信息 /// [SqlSugar.SugarTable("op_map_vessel", "船名映射信息")] public class MappingVessel : BaseModel { /// /// 关联业务id /// public long LinkId { get; set; } /// /// 代码 /// [SugarColumn(ColumnDescription = "代码", Length = 100, IsNullable = false)] public string Code { get; set; } /// /// 模块 /// [SugarColumn(ColumnDescription = "模块", Length = 100, IsNullable = false)] public string Module { get; set; } /// /// 映射代码 /// [SugarColumn(ColumnDescription = "映射代码", Length = 100, IsNullable = false)] public string MapCode { get; set; } /// /// 映射名称 /// [SugarColumn(ColumnDescription = "映射名称", Length = 100, IsNullable = true)] public string MapName { get; set; } /// /// 场站Id /// [SugarColumn(ColumnDescription = "场站Id", IsNullable = true, DefaultValue = "0")] public long YardId { get; set; } /// /// 状态 0启用 1禁用 /// [SugarColumn(ColumnDescription = "状态", DefaultValue = "0")] public StatusEnum? Status { get; set; } = StatusEnum.Enable; } }