using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMFrameWork.Data.Attributes;
namespace QMAPP.Entity.Sys
{
///
/// 角色信息
/// 创建者:郭佳伟
/// 创建日期:2012.02.01
///
[Serializable]
[DBTable(TableName = "T_QM_USERROLE", TimeStampColumn = "UpdateTime")]
public class UserRole : BaseEntity
{
///
/// 用户编号
///
[DBColumn(ColumnName = "USERID", DataType = DbType.String)]
public string UserID { get; set; }
///
/// 角色编号
///
[DBColumn(ColumnName = "ROLEID", DataType = DbType.String)]
public string RoleID { get; set; }
///
/// 角色描述
///
public string RoleDESC { 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; }
}
}