File size: 404 Bytes
fc06b79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System.ComponentModel.DataAnnotations;

namespace ContactManagementAPI.Models
{
    public class UserRight
    {
        public int Id { get; set; }

        public int AppUserId { get; set; }
        public AppUser? AppUser { get; set; }

        [Required]
        [MaxLength(100)]
        public string RightKey { get; set; } = string.Empty;

        public bool IsGranted { get; set; }
    }
}