namespace Admin.NET.Plugin.AiDOP.Entity.S0.Warehouse; /// /// 货架主数据(复刻 LocationShelfMaster,从属于 LocationMaster 聚合) /// [SugarTable("LocationShelfMaster", "货架主数据(复刻 LocationShelfMaster)")] [SugarIndex("uk_LocationShelfMaster_domain_loc_shelf", nameof(DomainCode), OrderByType.Asc, nameof(Location), OrderByType.Asc, nameof(InvShelf), OrderByType.Asc, IsUnique = true)] public class AdoS0LocationShelfMaster { [SugarColumn(ColumnName = "rec_id", ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")] public long Id { get; set; } [SugarColumn(ColumnName = "company_ref_id", ColumnDescription = "关联公司 ID", ColumnDataType = "bigint")] public long CompanyRefId { get; set; } [SugarColumn(ColumnName = "factory_ref_id", ColumnDescription = "关联工厂 ID", ColumnDataType = "bigint")] public long FactoryRefId { get; set; } [SugarColumn(ColumnName = "domain_code", ColumnDescription = "工厂域编码", Length = 50)] public string DomainCode { get; set; } = string.Empty; [SugarColumn(ColumnName = "location", ColumnDescription = "所属库位编码", Length = 100)] public string Location { get; set; } = string.Empty; [SugarColumn(ColumnName = "inv_shelf", ColumnDescription = "货架编码", Length = 100)] public string InvShelf { get; set; } = string.Empty; [SugarColumn(ColumnName = "descr", ColumnDescription = "货架说明", Length = 255, IsNullable = true)] public string? Descr { get; set; } [SugarColumn(ColumnName = "area", ColumnDescription = "区域", Length = 100, IsNullable = true)] public string? Area { get; set; } [SugarColumn(ColumnName = "create_user", ColumnDescription = "创建人", Length = 100, IsNullable = true)] public string? CreateUser { get; set; } [SugarColumn(ColumnName = "create_time", ColumnDescription = "创建时间")] public DateTime CreateTime { get; set; } = DateTime.Now; [SugarColumn(ColumnName = "update_user", ColumnDescription = "更新人", Length = 100, IsNullable = true)] public string? UpdateUser { get; set; } [SugarColumn(ColumnName = "update_time", ColumnDescription = "更新时间", IsNullable = true)] public DateTime? UpdateTime { get; set; } /// 列表展示:库位说明(不落库,来自 LocationMaster 关联) [SugarColumn(IsIgnore = true)] public string? LocationDescr { get; set; } /// 列表展示:库位:货架 拼接(不落库) [SugarColumn(IsIgnore = true)] public string? KwhjName { get; set; } }