AppUser.cs
438 bytes
| 1 | using System.ComponentModel.DataAnnotations; |
|---|---|
| 2 | using Microsoft.AspNetCore.Identity; |
| 3 | using SplitApp.Shared.Kernel.Domain; |
| 4 | |
| 5 | namespace SplitApp.Modules.Users.Domain.Entities; |
| 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 | } |
| 17 | |