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