using System.ComponentModel.DataAnnotations; namespace GamificationService.Models.Database; public class Right { [Key] public long Id { get; set; } [Required] [StringLength(50)] public string Name { get; set; } = null!; [StringLength(100)] public string? Description { get; set; } public List RoleRights { get; set; } = new List(); }