namespace DOAN.Model.MES.material
{
///
/// 北泽线边库基本信息表
///
[SugarTable("material_spare_parts")]
public class MaterialSpareParts
{
///
/// 备件ID
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "part_id")]
public int PartId { get; set; }
///
/// 备件名称
///
[SugarColumn(ColumnName = "part_name")]
public string PartName { get; set; }
///
/// 备件编号
///
[SugarColumn(ColumnName = "part_code")]
public string PartCode { get; set; }
///
/// 描述
///
public string Description { get; set; }
///
/// 分类ID
///
[SugarColumn(ColumnName = "category_id")]
public int CategoryId { get; set; }
///
/// 计量单位
///
[SugarColumn(ColumnName = "unit_of_measure")]
public string UnitOfMeasure { get; set; }
///
/// 最低库存量
///
[SugarColumn(ColumnName = "min_stock_level")]
public int MinStockLevel { get; set; }
///
/// 最高库存量
///
[SugarColumn(ColumnName = "max_stock_level")]
public int MaxStockLevel { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "created_at")]
public DateTime? CreatedAt { get; set; }
///
/// 更新时间
///
[SugarColumn(ColumnName = "updated_at")]
public DateTime? UpdatedAt { get; set; }
}
}