using System; using System.Data; using System.Collections; using System.Collections.Generic; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsSysUpdateSql { [JsonObject] public class SysUpdateSql : ModelObjectBillHead { #region private Fields private string _GID = Guid.NewGuid().ToString();//业务编号 private string _SQLVER = ""; private int _SORT = 0; private string _SQLTEXT = ""; private string _REMARKS = ""; 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] public string SQLVER { get { return _SQLVER; } set { _SQLVER = value; } } [ModelDB] public int SORT { get { return _SORT; } set { _SORT = value; } } [ModelDB] public string SQLTEXT { get { return _SQLTEXT; } set { _SQLTEXT = 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 SysUpdateSql() { TableName = "sys_update_sql"; } } }