RolePermission.cs 436 Bytes
using HHECS.DataContract;

namespace HHECS.RobotTool.Model
{
    /// <summary>
    /// 角色权限关联表
    /// </summary>
    internal class RolePermission : BaseEntityCU<int>
    {
        public int RoleId { get; set; }

        public int PermissionId { get; set; }

        // 导航属性
        public virtual Role Role { get; set; } = null!;

        public virtual Permission Permission { get; set; } = null!;
    }
}