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/MvcShipping/Models/MsBaseInfo/UserQuerySettingModel.cs

176 lines
3.7 KiB
C#

3 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.UserQuerySetting
{
[JsonObject]
public class UserQuerySettingModel : ModelObjectBase
{
#region private Fields
private string _gid = string.Empty;
private string _userid = String.Empty;
private string _formname = String.Empty;
private string _fieldvalues = String.Empty;
private bool _isvisible = true;
private bool _issavevalue = true;
#endregion
#region Public Properties
[ModelDB]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
public string USERID
{
get { return _userid; }
set { _userid = value; }
}
[ModelDB]
public string FORMNAME
{
get { return _formname; }
set { _formname = value; }
}
public bool ISVISIBLE
{
get { return _isvisible; }
set { _isvisible = value; }
}
public bool ISSAVEVALUE
{
get { return _issavevalue; }
set { _issavevalue = value; }
}
[ModelDB]
public string FIELDVALUES
{
get { return _fieldvalues; }
set { _fieldvalues = value; }
}
#endregion
public UserQuerySettingModel()
{
TableName = "user_query_setting";
}
}
[JsonObject]
public class QueryFieldModel : ModelObjectBase
{
#region private Fields
private string _gid = string.Empty;
private string _formname = String.Empty;
private string _fieldcname = String.Empty;
private string _fieldename = String.Empty;
private string _fieldtype = String.Empty;
private string _fieldname = String.Empty;
private string _nestedsql = String.Empty;
private int _sort = 0;
#endregion
#region Public Properties
public string GID
{
get { return _gid; }
set { _gid = value; }
}
public string FORMNAME
{
get { return _formname; }
set { _formname = value; }
}
public string FIELDCNAME
{
get { return _fieldcname; }
set { _fieldcname = value; }
}
public string FIELDENAME
{
get { return _fieldename; }
set { _fieldename = value; }
}
public string FIELDTYPE
{
get { return _fieldtype; }
set { _fieldtype = value; }
}
public string FIELDNAME
{
get { return _fieldname; }
set { _fieldname = value; }
}
public string NESTEDSQL
{
get { return _nestedsql; }
set { _nestedsql = value; }
}
public int SORT
{
get { return _sort; }
set { _sort = value; }
}
#endregion
public QueryFieldModel()
{
TableName = "sys_queryfield_setting";
}
}
[JsonObject]
public class DsQueryListModel : ModelObjectBase
{
#region private Fields
private string _name = String.Empty;
private string _value = String.Empty;
#endregion
#region Public Properties
public string NAME
{
get { return _name; }
set { _name = value; }
}
public string VALUE
{
get { return _value; }
set { _value = value; }
}
#endregion
}
#region 参照部分
#endregion
}