using System; using System.ComponentModel; using Core.Mes.Client.Comm.Attribute; namespace Core.StlMes.Client.YdmBcPipeManage.Entity { /// /// 数据库表TMS_DEMAND_M所对应的实体类(生成工具:代码生成工具3.0) /// 作者:朱少波 时间:2020-04-16 /// public class TmsDemandM { [Description("选择")] public bool Chk { get; set; } /// /// 会计年月(YYYYMM) /// private string accountYearMonth = ""; /// /// 归档日期(YYYYMMDD) /// private string archiveDate = ""; /// /// 归档标志(1归档、0未归档) /// private string archiveFlag = ""; /// /// 归档编号(GD+YYYYYMMDD+3位流水号) /// private string archiveNo = ""; /// /// 批号 /// private string batchNo = ""; /// /// 估算车数(载重量多少吨的车数) /// private decimal? calculateCarVal; /// /// 承运人代码(生成需求时根据规则默认) /// private string carrierCode = ""; /// /// 承运人名称 /// private string carrierName = ""; /// /// 车辆类型代码A01017 /// private string carTypeCode = ""; /// /// 车辆类型 /// private string carTypeDesc = ""; /// /// 车辆用途(生产用车/临时用车)A01031 /// private string carUseCode = ""; /// /// 车辆用途 /// private string carUseDesc = ""; /// /// 车载重量 /// private decimal? carWtVal; /// /// 计费数量 /// private decimal? costCount; /// /// 计费区分代码(计重/计时/合同/包月/台班)A01033 /// private string costTypeCode = ""; /// /// 计费区分 /// private string costTypeDesc = ""; /// /// 创建人 /// private string createName = ""; /// /// 创建时间 /// private string createTime = ""; /// /// 创建人ID /// private string createUserid = ""; /// /// 本工序炉计划ID /// private string currentJobNo = ""; /// /// 废除人 /// private string deleteName = ""; /// /// 废除时间 /// private string deleteTime = ""; /// /// 废除人ID /// private string deleteUserid = ""; /// /// 需求描述 /// private string demandDesc = ""; /// /// 需求号(运输区分代码2位+YYYYMMDD+5位流水) /// private string demandNo = ""; /// /// 需求单位代码(产销系统-机组/机构)TMS_COM_CONSIGNOR--托运人 /// private string demandOrgCode = ""; /// /// 需求单位 /// private string demandOrgDesc = ""; /// /// 需求数量 /// private decimal? demandQtyVal; /// /// 直倒分组号(下线/投料分组号)ZD+YYYYMMDD+4位流水 /// private string demandVerticalNo = ""; /// /// 需求重量 /// private decimal? demandWtVal; /// /// 外径(/直径) /// private decimal? dimaterVal; /// /// 终点区域代码(产销系统中库房/产线代码) /// private string endAreaCode = ""; /// /// 终点区域 /// private string endAreaDesc = ""; /// /// 运输终点代码 /// private string endNodeCode = ""; /// /// 终点描述 /// private string endNodeDesc = ""; /// /// 执行顺序号(非生产性需求=0;生产性需求1...开始递增) /// private decimal? executeSqe; /// /// 组号(罐号) /// private string groupNo = ""; /// /// 判定炉号 /// private string heatNo = ""; /// /// 厚度(壁厚) /// private decimal? heightVal; /// /// 长度上限 /// private decimal? lenMaxVal; /// /// 长度下限 /// private decimal? lenMinVal; /// /// 长度 /// private decimal? lenVal; /// /// 上料时间 /// private string loadTime = ""; /// /// 标识炉号 /// private string logoNo = ""; /// /// 物料代码 /// private string materialsCode = ""; /// /// 物料描述 /// private string materialsDesc = ""; /// /// 物料规格 /// private string materialsSpec = ""; /// /// 备注 /// private string memo = ""; /// /// 直倒数量 /// private decimal? offlineQtyVal; /// /// 直倒重量 /// private decimal? offlineWtVal; /// /// 实际数量 /// private decimal? outputQtyVal; /// /// 实际重量 /// private decimal? outputWtVal; /// /// 上工序炉计划ID /// private string previousJobNo = ""; /// /// 生产订单号 /// private string proOrderNo = ""; /// /// 排产流水号 /// private string proOrderSqe = ""; /// /// 参考单号(委外单号、倒运单号) /// private string refeNo = ""; /// /// 参考单类别代码 /// private string refeTypeCode = ""; /// /// 参考单类别 /// private string refeTypeName = ""; /// /// 废品数量(包含组炉) /// private decimal? scrapQtyVal; /// /// 废品重量(包含组炉) /// private decimal? scrapWtVal; /// /// 数据来源标记(0人工1系统) /// private string sourceSign = ""; /// /// 起点区域代码(产销系统中库房/产线代码) /// private string startAreaCode = ""; /// /// 起点区域描述 /// private string startAreaDesc = ""; /// /// 运输起点代码 /// private string startNodeCode = ""; /// /// 起点描述 /// private string startNodeDesc = ""; /// /// 审批状态(00待审10审中20通过30退回40拒绝) /// private string status = ""; /// /// 运输区分代码(下线/投料/离线)A01030 /// private string tranClassCode = ""; /// /// 运输区分 /// private string tranClassDesc = ""; /// /// 起运至时间 /// private string transportEndTime = ""; /// /// 起运启时间 /// private string transportStartTime = ""; /// /// 度量单位代码 /// private string uomCode = ""; /// /// 度量单位 /// private string uomDesc = ""; /// /// 修改人 /// private string updateName = ""; /// /// 修改时间 /// private string updateTime = ""; /// /// 修改人ID /// private string updateUserid = ""; /// /// 紧急程度类型A01029 /// private string urgencyTypeCode = ""; /// /// 紧急程度描述 /// private string urgencyTypeDesc = ""; /// /// 数据状态(00无效10草稿20待分派30执行40结束50关闭) /// private string validflag = ""; /// /// 是否过磅 /// private string weighingIf = ""; /// /// 宽度(预留) /// private decimal? wideVal; /// /// 是否确认 /// private string isSure = ""; private decimal? planQtyVal; private decimal? planWtVal; private decimal? unPlanQtyVal; private decimal? unPlanWtVal; private string matType = ""; /// /// 需求号(运输区分代码2位+YYYYMMDD+5位流水) /// [Description("需求号")] [Nullable(false)] [DataLength(16)] public string DemandNo { get { return demandNo; } set { demandNo = value; } } /// /// 需求描述 /// [Description("需求描述")] [Nullable(true)] [DataLength(100)] public string DemandDesc { get { return demandDesc; } set { demandDesc = value; } } /// /// 执行顺序号(非生产性需求=0;生产性需求1...开始递增) /// [Description("执行顺序号(非生产性需求=0;生产性需求1...开始递增)")] [Nullable(false)] [DataLength(16)] public decimal? ExecuteSqe { get { return executeSqe; } set { executeSqe = value; } } /// /// 紧急程度类型A01029 /// [Description("紧急程度类型A01029")] [Nullable(true)] [DataLength(16)] public string UrgencyTypeCode { get { return urgencyTypeCode; } set { urgencyTypeCode = value; } } /// /// 紧急程度描述 /// [Description("紧急程度描述")] [Nullable(true)] [DataLength(32)] public string UrgencyTypeDesc { get { return urgencyTypeDesc; } set { urgencyTypeDesc = value; } } /// /// 运输区分代码(下线/投料/离线)A01030 /// [Description("运输区分代码(下线/投料/离线)A01030")] [Nullable(true)] [DataLength(16)] public string TranClassCode { get { return tranClassCode; } set { tranClassCode = value; } } /// /// 运输区分 /// [Description("运输区分")] [Nullable(true)] [DataLength(32)] public string TranClassDesc { get { return tranClassDesc; } set { tranClassDesc = value; } } /// /// 直倒分组号(下线/投料分组号)ZD+YYYYMMDD+4位流水 /// [Description("直倒分组号(下线/投料分组号)ZD+YYYYMMDD+4位流水")] [Nullable(true)] [DataLength(16)] public string DemandVerticalNo { get { return demandVerticalNo; } set { demandVerticalNo = value; } } /// /// 计费区分代码(计重/计时/合同/包月/台班)A01033 /// [Description("计费区分代码(计重/计时/合同/包月/台班)A01033")] [Nullable(true)] [DataLength(16)] public string CostTypeCode { get { return costTypeCode; } set { costTypeCode = value; } } /// /// 计费区分 /// [Description("计费区分")] [Nullable(true)] [DataLength(32)] public string CostTypeDesc { get { return costTypeDesc; } set { costTypeDesc = value; } } /// /// 承运人代码(生成需求时根据规则默认) /// [Description("承运人代码(生成需求时根据规则默认)")] [Nullable(true)] [DataLength(16)] public string CarrierCode { get { return carrierCode; } set { carrierCode = value; } } /// /// 承运人名称 /// [Description("承运人")] [Nullable(true)] [DataLength(32)] public string CarrierName { get { return carrierName; } set { carrierName = value; } } /// /// 参考单号(委外单号、倒运单号) /// [Description("参考单号(委外单号、倒运单号)")] [Nullable(true)] [DataLength(64)] public string RefeNo { get { return refeNo; } set { refeNo = value; } } /// /// 参考单类别代码 /// [Description("参考单类别代码")] [Nullable(true)] [DataLength(16)] public string RefeTypeCode { get { return refeTypeCode; } set { refeTypeCode = value; } } /// /// 参考单类别 /// [Description("参考单类别")] [Nullable(true)] [DataLength(32)] public string RefeTypeName { get { return refeTypeName; } set { refeTypeName = value; } } /// /// 运输起点代码 /// [Description("运输起点代码")] [Nullable(true)] [DataLength(16)] public string StartNodeCode { get { return startNodeCode; } set { startNodeCode = value; } } /// /// 起点描述 /// [Description("起点")] [Nullable(true)] [DataLength(32)] public string StartNodeDesc { get { return startNodeDesc; } set { startNodeDesc = value; } } /// /// 运输终点代码 /// [Description("运输终点代码")] [Nullable(true)] [DataLength(16)] public string EndNodeCode { get { return endNodeCode; } set { endNodeCode = value; } } /// /// 终点描述 /// [Description("终点")] [Nullable(true)] [DataLength(32)] public string EndNodeDesc { get { return endNodeDesc; } set { endNodeDesc = value; } } /// /// 起点区域代码(产销系统中库房/产线代码) /// [Description("起点区域代码(产销系统中库房/产线代码)")] [Nullable(true)] [DataLength(16)] public string StartAreaCode { get { return startAreaCode; } set { startAreaCode = value; } } /// /// 起点区域描述 /// [Description("起点区域")] [Nullable(true)] [DataLength(32)] public string StartAreaDesc { get { return startAreaDesc; } set { startAreaDesc = value; } } /// /// 终点区域代码(产销系统中库房/产线代码) /// [Description("终点区域代码(产销系统中库房/产线代码)")] [Nullable(true)] [DataLength(16)] public string EndAreaCode { get { return endAreaCode; } set { endAreaCode = value; } } /// /// 终点区域 /// [Description("终点区域")] [Nullable(true)] [DataLength(32)] public string EndAreaDesc { get { return endAreaDesc; } set { endAreaDesc = value; } } /// /// 需求单位代码(产销系统-机组/机构)TMS_COM_CONSIGNOR--托运人 /// [Description("需求单位代码(产销系统-机组/机构)TMS_COM_CONSIGNOR--托运人")] [Nullable(true)] [DataLength(16)] public string DemandOrgCode { get { return demandOrgCode; } set { demandOrgCode = value; } } /// /// 需求单位 /// [Description("需求单位")] [Nullable(true)] [DataLength(32)] public string DemandOrgDesc { get { return demandOrgDesc; } set { demandOrgDesc = value; } } /// /// 起运启时间 /// [Description("最早起运(要料)时间")] [Nullable(true)] public string TransportStartTime { get { return transportStartTime; } set { transportStartTime = value; } } /// /// 起运至时间 /// [Description("最晚起运时间")] [Nullable(true)] public string TransportEndTime { get { return transportEndTime; } set { transportEndTime = value; } } /// /// 车辆用途(生产用车/临时用车)A01031 /// [Description("车辆用途(生产用车/临时用车)A01031")] [Nullable(true)] [DataLength(16)] public string CarUseCode { get { return carUseCode; } set { carUseCode = value; } } /// /// 车辆用途 /// [Description("车辆用途")] [Nullable(true)] [DataLength(32)] public string CarUseDesc { get { return carUseDesc; } set { carUseDesc = value; } } /// /// 车辆类型代码A01017 /// [Description("车辆类型代码A01017")] [Nullable(true)] [DataLength(8)] public string CarTypeCode { get { return carTypeCode; } set { carTypeCode = value; } } /// /// 车辆类型 /// [Description("车辆类型")] [Nullable(true)] [DataLength(16)] public string CarTypeDesc { get { return carTypeDesc; } set { carTypeDesc = value; } } /// /// 估算车数(载重量多少吨的车数) /// [Description("估算车数(载重量多少吨的车数)")] [Nullable(true)] [DataLength(3)] public decimal? CalculateCarVal { get { return calculateCarVal; } set { calculateCarVal = value; } } /// /// 车载重量 /// [Description("车载重量")] [Nullable(true)] [DataLength(10)] public decimal? CarWtVal { get { return carWtVal; } set { carWtVal = value; } } /// /// 是否过磅(0否/1是) /// [Description("是否过磅")] [Nullable(true)] [DataLength(1)] public string WeighingIf { get { return weighingIf; } set { weighingIf = value; } } /// /// 判定炉号 /// [Description("判定炉号")] [Nullable(true)] [DataLength(16)] public string HeatNo { get { return heatNo; } set { heatNo = value; } } /// /// 批号 /// [Description("批号")] [Nullable(true)] [DataLength(16)] public string BatchNo { get { return batchNo; } set { batchNo = value; } } /// /// 标识炉号 /// [Description("标识炉号")] [Nullable(true)] [DataLength(16)] public string LogoNo { get { return logoNo; } set { logoNo = value; } } /// /// 组号(罐号) /// [Description("组号(罐号)")] [Nullable(true)] [DataLength(16)] public string GroupNo { get { return groupNo; } set { groupNo = value; } } /// /// 物料代码 /// [Description("物料代码")] [Nullable(true)] [DataLength(32)] public string MaterialsCode { get { return materialsCode; } set { materialsCode = value; } } /// /// 物料描述 /// [Description("物料")] [Nullable(true)] [DataLength(128)] public string MaterialsDesc { get { return materialsDesc; } set { materialsDesc = value; } } /// /// 物料规格 /// [Description("规格")] [Nullable(true)] [DataLength(64)] public string MaterialsSpec { get { return materialsSpec; } set { materialsSpec = value; } } /// /// 外径(/直径) /// [Description("外径(/直径)")] [Nullable(true)] [DataLength(11)] public decimal? DimaterVal { get { return dimaterVal; } set { dimaterVal = value; } } /// /// 宽度(预留) /// [Description("宽度(预留)")] [Nullable(true)] [DataLength(11)] public decimal? WideVal { get { return wideVal; } set { wideVal = value; } } /// /// 厚度(壁厚) /// [Description("厚度(壁厚)")] [Nullable(true)] [DataLength(11)] public decimal? HeightVal { get { return heightVal; } set { heightVal = value; } } /// /// 长度 /// [Description("长度")] [Nullable(true)] [DataLength(11)] public decimal? LenVal { get { return lenVal; } set { lenVal = value; } } /// /// 长度下限 /// [Description("长度下限")] [Nullable(true)] [DataLength(11)] public decimal? LenMinVal { get { return lenMinVal; } set { lenMinVal = value; } } /// /// 长度上限 /// [Description("长度上限")] [Nullable(true)] [DataLength(11)] public decimal? LenMaxVal { get { return lenMaxVal; } set { lenMaxVal = value; } } /// /// 度量单位代码 /// [Description("度量单位代码")] [Nullable(true)] [DataLength(16)] public string UomCode { get { return uomCode; } set { uomCode = value; } } /// /// 度量单位 /// [Description("度量单位")] [Nullable(true)] [DataLength(32)] public string UomDesc { get { return uomDesc; } set { uomDesc = value; } } /// /// 需求数量 /// [Description("需求数量")] [Nullable(true)] [DataLength(10)] public decimal? DemandQtyVal { get { return demandQtyVal; } set { demandQtyVal = value; } } /// /// 需求重量 /// [Description("需求重量")] [Nullable(true)] [DataLength(10)] public decimal? DemandWtVal { get { return demandWtVal; } set { demandWtVal = value; } } /// /// 实际数量 /// [Description("实际数量")] [Nullable(true)] [DataLength(10)] public decimal? OutputQtyVal { get { return outputQtyVal; } set { outputQtyVal = value; } } /// /// 实际重量 /// [Description("实际重量")] [Nullable(true)] [DataLength(10)] public decimal? OutputWtVal { get { return outputWtVal; } set { outputWtVal = value; } } /// /// 直倒数量 /// [Description("直倒数量")] [Nullable(true)] [DataLength(10)] public decimal? OfflineQtyVal { get { return offlineQtyVal; } set { offlineQtyVal = value; } } /// /// 直倒重量 /// [Description("直倒重量")] [Nullable(true)] [DataLength(10)] public decimal? OfflineWtVal { get { return offlineWtVal; } set { offlineWtVal = value; } } /// /// 废品数量(包含组炉) /// [Description("废品数量(包含组炉)")] [Nullable(true)] [DataLength(10)] public decimal? ScrapQtyVal { get { return scrapQtyVal; } set { scrapQtyVal = value; } } /// /// 废品重量(包含组炉) /// [Description("废品重量(包含组炉)")] [Nullable(true)] [DataLength(10)] public decimal? ScrapWtVal { get { return scrapWtVal; } set { scrapWtVal = value; } } /// /// 生产订单号 /// [Description("生产订单号")] [Nullable(true)] [DataLength(80)] public string ProOrderNo { get { return proOrderNo; } set { proOrderNo = value; } } /// /// 排产流水号 /// [Description("排产流水号")] [Nullable(true)] [DataLength(8)] public string ProOrderSqe { get { return proOrderSqe; } set { proOrderSqe = value; } } /// /// 本工序炉计划ID /// [Description("本工序炉计划ID")] [Nullable(true)] [DataLength(24)] public string CurrentJobNo { get { return currentJobNo; } set { currentJobNo = value; } } /// /// 上工序炉计划ID /// [Description("上工序炉计划ID")] [Nullable(true)] [DataLength(24)] public string PreviousJobNo { get { return previousJobNo; } set { previousJobNo = value; } } /// /// 数据来源标记(0人工1系统) /// [Description("数据来源标记(0人工1系统)")] [Nullable(true)] [DataLength(1)] public string SourceSign { get { return sourceSign; } set { sourceSign = value; } } /// /// 数据状态(00无效10草稿20待分派30执行40结束50关闭) /// [Description("状态")] [Nullable(true)] [DataLength(2)] public string Validflag { get { return validflag; } set { validflag = value; } } /// /// 审批状态(00待审10审中20通过30退回40拒绝) /// [Description("审批状态(00待审10审中20通过30退回40拒绝)")] [Nullable(true)] [DataLength(2)] public string Status { get { return status; } set { status = value; } } /// /// 会计年月(YYYYMM) /// [Description("会计年月(YYYYMM)")] [Nullable(true)] [DataLength(6)] public string AccountYearMonth { get { return accountYearMonth; } set { accountYearMonth = value; } } /// /// 归档标志(1归档、0未归档) /// [Description("归档标志(1归档、0未归档)")] [Nullable(true)] [DataLength(1)] public string ArchiveFlag { get { return archiveFlag; } set { archiveFlag = value; } } /// /// 归档编号(GD+YYYYYMMDD+3位流水号) /// [Description("归档编号(GD+YYYYYMMDD+3位流水号)")] [Nullable(true)] [DataLength(32)] public string ArchiveNo { get { return archiveNo; } set { archiveNo = value; } } /// /// 归档日期(YYYYMMDD) /// [Description("归档日期(YYYYMMDD)")] [Nullable(true)] [DataLength(8)] public string ArchiveDate { get { return archiveDate; } set { archiveDate = value; } } /// /// 备注 /// [Description("备注")] [Nullable(true)] [DataLength(200)] public string Memo { get { return memo; } set { memo = value; } } /// /// 创建人ID /// [Description("创建人ID")] [Nullable(true)] [DataLength(20)] public string CreateUserid { get { return createUserid; } set { createUserid = 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; } } /// /// 修改人ID /// [Description("修改人ID")] [Nullable(true)] [DataLength(20)] public string UpdateUserid { get { return updateUserid; } set { updateUserid = 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; } } /// /// 废除人ID /// [Description("废除人ID")] [Nullable(true)] [DataLength(20)] public string DeleteUserid { get { return deleteUserid; } set { deleteUserid = 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(10)] public decimal? CostCount { get { return costCount; } set { costCount = value; } } /// /// 上料时间 /// [Description("上料时间")] [Nullable(true)] public string LoadTime { get { return loadTime; } set { loadTime = value; } } [Description("已派支数")] public decimal? PlanQtyVal { get { return planQtyVal; } set { planQtyVal = value; } } [Description("已派重量")] public decimal? PlanWtVal { get { return planWtVal; } set { planWtVal = value; } } [Description("待派支数")] public decimal? UnPlanQtyVal { get { return unPlanQtyVal; } set { unPlanQtyVal = value; } } [Description("待派重量")] public decimal? UnPlanWtVal { get { return unPlanWtVal; } set { unPlanWtVal = value; } } /// /// 是否确认 /// [Description("是否确认")] public string IsSure { get { return isSure; } set { isSure = value; } } private string lotNo; public bool change { get; set; } [Description("生产批号")] public string LotNo { get { return lotNo; } set { lotNo = value; } } [Description("可派支数")] public decimal? CanPlanQtyVal { get; set; } [Description("可派重量")] public decimal? CanPlanWtVal { get; set; } [Description("运单支数")] public decimal? SumWaybillQty { get; set; } [Description("运单重量")] public decimal? SumWaybillWt { get; set; } /// /// 物料类型 /// [Description("物料类型")] [Nullable(false)] [DataLength(16)] public string MatType { get { return matType; } set { matType = value; } } } }