using System; using System.Collections.Generic; using System.Linq; using SqlSugar; namespace WGShare.Domain.Entities { /// /// 角色权限关系表 /// [SugarTable("role_perm")] public class RolePrem { /// /// 角色Id /// [SugarColumn(ColumnName = "role_id", IsPrimaryKey = true)] public string RoleId { get; set; } /// /// 权限Id /// [SugarColumn(ColumnName = "perm_id", IsPrimaryKey = true)] public string PermId { get; set; } } }