using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMFrameWork.Data.Attributes;
namespace QMAPP.Entity.Example
{
///
/// 用户与角色关联信息
///
[DBTable(TableName="USERANDROLE")]
public class UserAndRole:BaseEntity
{
///
/// 主键
///
[DBColumn(ColumnName="ID",DataType=System.Data.DbType.Int32,IsKey=true,IsIdentity=true)]
public int ID { get; set; }
///
/// 用户主键
///
[DBColumn(ColumnName="USERID",DataType=System.Data.DbType.String)]
public string UserID { get; set; }
///
/// 角色主键
///
[DBColumn(ColumnName = "ROLEID", DataType = System.Data.DbType.String)]
public string RoleID { get; set; }
}
}