namespace Admin.NET.Plugin.AiDOP.Entity.S0.Warehouse; /// /// 零件包装规格主数据(复刻 ItemPackMaster) /// [SugarTable("ItemPackMaster", "零件包装规格主数据(复刻 ItemPackMaster)")] [SugarIndex("uk_ItemPackMaster_domain_itemnum", nameof(DomainCode), OrderByType.Asc, nameof(ItemNum), OrderByType.Asc, IsUnique = true)] public class AdoS0ItemPackMaster { [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 = "item_num", ColumnDescription = "物料编码", Length = 100)] public string ItemNum { get; set; } = string.Empty; [SugarColumn(ColumnName = "packing_qty", ColumnDescription = "包装数量", IsNullable = true)] public decimal? PackingQty { get; set; } [SugarColumn(ColumnName = "small_packing_qty", ColumnDescription = "小包装数量", IsNullable = true)] public decimal? SmallPackingQty { get; set; } [SugarColumn(ColumnName = "packing_type", ColumnDescription = "包装类型", Length = 50, IsNullable = true)] public string? PackingType { get; set; } [SugarColumn(ColumnName = "net_weight", ColumnDescription = "净重", IsNullable = true)] public decimal? NetWeight { get; set; } [SugarColumn(ColumnName = "weight_um", ColumnDescription = "重量单位", Length = 20, IsNullable = true)] public string? WeightUM { get; set; } [SugarColumn(ColumnName = "length", ColumnDescription = "长", IsNullable = true)] public decimal? Length { get; set; } [SugarColumn(ColumnName = "width", ColumnDescription = "宽", IsNullable = true)] public decimal? Width { get; set; } [SugarColumn(ColumnName = "high", ColumnDescription = "高", IsNullable = true)] public decimal? High { get; set; } [SugarColumn(ColumnName = "iss_specific", ColumnDescription = "发料特性", Length = 50, IsNullable = true)] public string? IssSpecific { get; set; } [SugarColumn(ColumnName = "cust_item", ColumnDescription = "客户物料号", Length = 100, IsNullable = true)] public string? CustItem { get; set; } [SugarColumn(ColumnName = "remark", ColumnDescription = "备注", Length = 500, IsNullable = true)] public string? Remark { 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; } /// 列表展示:物料名称(不落库,来自 ItemMaster.Descr) [SugarColumn(IsIgnore = true)] public string? ItemDescr { get; set; } /// 列表展示:物料型号(不落库,来自 ItemMaster.Descr1) [SugarColumn(IsIgnore = true)] public string? ItemDescr1 { get; set; } }