using System; using System.Data; using System.Collections; using System.Collections.Generic; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcContainer.Models.MsCodeMsds { [JsonObject] public class CodeMSDS : ModelObjectBillHead { #region 私有成员 private string _GID = Guid.NewGuid().ToString();//业务编号 private string _GOODNAME;// private string _TRADEGOODSNAME;// private string _CHEMICALGOODSNAME;// private string _CHEMICALCGOODSNAME;// private string _CASNO;// private string _UNNO; private string _DCLASS; private string _SDCLASS; private string _PACKINGGROUP;// private bool _ISPOLLUTEOCEAN;// private string _MELTINGPOINTB; private string _BOILINGPOINTB; private string _FLASHPOINTB; private string _MELTINGPOINTE; private string _BOILINGPOINTE; private string _FLASHPOINTE; private string _DENSITY; private string _PH; private string _STABILITY; private string _REACTIVE; private string _IMDG; private string _REMARKS; private string _INPUTBY; private string _INPUTBYREF; private string _INPUTTIME; private string _COMPANYID; private string _GOODNAMEANDCNAME; private bool _ISDANGEROUS; #endregion public CodeMSDS() { TableName = "code_msds"; } #region 读写属性 /// /// 主键唯一值 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string GOODNAME { get { return _GOODNAME; } set { _GOODNAME = value; } } [ModelDB] public string TRADEGOODSNAME { get { return _TRADEGOODSNAME; } set { _TRADEGOODSNAME = value; } } [ModelDB] public string CHEMICALGOODSNAME { get { return _CHEMICALGOODSNAME; } set { _CHEMICALGOODSNAME = value; } } [ModelDB] public string CHEMICALCGOODSNAME { get { return _CHEMICALCGOODSNAME; } set { _CHEMICALCGOODSNAME = value; } } [ModelDB] public string CASNO { get { return _CASNO; } set { _CASNO = value; } } [ModelDB] public string UNNO { get { return _UNNO; } set { _UNNO = value; } } [ModelDB] public string DCLASS { get { return _DCLASS; } set { _DCLASS = value; } } [ModelDB] public string SDCLASS { get { return _SDCLASS; } set { _SDCLASS = value; } } [ModelDB] public string PACKINGGROUP { get { return _PACKINGGROUP; } set { _PACKINGGROUP = value; } } [ModelDB] public bool ISPOLLUTEOCEAN { get { return _ISPOLLUTEOCEAN; } set { _ISPOLLUTEOCEAN = value; } } [ModelDB] public string MELTINGPOINTB { get { return _MELTINGPOINTB; } set { _MELTINGPOINTB = value; } } [ModelDB] public string BOILINGPOINTB { get { return _BOILINGPOINTB; } set { _BOILINGPOINTB= value; } } [ModelDB] public string FLASHPOINTB { get { return _FLASHPOINTB; } set { _FLASHPOINTB = value; } } [ModelDB] public string MELTINGPOINTE { get { return _MELTINGPOINTE; } set { _MELTINGPOINTE = value; } } [ModelDB] public string BOILINGPOINTE { get { return _BOILINGPOINTE; } set { _BOILINGPOINTE = value; } } [ModelDB] public string FLASHPOINTE { get { return _FLASHPOINTE; } set { _FLASHPOINTE = value; } } [ModelDB] public string DENSITY { get { return _DENSITY; } set { _DENSITY = value; } } [ModelDB] public string PH { get { return _PH; } set { _PH = value; } } [ModelDB] public string STABILITY { get { return _STABILITY; } set { _STABILITY = value; } } [ModelDB] public string REACTIVE { get { return _REACTIVE; } set { _REACTIVE = value; } } [ModelDB] public string IMDG { get { return _IMDG; } set { _IMDG = value; } } [ModelDB] public string REMARKS { get { return _REMARKS; } set { _REMARKS = value; } } [ModelDB] public bool ISDANGEROUS { get { return _ISDANGEROUS; } set { _ISDANGEROUS = value; } } [ModelDB] public string EMS { get; set; } [ModelDB] public string SEGREGATION_GROUP { get; set; } [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 GOODNAMEANDCNAME { get { return _GOODNAMEANDCNAME; } set { _GOODNAMEANDCNAME = value; } } #endregion } [JsonObject] public class CodeMSDSFactry : ModelObjectBillBody { #region private Fields private string _GID = Guid.NewGuid().ToString();//业务编号 private string _MSDSID = "*"; private string _FACTORYNAME = ""; private string _CUSTOMERNAME =""; private string _FACTORYADDR =""; private string _CONSIGNEE =""; private string _CONSIGNEEADDR =""; private string _CONSIGNEECTNHISTRY =""; private string _INPUTBY; private string _INPUTBYREF; private string _INPUTTIME; private string _REMARKS; private string _LINKTEL; private string _SALE; #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 MSDSID { get { return _MSDSID; } set { _MSDSID = value; } } [ModelDB] public string FACTORYNAME { get { return _FACTORYNAME; } set { _FACTORYNAME = value; } } [ModelDB] public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } } [ModelDB] public string FACTORYADDR { get { return _FACTORYADDR; } set { _FACTORYADDR = value; } } [ModelDB] public string CONSIGNEE { get { return _CONSIGNEE; } set { _CONSIGNEE = value; } } [ModelDB] public string CONSIGNEEADDR { get { return _CONSIGNEEADDR; } set { _CONSIGNEEADDR = 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; } } [ModelDB] public string LINKTEL { get { return _LINKTEL; } set { _LINKTEL = value; } } [ModelDB] public string SALE { get { return _SALE; } set { _SALE = value; } } #endregion public CodeMSDSFactry() { TableName = "code_msds_factry"; } } [JsonObject] public class CodeMSDSRejection : ModelObjectBillBody { #region private Fields private string _GID = Guid.NewGuid().ToString();//业务编号 private string _MSDSID = "*"; private string _REJECTID = ""; private string _GOODNAME = ""; 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 MSDSID { get { return _MSDSID; } set { _MSDSID = value; } } [ModelDB] public string REJECTID { get { return _REJECTID; } set { _REJECTID = value; } } public string GOODNAME { get { return _GOODNAME; } set { _GOODNAME = 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 CodeMSDSRejection() { TableName = "code_msds_rejection"; } } }