|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Models
|
|
|
|
|
{
|
|
|
|
|
public class UserSettingEntity
|
|
|
|
|
{
|
|
|
|
|
private string _gid;//惟一标识
|
|
|
|
|
private string _name;//用户设置英文名称
|
|
|
|
|
private string _description;//用户设置中文名称
|
|
|
|
|
private int _type;//适用类型 值为1表示适用于Grid格式设置
|
|
|
|
|
private string _url;//所使用设置路径地址
|
|
|
|
|
private string _page;//所使用设置的页面
|
|
|
|
|
private string _xml;//设置数据
|
|
|
|
|
private string _userid;//关联用户GID
|
|
|
|
|
private string _create_user;//创建人
|
|
|
|
|
private DateTime _create_time;//创建时间
|
|
|
|
|
private string _modified_user;//最后一次更新操作人
|
|
|
|
|
private DateTime _modified_time;//最后一次更新操作时间
|
|
|
|
|
|
|
|
|
|
public UserSettingEntity()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 惟一标识
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _gid; }
|
|
|
|
|
set { _gid = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 用户设置英文名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Name
|
|
|
|
|
{
|
|
|
|
|
get { return _name; }
|
|
|
|
|
set { _name = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 用户设置中文名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Description
|
|
|
|
|
{
|
|
|
|
|
get { return _description; }
|
|
|
|
|
set { _description = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 适用类型 值为1表示适用于Grid格式设置
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int Type
|
|
|
|
|
{
|
|
|
|
|
get { return _type; }
|
|
|
|
|
set { _type = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所使用设置路径地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Url
|
|
|
|
|
{
|
|
|
|
|
get { return _url; }
|
|
|
|
|
set { _url = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所使用设置的页面
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Page
|
|
|
|
|
{
|
|
|
|
|
get { return _page; }
|
|
|
|
|
set { _page = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设置数据
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Xml
|
|
|
|
|
{
|
|
|
|
|
get { return _xml; }
|
|
|
|
|
set { _xml = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 关联用户GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string UserID
|
|
|
|
|
{
|
|
|
|
|
get { return _userid; }
|
|
|
|
|
set { _userid = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CreateUser
|
|
|
|
|
{
|
|
|
|
|
get { return _create_user; }
|
|
|
|
|
set { _create_user = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime CreateTime
|
|
|
|
|
{
|
|
|
|
|
get { return _create_time; }
|
|
|
|
|
set { _create_time = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次更新操作人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ModifiedUser
|
|
|
|
|
{
|
|
|
|
|
get { return _modified_user; }
|
|
|
|
|
set { _modified_user = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次更新操作时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime ModifiedTime
|
|
|
|
|
{
|
|
|
|
|
get { return _modified_time; }
|
|
|
|
|
set { _modified_time = value; }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|