using System.ComponentModel; using Core.Mes.Client.Comm.Attribute; namespace Core.StlMes.Client.LgResMgt { /// /// 数据库表YDM_BS_LOCATION所对应的实体类(生成工具:代码生成工具3.0) /// 作者:zhou 时间:2018-01-04 /// public class YdmBsLocationEntity { /// /// 料位代码{4位库号-1位区号-2行号-2列号} /// private string locationNo = ""; /// /// 库号(4位) /// private string storageNo = ""; /// /// 库号(4位) /// private string storageName = ""; /// /// 库位类型(D:垛位、J:存放料架类型) /// private string locationType = ""; /// /// 区号(1位) /// private string areaNo = ""; /// /// 排号(2位) /// private string rowNo = ""; /// /// 列号(2位) /// private string colNo = ""; /// /// 料架编号(料架编号对应列号的奇数位)加唯一索引 /// private string rackNo = ""; /// /// 层高(0无限制) /// private decimal? layMaxNum = null; /// /// 层内最大堆放数量(0无限制) /// private decimal? colMaxNum = null; /// /// 料位长度(mm) /// private decimal? locationLen = null; /// /// 料位宽度(mm) /// private decimal? locationWidth = null; /// /// 料位高度(mm) /// private decimal? locationHeight = null; /// /// X轴坐标点 /// private string xCoordinate = ""; /// /// Y轴坐标点 /// private string yCoordinate = ""; /// /// 库位状态(0:封锁、1:释放) /// private string locationState = ""; /// /// 库位储位属性代码 /// private string locationAttrCode = ""; /// /// 库位储位属性描述(正常、缓冷、回废等) /// private string locationAttrName = ""; /// /// 是否虚拟库位(1:是、0:否);虚拟库下的库位必须都为虚拟;实物库下的库位可以设置相应的虚拟库位 /// private string dummyFlag = ""; /// /// 作业科室代码 /// private string managementNo = ""; /// /// 作业科室名称 /// private string managementName = ""; /// /// 备注 /// private string memo = ""; /// /// 有效标志(1:有效,0:无效) /// private string validflag = ""; /// /// 创建人 /// private string createName = ""; /// /// 创建时间 /// private string createTime = ""; /// /// 修改人 /// private string updateName = ""; /// /// 修改时间 /// private string updateTime = ""; /// /// 删除人 /// private string deleteName = ""; /// /// 删除时间 /// private string deleteTime = ""; /// /// 作业部门代码 /// private string departmentCode = ""; /// /// 作业部门描述 /// private string departmentDesc = ""; /// /// 料位名称 /// private string locationName = ""; /// /// 料位代码{4位库号-1位区号-2行号-2列号} /// [Description("料位代码{4位库号-1位区号-2行号-2列号}")] [Nullable(false)] [DataLength(9)] public string LocationNo { get { return locationNo; } set { locationNo = value; } } /// /// 库号(4位) /// [Description("库号(4位)")] [Nullable(true)] [DataLength(5)] public string StorageNo { get { return storageNo; } set { storageNo = value; } } /// /// 仓库名字 /// [Description("仓库名字")] [Nullable(true)] [DataLength(5)] public string StorageName { get { return storageName; } set { storageName = value; } } /// /// 库位类型(D:垛位、J:存放料架类型) /// [Description("库位类型(D:垛位、J:存放料架类型)")] [Nullable(true)] [DataLength(1)] public string LocationType { get { return locationType; } set { locationType = value; } } /// /// 区号(1位) /// [Description("区号(1位)")] [Nullable(true)] [DataLength(2)] public string AreaNo { get { return areaNo; } set { areaNo = value; } } /// /// 排号(2位) /// [Description("排号(2位)")] [Nullable(true)] [DataLength(2)] public string RowNo { get { return rowNo; } set { rowNo = value; } } /// /// 列号(2位) /// [Description("列号(2位)")] [Nullable(true)] [DataLength(2)] public string ColNo { get { return colNo; } set { colNo = value; } } /// /// 料架编号(料架编号对应列号的奇数位)加唯一索引 /// [Description("料架编号(料架编号对应列号的奇数位)加唯一索引")] [Nullable(true)] [DataLength(6)] public string RackNo { get { return rackNo; } set { rackNo = value; } } /// /// 层高(0无限制) /// [Description("层高(0无限制)")] [Nullable(true)] [DataLength(2)] public decimal? LayMaxNum { get { return layMaxNum; } set { layMaxNum = value; } } /// /// 层内最大堆放数量(0无限制) /// [Description("层内最大堆放数量(0无限制)")] [Nullable(true)] [DataLength(2)] public decimal? ColMaxNum { get { return colMaxNum; } set { colMaxNum = value; } } /// /// 料位长度(mm) /// [Description("料位长度(mm)")] [Nullable(true)] [DataLength(6)] public decimal? LocationLen { get { return locationLen; } set { locationLen = value; } } /// /// 料位宽度(mm) /// [Description("料位宽度(mm)")] [Nullable(true)] [DataLength(6)] public decimal? LocationWidth { get { return locationWidth; } set { locationWidth = value; } } /// /// 料位高度(mm) /// [Description("料位高度(mm)")] [Nullable(true)] [DataLength(6)] public decimal? LocationHeight { get { return locationHeight; } set { locationHeight = value; } } /// /// X轴坐标点 /// [Description("X轴坐标点")] [Nullable(true)] [DataLength(10)] public string XCoordinate { get { return xCoordinate; } set { xCoordinate = value; } } /// /// Y轴坐标点 /// [Description("Y轴坐标点")] [Nullable(true)] [DataLength(10)] public string YCoordinate { get { return yCoordinate; } set { yCoordinate = value; } } /// /// 库位状态(0:封锁、1:释放) /// [Description("库位状态(0:封锁、1:释放)")] [Nullable(true)] [DataLength(1)] public string LocationState { get { return locationState; } set { locationState = value; } } /// /// 库位储位属性代码 /// [Description("库位储位属性代码")] [Nullable(true)] [DataLength(10)] public string LocationAttrCode { get { return locationAttrCode; } set { locationAttrCode = value; } } /// /// 库位储位属性描述(正常、缓冷、回废等) /// [Description("库位储位属性描述(正常、缓冷、回废等)")] [Nullable(true)] [DataLength(20)] public string LocationAttrName { get { return locationAttrName; } set { locationAttrName = value; } } /// /// 是否虚拟库位(1:是、0:否);虚拟库下的库位必须都为虚拟;实物库下的库位可以设置相应的虚拟库位 /// [Description("是否虚拟库位(1:是、0:否);虚拟库下的库位必须都为虚拟;实物库下的库位可以设置相应的虚拟库位")] [Nullable(true)] [DataLength(1)] public string DummyFlag { get { return dummyFlag; } set { dummyFlag = value; } } /// /// 作业科室代码 /// [Description("作业科室代码")] [Nullable(true)] [DataLength(20)] public string ManagementNo { get { return managementNo; } set { managementNo = value; } } /// /// 作业科室名称 /// [Description("作业科室名称")] [Nullable(true)] [DataLength(40)] public string ManagementName { get { return managementName; } set { managementName = value; } } /// /// 备注 /// [Description("备注")] [Nullable(true)] [DataLength(200)] public string Memo { get { return memo; } set { memo = value; } } /// /// 有效标志(1:有效,0:无效) /// [Description("有效标志(1:有效,0:无效)")] [Nullable(true)] [DataLength(1)] public string Validflag { get { return validflag; } set { validflag = value; } } /// /// 创建人 /// [Description("创建人")] [Nullable(true)] [DataLength(20)] public string CreateName { get { return createName; } set { createName = value; } } /// /// 创建时间 /// [Description("创建时间")] [Nullable(true)] public string CreateTime { get { return createTime; } set { createTime = value; } } /// /// 修改人 /// [Description("修改人")] [Nullable(true)] [DataLength(20)] public string UpdateName { get { return updateName; } set { updateName = value; } } /// /// 修改时间 /// [Description("修改时间")] [Nullable(true)] public string UpdateTime { get { return updateTime; } set { updateTime = value; } } /// /// 删除人 /// [Description("删除人")] [Nullable(true)] [DataLength(20)] public string DeleteName { get { return deleteName; } set { deleteName = value; } } /// /// 删除时间 /// [Description("删除时间")] [Nullable(true)] public string DeleteTime { get { return deleteTime; } set { deleteTime = value; } } /// /// 作业部门代码 /// [Description("作业部门代码")] [Nullable(true)] [DataLength(20)] public string DepartmentCode { get { return departmentCode; } set { departmentCode = value; } } /// /// 作业部门描述 /// [Description("作业部门描述")] [Nullable(true)] [DataLength(40)] public string DepartmentDesc { get { return departmentDesc; } set { departmentDesc = value; } } /// /// 料位名称 /// [Description("料位名称")] [Nullable(true)] [DataLength(32)] public string LocationName { get { return locationName; } set { locationName = value; } } private string rackType = ""; /// /// 料架大小 /// [Description("料架大小")] [Nullable(true)] [DataLength(10)] public string RackType { get { return rackType; } set { rackType = value; } } private string rackQuality = ""; /// /// 料架好坏 /// [Description("料架好坏")] [Nullable(true)] [DataLength(10)] public string RackQuality { get { return rackQuality; } set { rackQuality = value; } } } }