using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using Core.Mes.Client.Comm.Attribute; namespace Core.StlMes.Client.YdmBcPipeManage.Entity { /// /// 数据库表TMS_PLN_M所对应的实体类(生成工具:代码生成工具3.0) /// 作者:朱少波 时间:2020-04-20 /// public class TmsPlnMEntity { [Description("选择")] public bool Chk { get; set; } /// /// 运输计划号(运输区分代码2位+YYYYMMDD+5位流水) /// private string plnNo = ""; /// /// 运输计划描述 /// private string plnDesc = ""; /// /// 紧急程度类型 /// private string urgencyTypeCode = ""; /// /// 紧急程度描述 /// private string urgencyTypeDesc = ""; /// /// 运输区分代码(下线/投料/离线)A01030 /// private string tranClassCode = ""; /// /// 运输区分 /// private string tranClassDesc = ""; /// /// 费用区分代码(计重/计时/合同/包月/包日)A01028 /// private string costTypeCode = ""; /// /// 费用区分 /// private string costTypeDesc = ""; /// /// 需求单位代码(同步产销系统-机组/机构)TMS_COM_CONSIGNOR--托运人 /// private string demandOrgCode = ""; /// /// 需求单位 /// private string demandOrgDesc = ""; /// /// 线路编号 /// private string lineCode = ""; /// /// 线路描述 /// private string lineDesc = ""; /// /// 运输起点代码 /// private string startNodeCode = ""; /// /// 起点描述 /// private string startNodeDesc = ""; /// /// 运输终点代码 /// private string endNodeCode = ""; /// /// 终点描述 /// private string endNodeDesc = ""; /// /// 起点区域代码 /// private string startAreaCode = ""; /// /// 起点区域描述 /// private string startAreaDesc = ""; /// /// 终点区域 /// private string endAreaDesc = ""; /// /// 终点区域代码 /// private string endAreaCode = ""; /// /// 起运启时间 /// private string transportStartTime = ""; /// /// 起运至时间 /// private string transportEndTime = ""; /// /// 车辆用途(生产用车/临时用车)A01031 /// private string carUseCode = ""; /// /// 车辆用途 /// private string carUseDesc = ""; /// /// 车型代码(拖车、挂车、吊车)A01017 /// private string carTypeCode = ""; /// /// 车型 /// private string carTypeDesc = ""; /// /// 承运人代码 /// private string carrierCode = ""; /// /// 承运人名称 /// private string carrierName = ""; /// /// 车牌号 /// private string carLicense = ""; /// /// 车辆分派时间 /// private string carAssignTime = ""; /// /// 司机代码 /// private string driverCode = ""; private string driverName = ""; /// /// 司机接单时间 /// private string receivingTime = ""; /// /// 是否过磅(0否/1是) /// private string weighingIf = ""; /// /// 数据来源标记(0人工1系统) /// private string sourceSign = ""; /// /// 数据状态(00无效10待调度20待运输30运输中40已结束50关闭)--运输计划生成10/车辆指派时20/司机接单30同时生成运单/所有计划执行完毕40/人工关闭50 /// private string validflag = ""; /// /// 审批状态(00待审10审中20通过30退回40拒绝) /// private string status = ""; /// /// 会计年月(YYYYMM) /// private string accountYearMonth = ""; /// /// 归档标志(1归档、0未归档) /// private string archiveFlag = ""; /// /// 归档编号(GD+YYYYYMMDD+3位流水号) /// private string archiveNo = ""; /// /// 归档日期(YYYYMMDD) /// private string archiveDate = ""; /// /// 备注 /// private string memo = ""; /// /// 创建人ID /// private string createUserid = ""; /// /// 创建人 /// private string createName = ""; /// /// 创建时间 /// private string createTime = ""; /// /// 修改人ID /// private string updateUserid = ""; /// /// 修改人 /// private string updateName = ""; /// /// 修改时间 /// private string updateTime = ""; /// /// 废除人ID /// private string deleteUserid = ""; /// /// 废除人 /// private string deleteName = ""; /// /// 废除时间 /// private string deleteTime = ""; /// /// 计费数量 /// private decimal? costCount = null; /// /// 运输计划号(运输区分代码2位+YYYYMMDD+5位流水) /// [Description("运输计划号")] [Nullable(false)] [DataLength(16)] public string PlnNo { get { return plnNo; } set { plnNo = value; } } /// /// 运输计划描述 /// [Description("运输计划描述")] [Nullable(true)] [DataLength(100)] public string PlnDesc { get { return plnDesc; } set { plnDesc = value; } } /// /// 紧急程度类型 /// [Description("紧急程度类型")] [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; } } /// /// 费用区分代码(计重/计时/合同/包月/包日)A01028 /// [Description("费用区分代码(计重/计时/合同/包月/包日)A01028")] [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; } } /// /// 需求单位代码(同步产销系统-机组/机构)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)] [DataLength(16)] public string LineCode { get { return lineCode; } set { lineCode = value; } } /// /// 线路描述 /// [Description("线路")] [Nullable(true)] [DataLength(100)] public string LineDesc { get { return lineDesc; } set { lineDesc = value; } } /// /// 运输起点代码 /// [Description("运输起点代码")] [Nullable(true)] [DataLength(32)] 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(32)] 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(32)] 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(32)] public string EndAreaDesc { get { return endAreaDesc; } set { endAreaDesc = value; } } /// /// 终点区域代码 /// [Description("终点区域代码")] [Nullable(true)] [DataLength(32)] public string EndAreaCode { get { return endAreaCode; } set { endAreaCode = 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(16)] public string CarTypeCode { get { return carTypeCode; } set { carTypeCode = value; } } /// /// 车型 /// [Description("车型")] [Nullable(true)] [DataLength(32)] public string CarTypeDesc { get { return carTypeDesc; } set { carTypeDesc = 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(16)] public string CarLicense { get { return carLicense; } set { carLicense = value; } } /// /// 车辆分派时间 /// [Description("车辆分派时间")] [Nullable(true)] public string CarAssignTime { get { return carAssignTime; } set { carAssignTime = value; } } /// /// 司机代码 /// [Description("司机代码")] [Nullable(true)] [DataLength(16)] public string DriverCode { get { return driverCode; } set { driverCode = value; } } /// /// 司机代码 /// [Description("接单司机")] [Nullable(true)] [DataLength(16)] public string DriverName { get { return driverName; } set { driverName = value; } } /// /// 司机接单时间 /// [Description("司机接单时间")] [Nullable(true)] public string ReceivingTime { get { return receivingTime; } set { receivingTime = value; } } /// /// 是否过磅(0否/1是) /// [Description("是否过磅")] [Nullable(true)] [DataLength(1)] public string WeighingIf { get { return weighingIf; } set { weighingIf = 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关闭)--运输计划生成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(128)] 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("计划数量")] public string PlnQtyVal { get { return plnQtyVal; } set { plnQtyVal = value; } } [Description("计划重量")] public string PlnWtVal { get { return plnWtVal; } set { plnWtVal = value; } } [Description("运单支数")] public string WaybilQty { get { return waybilQty; } set { waybilQty = value; } } [Description("运单重量")] public string WaybilWt { get { return waybilWt; } set { waybilWt = value; } } [Description("运单数量")] public string WaybilCount { get { return waybilCount; } set { waybilCount = value; } } [Description("运单完成数量")] public string WaybilCompleteCount { get { return waybilCompleteCount; } set { waybilCompleteCount = value; } } public List TmsPlnCEntities { get { return tmsPlnCEntities; } set { tmsPlnCEntities = value; } } private string plnQtyVal; private string plnWtVal; private string waybilQty; private string waybilWt; private string waybilCount; private string waybilCompleteCount; private List tmsPlnCEntities; // private List tmsPlnCS; } }