using System; using System.Data; using System.Collections; using System.Collections.Generic; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.SoftMng.Models.MsSoftRequire { [JsonObject] public class SoftRequire : ModelObjectBillHead { #region 私有成员 private string _GID = Guid.NewGuid().ToString();//业务编号 private string _BSNO;// private string _BSSTATUS;// private string _SOFTVER;// private string _PROJECTID;// private string _PROJECTNAME;// private string _MODULENAME;// private string _EMERGENCYCLASS;// private string _CUSTOMERNAME; private string _CUSTDATE; private string _REQUIRETYPE; private string _REQUIREDETAIL;// private string _AUDITBYREF; private string _AUDITBY; private string _AUDITTIME; private string _AUDITRESULT; private string _MODIFYBY; private string _MODIFYBYREF; private string _MODIFYSTTIME; private string _MODIFYEDTIME; private string _MODIFYDETAIL; private string _REMARKS; private string _INPUTBY; private string _INPUTBYREF; private string _INPUTTIME; private string _OVERBY; private string _OVERBYREF; private string _OVERTIME; private string _SALEREF; private string _SALE; private string _SALEAUDITTIME; private string _SALESTATUS;// #endregion public SoftRequire() { TableName = "op_softrequire"; } #region 读写属性 /// /// 主键唯一值 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB] public string BSNO { get { return _BSNO; } set { _BSNO = value; } } [ModelDB] public string BSSTATUS { get { return _BSSTATUS; } set { _BSSTATUS = value; } } [ModelDB] public string SOFTVER { get { return _SOFTVER; } set { _SOFTVER = value; } } [ModelDB] public string PROJECTID { get { return _PROJECTID; } set { _PROJECTID = value; } } public string PROJECTNAME { get { return _PROJECTNAME; } set { _PROJECTNAME = value; } } [ModelDB] public string MODULENAME { get { return _MODULENAME; } set { _MODULENAME = value; } } [ModelDB] public string EMERGENCYCLASS { get { return _EMERGENCYCLASS; } set { _EMERGENCYCLASS = value; } } [ModelDB] public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } } [ModelDB] public string CUSTDATE { get { return _CUSTDATE; } set { _CUSTDATE = value; } } [ModelDB] public string REQUIRETYPE { get { return _REQUIRETYPE; } set { _REQUIRETYPE = value; } } [ModelDB] public string REQUIREDETAIL { get { return _REQUIREDETAIL; } set { _REQUIREDETAIL = value; } } public string AUDITBY { get { return _AUDITBY; } set { _AUDITBY = value; } } public string AUDITBYREF { get { return _AUDITBYREF; } set { _AUDITBYREF = value; } } public string AUDITTIME { get { return _AUDITTIME; } set { _AUDITTIME = value; } } public string AUDITRESULT { get { return _AUDITRESULT; } set { _AUDITRESULT = value; } } public string MODIFYBY { get { return _MODIFYBY; } set { _MODIFYBY = value; } } public string MODIFYBYREF { get { return _MODIFYBYREF; } set { _MODIFYBYREF = value; } } public string MODIFYSTTIME { get { return _MODIFYSTTIME; } set { _MODIFYSTTIME = value; } } public string MODIFYEDTIME { get { return _MODIFYEDTIME; } set { _MODIFYEDTIME = value; } } public string MODIFYDETAIL { get { return _MODIFYDETAIL; } set { _MODIFYDETAIL = 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; } } public string OVERBY { get { return _OVERBY; } set { _OVERBY = value; } } public string OVERBYREF { get { return _OVERBYREF; } set { _OVERBYREF = value; } } public string OVERTIME { get { return _OVERTIME; } set { _OVERTIME = value; } } [ModelDB] public string SALE { get { return _SALE; } set { _SALE = value; } } public string SALEREF { get { return _SALEREF; } set { _SALEREF = value; } } public string SALEAUDITTIME { get { return _SALEAUDITTIME; } set { _SALEAUDITTIME = value; } } public string SALESTATUS { get { return _SALESTATUS; } set { _SALESTATUS = value; } } #endregion } [JsonObject] public class SoftRequireDetail : ModelObjectBillBody { #region private Fields private string _GID = Guid.NewGuid().ToString();//业务编号 private string _LINKGID = "*"; private string _MODIFYFILE = ""; private string _MODIFYBY = ""; private string _MODIFYTIME = ""; private string _MODIFYDETAIL = ""; 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 MODIFYFILE { get { return _MODIFYFILE; } set { _MODIFYFILE = value; } } [ModelDB] public string MODIFYBY { get { return _MODIFYBY; } set { _MODIFYBY = value; } } [ModelDB] public string MODIFYTIME { get { return _MODIFYTIME; } set { _MODIFYTIME = value; } } [ModelDB] public string MODIFYDETAIL { get { return _MODIFYDETAIL; } set { _MODIFYDETAIL = 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 SoftRequireDetail() { TableName = "op_softrequire_detail"; } } [JsonObject] public class SoftProject : ModelObjectBillBody { #region private Fields private string _GID = Guid.NewGuid().ToString();//业务编号 private string _PROJECTNAME = "*"; 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] public string PROJECTNAME { get { return _PROJECTNAME; } set { _PROJECTNAME = 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 SoftProject() { TableName = "op_softproject"; } } }