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