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.
 
 
 
Tiobon.Web.Core/Tiobon.Core.Model/Models/RootTkey/RoleModulePermissionRoot.cs

28 lines
648 B

using SqlSugar;
using System;
namespace Tiobon.Core.Model
{
/// <summary>
/// 按钮跟权限关联表
/// 父类
/// </summary>
public class RoleModulePermissionRoot<Tkey> : RootEntityTkey<Tkey> where Tkey : IEquatable<Tkey>
{
/// <summary>
/// 角色ID
/// </summary>
public Tkey RoleId { get; set; }
/// <summary>
/// 菜单ID
/// </summary>
public Tkey ModuleId { get; set; }
/// <summary>
/// api ID
/// </summary>
[SugarColumn(IsNullable = true)]
public Tkey PermissionId { get; set; }
}
}