src/Admin/Library/Application/RoleService/ViewModels/RolePermissionBindModel.cs

(完整代码) 460B

using System;
using System.Collections.Generic;
using NetModular.Lib.Auth.Abstractions;
using NetModular.Lib.Utils.Core.Validations;

namespace NetModular.Module.Admin.Application.RoleService.ViewModels
{
    public class RolePermissionBindModel
    {
        [NotEmpty(ErrorMessage = "请选择角色")]
        public Guid RoleId { get; set; }

        public Platform Platform { get; set; }

        public List<string> Permissions { get; set; }
    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。