|
|
|
|
using System;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
namespace SlnMesnac.Model.domain
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货道信息
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarTable("BASE_SPACEINFO"), TenantAttribute("mes")]
|
|
|
|
|
public class BaseSpaceinfo
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键标识
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="OBJ_ID" ,IsPrimaryKey = 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 decimal? SpaceCapacity { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货道库存
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="SPACE_STOCK" )]
|
|
|
|
|
public decimal? SpaceStock { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货道状态(1-允许入库;2-允许出库;3-禁用货道;4-异常货道)
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="SPACE_STATUS" )]
|
|
|
|
|
public short? SpaceStatus { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货道类型(1-单货道,2-双货道)
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="SPACE_TYPE" )]
|
|
|
|
|
public short? SpaceType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所属仓库
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="STORE_CODE" )]
|
|
|
|
|
public string StoreCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否标识
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="IS_FLAG" )]
|
|
|
|
|
public short? IsFlag { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建人
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="CREATED_BY" )]
|
|
|
|
|
public string CreatedBy { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="CREATED_TIME" )]
|
|
|
|
|
public DateTime? CreatedTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更新人
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="UPDATED_BY" )]
|
|
|
|
|
public string UpdatedBy { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更新时间
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="UPDATED_TIME" )]
|
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料类型
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="MATERIAL_TYPE" )]
|
|
|
|
|
public string MaterialType { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 在途数量
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="ONROUTE_AMOUNT" )]
|
|
|
|
|
public long? OnrouteAmount { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 入库标识;1-允许入库;2-禁止入库
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="INSTORE_FLAG" )]
|
|
|
|
|
public decimal? InstoreFlag { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 出库状态:1-允许出库;2-禁止出库
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="OUTSTORE_FLAG" )]
|
|
|
|
|
public decimal? OutstoreFlag { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 异常标识:1-正常货道;2-异常货道,未使用
|
|
|
|
|
///</summary>
|
|
|
|
|
[SugarColumn(ColumnName="UNUSUAL_FLAG" )]
|
|
|
|
|
public decimal? UnusualFlag { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货道区域:A\B
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "SPACE_AREA")]
|
|
|
|
|
public string SpaceArea { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|