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.
DS7/DSWeb/Areas/MvcContainer/Models/MsCodeCtnTk/MsCodeCtnTk.cs

710 lines
18 KiB
C#

3 years ago
using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcContainer.Models.MsCodeCtnTk
{
[JsonObject]
public class CodeCtnTk : ModelObjectBillHead
{
#region 私有成员
private string _GID = Guid.NewGuid().ToString();//业务编号
private string _CTNNO;//
private string _CTNPROP;//
private string _CTNSTATUS;//
private string _NAMEPLATE;//
private string _OWNERCTN;//
private string _MADEDATE;//
private string _MADEFACTORY;
private decimal _TANKWALLTHICK;
private decimal _HEADTHICK;
private decimal _TANKVOLUMN;//
private decimal _TAREWEIGHT;
private decimal _MAXWORKINGGPRESSURE;
private decimal _TESTINGGPRESSURE;
private decimal _DESIGNTEMPERATUREB;
private decimal _DESIGNTEMPERATUREE;
private string _TRAILPEDAL;
private string _AIRVALVE;
private string _SAFETYVALVE;
private string _TOPVALVE;
private string _BOTTOMVALVE;
private bool _EXSITSIPHONPIPE;
private bool _EXSITPRESSUREGAUGE;
private bool _EXSITTOPOVERFLOWBOX;
private bool _EXSITINTOOVERFLOWBOX;
private bool _EXSITBOTTONVALVEDUSTCOVER;
private string _STEAMPIPE;
private string _REMARKS;
private string _INPUTBY;
private string _INPUTBYREF;
private string _INPUTTIME;
private string _COMPANYID;
private string _INSPECTION_EXPIRE_DATE;
private string _INSURANCE_EXPIRE_DATE;
private string _CURPORT;
private string _CURSTATOIN;
private string _PREGOODNAME;
private string _INSPECTDATE;
private string _INSPECTENDDATE;
private string _INSURANCENO;
private string _INBEGINDATE;
private string _INENDDATE;
private bool _ISSTOPUSE;
private string _CTNRENT;
private string _TAKECTNDATE;
private string _EXPIREDATE;
#endregion
public CodeCtnTk()
{
TableName = "code_ctntk";
}
#region 读写属性
/// <summary>
/// 主键唯一值
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string CTNNO
{
get { return _CTNNO; }
set { _CTNNO = value; }
}
[ModelDB]
public string CTNPROP
{
get { return _CTNPROP; }
set { _CTNPROP = value; }
}
[ModelDB]
public string CTNSTATUS
{
get { return _CTNSTATUS; }
set { _CTNSTATUS = value; }
}
[ModelDB]
public string NAMEPLATE
{
get { return _NAMEPLATE; }
set { _NAMEPLATE = value; }
}
[ModelDB]
public string OWNERCTN
{
get { return _OWNERCTN; }
set { _OWNERCTN = value; }
}
[ModelDB]
public string MADEDATE
{
get { return _MADEDATE; }
set { _MADEDATE = value; }
}
[ModelDB]
public string MADEFACTORY
{
get { return _MADEFACTORY; }
set { _MADEFACTORY = value; }
}
[ModelDB]
public decimal TANKWALLTHICK
{
get { return _TANKWALLTHICK; }
set { _TANKWALLTHICK = value; }
}
[ModelDB]
public decimal HEADTHICK
{
get { return _HEADTHICK; }
set { _HEADTHICK = value; }
}
[ModelDB]
public decimal TANKVOLUMN
{
get { return _TANKVOLUMN; }
set { _TANKVOLUMN = value; }
}
[ModelDB]
public decimal TAREWEIGHT
{
get { return _TAREWEIGHT; }
set { _TAREWEIGHT = value; }
}
[ModelDB]
public decimal MAXWORKINGGPRESSURE
{
get { return _MAXWORKINGGPRESSURE; }
set { _MAXWORKINGGPRESSURE = value; }
}
[ModelDB]
public decimal TESTINGGPRESSURE
{
get { return _TESTINGGPRESSURE; }
set { _TESTINGGPRESSURE = value; }
}
[ModelDB]
public decimal DESIGNTEMPERATUREB
{
get { return _DESIGNTEMPERATUREB; }
set { _DESIGNTEMPERATUREB = value; }
}
[ModelDB]
public decimal DESIGNTEMPERATUREE
{
get { return _DESIGNTEMPERATUREE; }
set { _DESIGNTEMPERATUREE = value; }
}
[ModelDB]
public string TRAILPEDAL
{
get { return _TRAILPEDAL; }
set { _TRAILPEDAL = value; }
}
[ModelDB]
public string AIRVALVE
{
get { return _AIRVALVE; }
set { _AIRVALVE = value; }
}
[ModelDB]
public string SAFETYVALVE
{
get { return _SAFETYVALVE; }
set { _SAFETYVALVE = value; }
}
[ModelDB]
public string TOPVALVE
{
get { return _TOPVALVE; }
set { _TOPVALVE = value; }
}
[ModelDB]
public string BOTTOMVALVE
{
get { return _BOTTOMVALVE; }
set { _BOTTOMVALVE = value; }
}
[ModelDB]
public bool EXSITSIPHONPIPE
{
get { return _EXSITSIPHONPIPE; }
set { _EXSITSIPHONPIPE = value; }
}
[ModelDB]
public bool EXSITPRESSUREGAUGE
{
get { return _EXSITPRESSUREGAUGE; }
set { _EXSITPRESSUREGAUGE = value; }
}
[ModelDB]
public bool EXSITTOPOVERFLOWBOX
{
get { return _EXSITTOPOVERFLOWBOX; }
set { _EXSITTOPOVERFLOWBOX = value; }
}
[ModelDB]
public bool EXSITINTOOVERFLOWBOX
{
get { return _EXSITINTOOVERFLOWBOX; }
set { _EXSITINTOOVERFLOWBOX = value; }
}
[ModelDB]
public bool EXSITBOTTONVALVEDUSTCOVER
{
get { return _EXSITBOTTONVALVEDUSTCOVER; }
set { _EXSITBOTTONVALVEDUSTCOVER = value; }
}
[ModelDB]
public string STEAMPIPE
{
get { return _STEAMPIPE; }
set { _STEAMPIPE = value; }
}
[ModelDB]
public string REMARKS
{
get { return _REMARKS; }
set { _REMARKS = value; }
}
[ModelDB]
public string CTNRENT
{
get { return _CTNRENT; }
set { _CTNRENT = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string INPUTBY
{
get { return _INPUTBY; }
set { _INPUTBY = value; }
}
public string INPUTBYREF
{
get { return _INPUTBYREF; }
set { _INPUTBYREF = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string INPUTTIME
{
get { return _INPUTTIME; }
set { _INPUTTIME = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string COMPANYID
{
get { return _COMPANYID; }
set { _COMPANYID = value; }
}
public string INSPECTION_EXPIRE_DATE
{
get { return _INSPECTION_EXPIRE_DATE; }
set { _INSPECTION_EXPIRE_DATE = value; }
}
public string INSURANCE_EXPIRE_DATE
{
get { return _INSURANCE_EXPIRE_DATE; }
set { _INSURANCE_EXPIRE_DATE = value; }
}
[ModelDB]
public string CURPORT
{
get { return _CURPORT; }
set { _CURPORT = value; }
}
[ModelDB]
public string CURSTATOIN
{
get { return _CURSTATOIN; }
set { _CURSTATOIN = value; }
}
[ModelDB]
public string TAKECTNDATE
{
get { return _TAKECTNDATE; }
set { _TAKECTNDATE = value; }
}
[ModelDB]
public string EXPIREDATE
{
get { return _EXPIREDATE; }
set { _EXPIREDATE = value; }
}
public string PREGOODNAME
{
get { return _PREGOODNAME; }
set { _PREGOODNAME = value; }
}
public string INSPECTDATE
{
get { return _INSPECTDATE; }
set { _INSPECTDATE = value; }
}
public string INSPECTENDDATE
{
get { return _INSPECTENDDATE; }
set { _INSPECTENDDATE = value; }
}
public string INSURANCENO
{
get { return _INSURANCENO; }
set { _INSURANCENO = value; }
}
public string INBEGINDATE
{
get { return _INBEGINDATE; }
set { _INBEGINDATE = value; }
}
public string INENDDATE
{
get { return _INENDDATE; }
set { _INENDDATE = value; }
}
[ModelDB]
public bool ISSTOPUSE
{
get { return _ISSTOPUSE; }
set { _ISSTOPUSE = value; }
}
//20200717 年检信息 保险信息 锁定状态
//,c.INSPECTLOCKSTATUS,c.INSURANCELOCKSTATUS
private bool _INSPECTLOCKSTATUS;
private bool _INSURANCELOCKSTATUS;
[ModelDB]
public bool INSPECTLOCKSTATUS
{
//年检信息锁定状态
get { return _INSPECTLOCKSTATUS; }
set { _INSPECTLOCKSTATUS = value; }
}
[ModelDB]
public bool INSURANCELOCKSTATUS
{
//保险信息锁定状态
get { return _INSURANCELOCKSTATUS; }
set { _INSURANCELOCKSTATUS = value; }
}
#endregion
public string CURRENTPORT
{
get;set;
}
public string INSURANCEGID { get; set; }
public string INSURANCECORP { get; set; }
public string INSURANCELOCKREF { get; set; }
}
[JsonObject]
public class CodeCtnTkNoLaneItems : ModelObjectBillBody
{
#region private Fields
private string _GID = Guid.NewGuid().ToString();//业务编号
private string _LINKGID = "*";
private string _LANEGID = "";
private string _LANE = "";
private string _INPUTBY;
private string _INPUTBYREF;
private string _INPUTTIME;
private string _REMARKS;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string LINKGID
{
get { return _LINKGID; }
set { _LINKGID = value; }
}
[ModelDB]
public string LANEGID
{
get { return _LANEGID; }
set { _LANEGID = value; }
}
public string LANE
{
get { return _LANE; }
set { _LANE = value; }
}
[ModelDB]
public string REMARKS
{
get { return _REMARKS; }
set { _REMARKS = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string INPUTBY
{
get { return _INPUTBY; }
set { _INPUTBY = value; }
}
public string INPUTBYREF
{
get { return _INPUTBYREF; }
set { _INPUTBYREF = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string INPUTTIME
{
get { return _INPUTTIME; }
set { _INPUTTIME = value; }
}
#endregion
public CodeCtnTkNoLaneItems()
{
TableName = "Code_CtnTkNoLaneItems";
}
}
[JsonObject]
public class CodeCtnTkInspect : ModelObjectBillBody
{
#region private Fields
private string _GID = Guid.NewGuid().ToString();//业务编号
private string _LINKGID = "*";
private string _DEPOT = "";
private string _CTNNO = "";
private string _DEPOTDATE = "";
private string _INSPECTDATE = "";
private string _INSPECTENDDATE = "";
private decimal _CYCLE;
private string _INSPECTCORP;
private decimal _DEPOTAMOUNT;
private string _DEPOTCURRENCY;
private decimal _INSPECTAMOUNT;
private string _INSPECTCURRENCY;
private string _INPUTBY;
private string _INPUTBYREF;
private string _INPUTTIME;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string LINKGID
{
get { return _LINKGID; }
set { _LINKGID = value; }
}
public string CTNNO
{
get { return _CTNNO; }
set { _CTNNO = value; }
}
[ModelDB]
public string DEPOT
{
get { return _DEPOT; }
set { _DEPOT = value; }
}
public string DEPOTDATE
{
get { return _DEPOTDATE; }
set { _DEPOTDATE = value; }
}
[ModelDB]
public string INSPECTDATE
{
get { return _INSPECTDATE; }
set { _INSPECTDATE = value; }
}
[ModelDB]
public string INSPECTENDDATE
{
get { return _INSPECTENDDATE; }
set { _INSPECTENDDATE = value; }
}
[ModelDB]
public decimal CYCLE
{
get { return _CYCLE; }
set { _CYCLE = value; }
}
[ModelDB]
public string INSPECTCORP
{
get { return _INSPECTCORP; }
set { _INSPECTCORP = value; }
}
[ModelDB]
public decimal DEPOTAMOUNT
{
get { return _DEPOTAMOUNT; }
set { _DEPOTAMOUNT = value; }
}
[ModelDB]
public string DEPOTCURRENCY
{
get { return _DEPOTCURRENCY; }
set { _DEPOTCURRENCY = value; }
}
[ModelDB]
public decimal INSPECTAMOUNT
{
get { return _INSPECTAMOUNT; }
set { _INSPECTAMOUNT = value; }
}
[ModelDB]
public string INSPECTCURRENCY
{
get { return _INSPECTCURRENCY; }
set { _INSPECTCURRENCY = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string INPUTBY
{
get { return _INPUTBY; }
set { _INPUTBY = value; }
}
public string INPUTBYREF
{
get { return _INPUTBYREF; }
set { _INPUTBYREF = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string INPUTTIME
{
get { return _INPUTTIME; }
set { _INPUTTIME = value; }
}
private bool _islock = false;
/// <summary>
/// 业务状态
/// </summary>
public bool ISLOCK
{
get { return _islock; }
set { _islock = value; }
}
private string _ISLOCKREF = "";
public string ISLOCKREF
{
get { return _ISLOCKREF; }
set { _ISLOCKREF = value; }
}
#endregion
public CodeCtnTkInspect()
{
TableName = "CodeCtnTk_Inspect";
}
}
[JsonObject]
public class CodeCtnTkInsurance : ModelObjectBillBody
{
#region private Fields
private string _GID = Guid.NewGuid().ToString();//业务编号
private string _LINKGID = "*";
private string _BSNO = "";
private string _BEGINDATE = "";
private string _ENDDATE = "";
private string _CORPSNAME = "";
private string _INPUTBY;
private string _INPUTBYREF;
private string _INPUTTIME;
private string _REMARKS;
#endregion
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string LINKGID
{
get { return _LINKGID; }
set { _LINKGID = value; }
}
[ModelDB]
public string BSNO
{
get { return _BSNO; }
set { _BSNO = value; }
}
public string BEGINDATE
{
get { return _BEGINDATE; }
set { _BEGINDATE = value; }
}
[ModelDB]
public string ENDDATE
{
get { return _ENDDATE; }
set { _ENDDATE = value; }
}
[ModelDB]
public string CORPSNAME
{
get { return _CORPSNAME; }
set { _CORPSNAME = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string INPUTBY
{
get { return _INPUTBY; }
set { _INPUTBY = value; }
}
public string INPUTBYREF
{
get { return _INPUTBYREF; }
set { _INPUTBYREF = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string INPUTTIME
{
get { return _INPUTTIME; }
set { _INPUTTIME = value; }
}
private bool _islock = false;
/// <summary>
/// 业务状态
/// </summary>
public bool ISLOCK
{
get { return _islock; }
set { _islock = value; }
}
private string _ISLOCKREF="";
public string ISLOCKREF
{
get { return _ISLOCKREF; }
set { _ISLOCKREF = value; }
}
#endregion
public CodeCtnTkInsurance()
{
TableName = "CodeCtnTk_Insurance";
}
}
}