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.
52 lines
1.2 KiB
52 lines
1.2 KiB
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
|
|
{
|
|
/// <summary>
|
|
/// 用户与角色关联
|
|
/// 创建者:李炳海
|
|
/// 创建日期:2013.1.24
|
|
/// </summary>
|
|
[DBTable(TableName = "T_QM_USERANDROLE")]
|
|
public class UserRelationRole
|
|
{
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
|
|
[DBColumn(ColumnName = "ID", DataType = DbType.String, IsKey = true)]
|
|
public string ID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 用户主键
|
|
/// </summary>
|
|
|
|
[DBColumn(ColumnName = "USERID", DataType = DbType.String)]
|
|
public string UserID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 用户姓名
|
|
/// </summary>
|
|
|
|
public string UserDes { get; set; }
|
|
|
|
/// <summary>
|
|
/// 角色主键
|
|
/// </summary>
|
|
|
|
[DBColumn(ColumnName = "ROLEID", DataType = DbType.String)]
|
|
public string RoleID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 角色名称
|
|
/// </summary>
|
|
|
|
public string RoleName { get; set; }
|
|
}
|
|
}
|
|
|