You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

168 lines
5.2 KiB
C#

using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Admin.Core.Model
{
/// <summary>
/// 货道信息
/// </summary>
[SugarTable("BASE_SPACEINFO", "AUCMA_MES")]
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>
/// 所属仓库
/// </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 = "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>
1 year ago
/// 物料类型A
/// </summary>
[SugarColumn(ColumnName = "MATERIAL_TYPE")]
public string MaterialType { get; set; }
/// <summary>
/// 夹具箱型
/// </summary>
[SugarColumn(ColumnName ="BOXTYPE")]
public string BoxType { get; set; }
/// <summary>
/// 在途数量
/// </summary>
[SugarColumn(ColumnName = "ONROUTE_AMOUNT")]
public int OnRouteAmount { get; set; }
1 year ago
/// <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; }
1 year ago
/// <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; }
/// <summary>
///分垛使用字段,箱体入库旋转角度(90,180,270)
/// </summary>
[SugarColumn(ColumnName = "ROTATION_RANGE")]
public int RotationRange { get; set; }
/// <summary>
/// 分垛使用字段,是否大产品占两个货道1-是0-否
/// </summary>
[SugarColumn(ColumnName = "IS_TWO_SPACE")]
public int IsTwoSpace { get; set; }
/// <summary>
/// 分垛使用字段,记录同型号上次入的货道如FD01_002 == >记录上次货道ObjId
/// </summary>
[SugarColumn(ColumnName = "LAST_SPACE")]
public string LastSpace { get; set; }
}
}