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/SoftMng/Models/SoftUpGrade/MsSoftUpGrade.cs

200 lines
4.7 KiB
C#

2 years ago
using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.SoftMng.Models.MsSoftUpGrade
{
[JsonObject]
public class sys_update_sql : ModelObjectBillHead
{
#region 私有成员
private string _GID = Guid.NewGuid().ToString();//业务编号
private string _SQLVER;//
private string _SORT;//
private string _SQLTEXT;//
private string _REMARKS;//
private string _INPUTBY;
private string _INPUTBYREF;
private string _INPUTTIME;
private string _UPSTATUS;
private string _UPFILES;
private string _AUDITBY;
private string _AUDITBYREF;
private string _AUDITTIME;
#endregion
public sys_update_sql()
{
TableName = "sys_update_sql";
}
#region 读写属性
/// <summary>
/// 主键唯一值
/// </summary>
[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 string SORT
{
get { return _SORT; }
set { _SORT = value; }
}
[ModelDB]
public string SQLTEXT
{
get { return _SQLTEXT; }
set { _SQLTEXT = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string UPSTATUS
{
get { return _UPSTATUS; }
set { _UPSTATUS = value; }
}
[ModelDB]
public string REMARKS
{
get { return _REMARKS; }
set { _REMARKS = value; }
}
public string UPFILES
{
get { return _UPFILES; }
set { _UPFILES = 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 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; }
}
#endregion
}
[JsonObject]
public class sys_update_sql_table : ModelObjectBillBody
{
#region private Fields
private string _GID = Guid.NewGuid().ToString();//业务编号
private string _VERGID = "*";
private string _TBLGID = "";
private string _TBLNAME = "";
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 VERGID
{
get { return _VERGID; }
set { _VERGID = value; }
}
[ModelDB]
public string TBLGID
{
get { return _TBLGID; }
set { _TBLGID = value; }
}
public string TBLNAME
{
get { return _TBLNAME; }
set { _TBLNAME = 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 sys_update_sql_table()
{
TableName = "sys_update_sql_table";
}
}
}