线边库
This commit is contained in:
51
DOAN.Model/MES/Material/MaterialPartsInventory.cs
Normal file
51
DOAN.Model/MES/Material/MaterialPartsInventory.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
|
||||
namespace DOAN.Model.MES.material
|
||||
{
|
||||
/// <summary>
|
||||
/// 库存信息表
|
||||
/// </summary>
|
||||
[SugarTable("material_parts_inventory")]
|
||||
public class MaterialPartsInventory
|
||||
{
|
||||
/// <summary>
|
||||
/// 库存ID
|
||||
/// </summary>
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "inventory_id")]
|
||||
public int InventoryId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备件ID
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "part_id")]
|
||||
public int PartId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数量
|
||||
/// </summary>
|
||||
public int Quantity { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 存放位置
|
||||
/// </summary>
|
||||
public string Location { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 上次盘点日期
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "last_inventory_check")]
|
||||
public DateTime? LastInventoryCheck { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "created_at")]
|
||||
public DateTime? CreatedAt { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 更新时间
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "updated_at")]
|
||||
public DateTime? UpdatedAt { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user