summaryrefslogtreecommitdiff
path: root/Models/UserAccount.cs
blob: 94ee69bb03b31fd03ffc0b512ea841f87bb93e5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Identity;

namespace BackendPIA.Models {
    public class UserAccount : IdentityUser {
        [StringLength(64)]
        public string? SessionToken { get; set; }
        public string? CurrentToken { get; set; }
        public DateTime? SessionTokenExpiryTime { get; set; }
        public ICollection<Ticket>? Tickets { get; set; }
    }
}