天津投入产出系统后端
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.
 
 
 
 
 
 

33 lines
904 B

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