auto.bus_razor/TicketOffice/Models/User.cs

18 lines
444 B
C#

using System.ComponentModel.DataAnnotations;
namespace TicketOffice.Models;
public class User
{
public int Id { get; set; }
public string? FirstName { get; set; }
public string? LastName { get; set; }
public string? Patronymic { get; set; }
public string Email { get; set; }
public string Password { get; set; }
public ICollection<Ticket>? Tickets { get; set; }
public bool IsManager { get; set; }
}