namespace MDM.Model.Material { /// /// 物料清单 /// [SugarTable("material_list")] public class MaterialList { /// /// 雪花id /// [SugarColumn(IsPrimaryKey = true, IsIdentity = false)] public string Id { get; set; } /// /// 物料类型code /// [SugarColumn(ColumnName = "fk_material_type_code")] public string FkMaterialTypeCode { get; set; } /// /// 物料名称 /// public string Name { get; set; } /// /// 物料编码 /// [SugarColumn(IsPrimaryKey = true, IsIdentity = false)] public string Code { get; set; } /// /// 物料代码 /// public string Addcode { get; set; } /// /// 客户编码 /// [SugarColumn(ColumnName = "customer_code")] public string CustomerCode { get; set; } /// /// 颜色 /// public string Color { get; set; } /// /// 规格型号 /// public string Specification { get; set; } /// /// 计量单位 /// public string Unit { get; set; } /// /// 描述 /// public string Description { get; set; } /// /// 供应商外键id /// [SugarColumn(ColumnName = "fk_supplier_id")] public int? FkSupplierId { get; set; } /// /// 供应商code /// [SugarColumn(ColumnName = "supplier_code")] public string SupplierCode { get; set; } /// /// 保质期单位 /// [SugarColumn(ColumnName = "expiration_unit")] public string ExpirationUnit { get; set; } /// /// 保质期 /// [SugarColumn(ColumnName = "expiration_date")] public decimal ExpirationDate { get; set; } /// /// 保质期预警天数 /// [SugarColumn(ColumnName = "shelf_life_warning_days")] public int? ShelfLifeWarningDays { get; set; } /// /// 是否有效期管理 /// [SugarColumn(ColumnName = "is_shelf_life")] public int? IsShelfLife { get; set; } /// /// 启用日期 /// [SugarColumn(ColumnName = "start_time")] public DateTime? StartTime { get; set; } /// /// 停用日期 /// [SugarColumn(ColumnName = "stop_time")] public DateTime? StopTime { get; set; } /// /// 对应条码 /// [SugarColumn(ColumnName = "bar_code")] public string BarCode { get; set; } /// /// 是否启用批次管理 /// [SugarColumn(ColumnName = "is_batch")] public int? IsBatch { get; set; } /// /// 创建人 /// [SugarColumn(ColumnName = "cREATED_BY")] public string CreatedBy { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "cREATED_TIME")] public DateTime? CreatedTime { get; set; } /// /// 更新人 /// [SugarColumn(ColumnName = "uPDATED_BY")] public string UpdatedBy { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnName = "uPDATED_TIME")] public DateTime? UpdatedTime { get; set; } } }