AppUser.cs
476 bytes
| 1 | using System.ComponentModel.DataAnnotations; |
|---|---|
| 2 | using Base.Contracts; |
| 3 | using Microsoft.AspNetCore.Identity; |
| 4 | |
| 5 | namespace App.Domain.Identity; |
| 6 | |
| 7 | public class AppUser : IdentityUser<Guid>, IBaseEntity |
| 8 | { |
| 9 | [MaxLength(128)] |
| 10 | public string FirstName { get; set; } = ""; |
| 11 | |
| 12 | [MaxLength(128)] |
| 13 | public string LastName { get; set; } = ""; |
| 14 | |
| 15 | public ICollection<AppRefreshToken>? RefreshTokens { get; set; } |
| 16 | public ICollection<TripParticipant>? TripParticipants { get; set; } |
| 17 | } |
| 18 | |