1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
using System; using System.Collections.Generic; using Microsoft.AspNetCore.Identity; using System.ComponentModel.DataAnnotations.Schema; namespace ExamTemplate.Data.Models { [Table("Users")] public class User : IdentityUser<Guid> { public string FirstName { get; set; } public string LastName { get; set; } public List<Role> Roles { get; set; } = new List<Role>(); } }