78 lines
2.2 KiB
C#
78 lines
2.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using SqlSugar;
|
|
namespace ZR.Model.MES.wms
|
|
{
|
|
/// <summary>
|
|
/// 库存
|
|
///</summary>
|
|
[SugarTable("wms_inventory")]
|
|
public class WmsInventory
|
|
{
|
|
/// <summary>
|
|
///
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
|
|
public long Id { get; set; }
|
|
/// <summary>
|
|
/// 物料ID
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "item_id")]
|
|
public long ItemId { get; set; }
|
|
/// <summary>
|
|
/// 货架id
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "rack_id")]
|
|
public long? RackId { get; set; }
|
|
/// <summary>
|
|
/// 库存
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "quantity")]
|
|
public decimal? Quantity { get; set; }
|
|
/// <summary>
|
|
/// 备注
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "remark")]
|
|
public string Remark { get; set; }
|
|
/// <summary>
|
|
/// 删除标识
|
|
/// 默认值: 0
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "del_flag")]
|
|
public byte DelFlag { get; set; }
|
|
/// <summary>
|
|
/// 创建人
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "create_by")]
|
|
public long? CreateBy { get; set; }
|
|
/// <summary>
|
|
/// 创建时间
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "create_time")]
|
|
public DateTime? CreateTime { get; set; }
|
|
/// <summary>
|
|
/// 修改人
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "update_by")]
|
|
public long? UpdateBy { get; set; }
|
|
/// <summary>
|
|
/// 修改时间
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "update_time")]
|
|
public DateTime? UpdateTime { get; set; }
|
|
/// <summary>
|
|
/// 所属仓库
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "warehouse_id")]
|
|
public long? WarehouseId { get; set; }
|
|
/// <summary>
|
|
/// 所属库区
|
|
///</summary>
|
|
[SugarColumn(ColumnName = "area_id")]
|
|
public long? AreaId { get; set; }
|
|
}
|
|
}
|