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.
31 lines
695 B
31 lines
695 B
3 weeks ago
|
using Newtonsoft.Json;
|
||
|
using SqlSugar;
|
||
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.ComponentModel.DataAnnotations.Schema;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
using System.Threading.Tasks;
|
||
|
|
||
|
namespace Wood.Entity.SystemManage
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 用户所属角色
|
||
|
/// </summary>
|
||
|
[SugarTable("SysUserBelongRole", "用户所属角色")]
|
||
|
public class UserBelongRoleEntity : EntityCreateBase
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 用户id
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnDescription = "用户id")]
|
||
|
public long UserId { get; set; } = 0;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 角色id
|
||
|
/// </summary>
|
||
|
[SugarColumn(ColumnDescription = "角色id")]
|
||
|
public long RoleId { get; set; } = 0;
|
||
|
}
|
||
|
}
|