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
546 B
33 lines
546 B
3 years ago
|
using SqlSugar;
|
||
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
using System.Threading.Tasks;
|
||
|
|
||
|
namespace SqlSugarDemo
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 账号角色表
|
||
|
/// </summary>
|
||
|
[SugarTable("Unit_SYS_UserRole")]
|
||
|
public partial class UserRoleEntity
|
||
|
{
|
||
|
|
||
|
/// <summary>
|
||
|
/// 系统账号Id
|
||
|
/// </summary>
|
||
|
[SugarColumn(IsPrimaryKey = true)]
|
||
|
public Guid UserId { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 角色Id
|
||
|
/// </summary>
|
||
|
[SugarColumn(IsPrimaryKey = true)]
|
||
|
public Guid RoleId { get; set; }
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|