using System;
using System.Data;
using System.Runtime.Serialization;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMFrameWork.Data.Attributes;
namespace QMAPP.Entity.Sys
{
///
/// 用户与角色关联
/// 创建者:李炳海
/// 创建日期:2013.1.24
///
[DBTable(TableName = "T_QM_USERANDROLE")]
public class UserRelationRole
{
///
/// 主键
///
[DBColumn(ColumnName = "ID", DataType = DbType.String, IsKey = true)]
public string ID { get; set; }
///
/// 用户主键
///
[DBColumn(ColumnName = "USERID", DataType = DbType.String)]
public string UserID { get; set; }
///
/// 用户姓名
///
public string UserDes { get; set; }
///
/// 角色主键
///
[DBColumn(ColumnName = "ROLEID", DataType = DbType.String)]
public string RoleID { get; set; }
///
/// 角色名称
///
public string RoleName { get; set; }
}
}