using System.ComponentModel.DataAnnotations; namespace ApplicationHub.Data.EF.Authentication.Entities; public class RightEntity { [Key] public Guid Id { get; set; } [MaxLength(255)] public required string Name { get; set; } public List? Groups { get; set; } }