aboutsummaryrefslogtreecommitdiff
path: root/ExamTemplate/Data/Models/User.cs
blob: cb969427750b670e2f54a6be94d11b494c6a1b8b (plain) (blame)
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>();
	}
}