namespace MyOffice.Web.Models.Account { using Newtonsoft.Json; using User; public class AccessRightsViewModel { public UserViewModel User { get; set; } = null!; public bool IsAllowRead { get; set; } public bool IsAllowWrite { get; set; } public bool IsAllowManage { get; set; } public bool IsAllowDelete { get; set; } public bool IsOwner { get; set; } #region DEBUG [JsonIgnore] public Guid UserId { get; set; } [JsonIgnore] public Guid OwnerId { get; set; } #endregion DEBUG } }