using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Identity; namespace Server.Models; public class User : IdentityUser { [Required(ErrorMessage = "First Name is required")] public string FirstName { get; set; } = null!; [Required(ErrorMessage = "Last Name is required")] public string LastName { get; set; } = null!; [Required(ErrorMessage = "Patronymic is required")] public string Patronymic { get; set; } = null!; public IList RefreshTokens { get; set; } = null!; public virtual IList TicketGroups { get; set; } = null!; public virtual IList Reviews { get; set; } = null!; }