using Hncore.Infrastructure.WebApi; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Hncore.Pass.Manage.Request { public class EditManagerToPermissionRequest : RequestBase { /// /// 用户数据库ID /// [JsonProperty("Id")] public int Id { get; set; } /// /// 管理员id /// [JsonProperty("ManagerId")] public int ManagerId { get; set; } /// /// 权限编码 /// [JsonProperty("PermissionCode")] public string PermissionCode { get; set; } /// /// 是否查看 /// [JsonProperty("AllowView")] public int AllowView { get; set; } /// /// 是否添加 /// [JsonProperty("AllowAdd")] public int AllowAdd { get; set; } /// /// 是否修改 /// [JsonProperty("AllowEdit")] public int AllowEdit { get; set; } /// /// 是否删除 /// [JsonProperty("AllowDel")] public int AllowDel { get; set; } } }