| using System; | |
| using System.Collections.Generic; | |
| using System.ComponentModel.DataAnnotations; | |
| namespace ContactManagementAPI.Models | |
| { | |
| public class UserGroup | |
| { | |
| public int Id { get; set; } | |
| [] | |
| [] | |
| public string Name { get; set; } = string.Empty; | |
| [] | |
| public string? Description { get; set; } | |
| public DateTime CreatedAt { get; set; } | |
| public ICollection<AppUser> Users { get; set; } = new List<AppUser>(); | |
| public ICollection<GroupRight> GroupRights { get; set; } = new List<GroupRight>(); | |
| } | |
| } | |