You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.7 KiB
62 lines
1.7 KiB
using System;
|
|
using System.Data;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using QMFrameWork.Data.Attributes;
|
|
|
|
namespace QMAPP.Entity.Sys
|
|
{
|
|
/// <summary>
|
|
/// 角色信息
|
|
/// 创建者:郭佳伟
|
|
/// 创建日期:2012.02.01
|
|
/// </summary>
|
|
[Serializable]
|
|
[DBTable(TableName = "T_QM_USERROLE", TimeStampColumn = "UpdateTime")]
|
|
public class UserRole : BaseEntity
|
|
{
|
|
|
|
/// <summary>
|
|
/// 用户编号
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "USERID", DataType = DbType.String)]
|
|
public string UserID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 角色编号
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "ROLEID", DataType = DbType.String)]
|
|
public string RoleID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 角色描述
|
|
/// </summary>
|
|
public string RoleDESC { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建日期
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime,DefaultValue=DataDefaultValue.SysDate)]
|
|
public DateTime CreateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建人
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
|
|
public string CreateUser { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新日期
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
|
|
public DateTime UpdateTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// 更新人
|
|
/// </summary>
|
|
[DBColumn(ColumnName = "UPDATEUSER", DataType = DbType.String)]
|
|
public string UpdateUser { get; set; }
|
|
|
|
}
|
|
}
|
|
|