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.
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
namespace Entity.DbModel.System
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 系统用户角色表
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("sys_user_role")]
|
|
|
|
|
public class SysUserRole
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "id")]
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 用户Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "user_id")]
|
|
|
|
|
public long UserId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 角色Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "role_id")]
|
|
|
|
|
public long RoleId { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|