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.

145 lines
3.8 KiB
C#

using System;
using System.Data;
namespace DSWeb.Models
{
public class AttributeEntity
{
#region 私有成员
private string _gid;//主键唯一值
private string _name;//系统名称
private string _description;//中文名称或描述信息
private string _default_value;//默认值
private string _create_user;//创建人
private DateTime _create_time;//创建时间
private string _modified_user;//最后一次更新操作人GID
private DateTime _modified_time;//最后一次更新操作时间
private bool _is_delete;//是否删除
private string _delete_user;//删除操作人
private DateTime _delete_time;//删除操作时间
private string _type_id;//属性值类型
private int _state;//参数状态
private int _sort;//排序值
#endregion
public AttributeEntity()
{
}
#region 读写属性
/// <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>
/// 默认值
/// </summary>
public string DefaultValue
{
get { return _default_value; }
set { _default_value = 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>
/// 最后一次更新操作人GID
/// </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; }
}
/// <summary>
/// 是否删除
/// </summary>
public bool IsDelete
{
get { return _is_delete; }
set { _is_delete = value; }
}
/// <summary>
/// 删除操作人
/// </summary>
public string DeleteUser
{
get { return _delete_user; }
set { _delete_user = value; }
}
/// <summary>
/// 删除操作时间
/// </summary>
public DateTime DeleteTime
{
get { return _delete_time; }
set { _delete_time = value; }
}
/// <summary>
/// 属性值类型ID
/// </summary>
public string TypeID
{
get { return _type_id;}
set { _type_id = value; }
}
/// <summary>
/// 参数状态
/// </summary>
public int State
{
get { return _state; }
set { _state = value; }
}
/// <summary>
/// 排序值
/// </summary>
public int Sort
{
get { return _sort; }
set { _sort = value; }
}
#endregion
}
}