namespace DOAN.Model.MES.material { /// /// 库存信息表 /// [SugarTable("material_parts_inventory")] public class MaterialPartsInventory { /// /// 库存ID /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "inventory_id")] public int InventoryId { get; set; } /// /// 备件ID /// [SugarColumn(ColumnName = "part_id")] public int PartId { get; set; } /// /// 数量 /// public int Quantity { get; set; } /// /// 存放位置 /// public string Location { get; set; } /// /// 上次盘点日期 /// [SugarColumn(ColumnName = "last_inventory_check")] public DateTime? LastInventoryCheck { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "created_at")] public DateTime? CreatedAt { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnName = "updated_at")] public DateTime? UpdatedAt { get; set; } } }