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.

125 lines
3.3 KiB
C#

9 months ago
using System;
using System.Data;
namespace DSWeb.Models
{
/// <summary>
/// 用户属性表
/// </summary>
public class UserAttributeEntity
{
#region 私有成员
private string _gid;//用户账户属性gid
private string _name;//用户账户属性名称
private string _description;//描述名称
private string _defaultvalue;//用户账户属性默认值
private string _create_userid;//创建人gid
private DateTime _create_time;//创建时间
private string _modified_userid;//最后一次更新操作人gid
private DateTime _modified_time;//最后一次更新操作时间
private int _state;//用户账户属性状态值,默认为为0,如果为1则当前属性停用
private int _sort;//排序字段
private UserAttributeRefEntity _refEntity;//用户属性关联信息
#endregion
public UserAttributeEntity()
{
}
#region 读写属性
/// <summary>
/// 用户账户属性gid
/// </summary>
public string Gid
{
get { return _gid; }
set { _gid = value; }
}
/// <summary>
/// 用户账户属性名称
/// </summary>
public string AttributeName
{
get { return _name; }
set { _name = value; }
}
/// <summary>
/// 描述名称
/// </summary>
public string Description
{
get { return _description; }
set { _description = value; }
}
/// <summary>
/// 用户账户属性默认值
/// </summary>
public string DefaultValue
{
get { return _defaultvalue; }
set { _defaultvalue = value; }
}
/// <summary>
/// 创建人gid
/// </summary>
public string CreateUserID
{
get { return _create_userid; }
set { _create_userid = value; }
}
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreateTime
{
get { return _create_time; }
set { _create_time = value; }
}
/// <summary>
/// 最后一次更新操作人gid
/// </summary>
public string ModifiedUserID
{
get { return _modified_userid; }
set { _modified_userid = value; }
}
/// <summary>
/// 最后一次更新操作时间
/// </summary>
public DateTime ModifiedTime
{
get { return _modified_time; }
set { _modified_time = value; }
}
/// <summary>
/// 用户账户属性状态值,默认为为0,如果为1则当前属性停用
/// </summary>
public int State
{
get { return _state; }
set { _state = value; }
}
/// <summary>
/// 排序字段
/// </summary>
public int Sort
{
get { return _sort; }
set { _sort = value; }
}
/// <summary>
/// 用户属性关联信息
/// </summary>
public UserAttributeRefEntity RefEntity
{
get { return _refEntity; }
set { _refEntity = value; }
}
#endregion
}
}