| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- namespace Admin.NET.Plugin.AiDOP.Entity.S0.Warehouse;
- /// <summary>
- /// 库位主数据(复刻 LocationMaster,供供应商等模块左联展示)
- /// </summary>
- [SugarTable("LocationMaster", "库位主数据(复刻 LocationMaster)")]
- [SugarIndex("uk_LocationMaster_domain_location", nameof(DomainCode), OrderByType.Asc, nameof(Location), OrderByType.Asc, IsUnique = true)]
- public class AdoS0LocationMaster
- {
- [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 = "descr", ColumnDescription = "库位说明", Length = 255, IsNullable = true)]
- public string? Descr { get; set; }
- [SugarColumn(ColumnName = "storer", ColumnDescription = "货主/保管方", Length = 100, IsNullable = true)]
- public string? Storer { get; set; }
- [SugarColumn(ColumnName = "typed", ColumnDescription = "库位类型", Length = 50, IsNullable = true)]
- public string? Typed { get; set; }
- [SugarColumn(ColumnName = "physical_address", ColumnDescription = "物理地址", Length = 500, IsNullable = true)]
- public string? PhysicalAddress { get; set; }
- [SugarColumn(ColumnName = "is_active", ColumnDescription = "是否启用", ColumnDataType = "boolean")]
- public bool IsActive { get; set; } = true;
- [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; }
- }
|