|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
namespace Aucma.Scada.Model.domain
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货道信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("BASE_SPACEINFO")]
|
|
|
|
|
public class BaseSpaceInfo
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键标识
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName = "OBJ_ID", IsPrimaryKey = true, IsIdentity = true)]
|
|
|
|
|
public int objId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货道编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "SPACE_CODE")]
|
|
|
|
|
public string spaceCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货道名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "SPACE_NAME")]
|
|
|
|
|
public string spaceName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货道容量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "SPACE_CAPACITY")]
|
|
|
|
|
public int spaceCapacity { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货道库存
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "SPACE_STOCK")]
|
|
|
|
|
public int spaceStock { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货道状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "SPACE_STATUS")]
|
|
|
|
|
public int spaceStatus { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货道类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "SPACE_TYPE")]
|
|
|
|
|
public int spaceType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料类型A
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "MATERIAL_TYPE")]
|
|
|
|
|
public string materialType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所属仓库
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "STORE_CODE")]
|
|
|
|
|
public string storeCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否标识
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "IS_FLAG")]
|
|
|
|
|
public int isFlag { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 在途数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "ONROUTE_AMOUNT")]
|
|
|
|
|
public int onRouteAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出库数量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "OUTROUTE_AMOUNT")]
|
|
|
|
|
public int outRouteAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 入库标识:1-允许入库;2-禁止入库
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "INSTORE_FLAG")]
|
|
|
|
|
public int inStoreFlag { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出库标识:1-允许出库;2-禁止出库
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "OUTSTORE_FLAG")]
|
|
|
|
|
public int outStoreFlag { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 异常标识:1-正常货道;2-异常货道
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "UNUSUAL_FLAG")]
|
|
|
|
|
public int unusualFlag { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料类型B
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "TYPE_CODE_B")]
|
|
|
|
|
public string typeCodeB { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料类型C
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "TYPE_CODE_C")]
|
|
|
|
|
public string typeCodeC { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料类型(名称)A
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "TYPE_NAME_A")]
|
|
|
|
|
public string typeNameA { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料类型(名称)B
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "TYPE_NAME_B")]
|
|
|
|
|
public string typeNameB { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料类型(名称)C
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "TYPE_NAME_C")]
|
|
|
|
|
public string typeNameC { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|