namespace DOAN.Model.BZFM
{
///
/// 库存表
///
[SugarTable("mm_inventory")]
public class MmInventory
{
///
/// 主键ID
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
///
/// 物料编码
///
[SugarColumn(ColumnName = "material_code")]
public string MaterialCode { get; set; }
///
/// 物料名称
///
[SugarColumn(ColumnName = "material_name")]
public string MaterialName { get; set; }
///
/// 仓库编码
///
[SugarColumn(ColumnName = "warehouse_code")]
public string WarehouseCode { get; set; }
///
/// 仓库名称
///
[SugarColumn(ColumnName = "warehouse_name")]
public string WarehouseName { get; set; }
///
/// 库位编码
///
[SugarColumn(ColumnName = "location_code")]
public string LocationCode { get; set; }
///
/// 库位名称
///
[SugarColumn(ColumnName = "location_name")]
public string LocationName { get; set; }
///
/// 供应商编码
///
[SugarColumn(ColumnName = "supplier_code")]
public string SupplierCode { get; set; }
///
/// 供应商名称
///
[SugarColumn(ColumnName = "supplier_name")]
public string SupplierName { get; set; }
///
/// 批次号
///
[SugarColumn(ColumnName = "batch_no")]
public string BatchNo { get; set; }
///
/// 当前库存量
///
[SugarColumn(ColumnName = "current_qty")]
public decimal CurrentQty { get; set; }
///
/// 计量单位
///
public string Unit { get; set; }
///
/// 生产日期
///
[SugarColumn(ColumnName = "production_date")]
public DateTime? ProductionDate { get; set; }
///
/// 有效期至
///
[SugarColumn(ColumnName = "expiry_date")]
public DateTime? ExpiryDate { get; set; }
///
/// 最后更新时间
///
[SugarColumn(ColumnName = "last_updated_time")]
public DateTime? LastUpdatedTime { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "created_time")]
public DateTime? CreatedTime { get; set; }
}
}