using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using QMFrameWork.Data.Attributes;
namespace QMAPP.Entity.Sys
{
///
/// 角色信息
/// 创建者:郭佳伟
/// 创建日期:2013.1.29
///
[Serializable]
[DBTable(TableName = "T_QM_ROLE", TimeStampColumn = "UpdateTime")]
public class Role : BaseEntity
{
///
/// 角色主键
///
[DBColumn(ColumnName = "ROLEID", DataType = DbType.String, IsKey = true)]
public string RoleID { get; set; }
///
/// 组织机构编号
///
[DBColumn(ColumnName = "ORGAID", DataType = DbType.String)]
public string OrgaID { get; set; }
///
/// 角色描述
///
[DBColumn(ColumnName = "ROLEDESC", DataType = DbType.String)]
public string RoleDESC { get; set; }
///
/// 所在机构描述
///
public string OrgaDESC { get; set; }
///
/// 创建日期
///
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime,DefaultValue=DataDefaultValue.SysDate)]
public DateTime CreateTime { get; set; }
///
/// 创建人
///
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CreateUser { get; set; }
///
/// 更新日期
///
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UpdateTime { get; set; }
///
/// 更新人
///
[DBColumn(ColumnName = "UPDATEUSER", DataType = DbType.String)]
public string UpdateUser { get; set; }
///
/// 权限设置
///
public List Powers { get; set; }
///
/// 是否选中
///
public bool Selected { get; set; }
///
/// 角色列表
///
public List Roles { get; set; }
///
/// 用户角色列表
///
public IList UserRoles { get; set; }
///
/// 是否修改
///
public bool IsUpdate { get; set; }
}
}