aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Data/Models/User.cs
blob: fd0ee7b4790701445be6bc6d0e955f0e7df97f1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.AspNetCore.Identity;

namespace DevHive.Data.Models
{
	[Table("Users")]
	public class User : IdentityUser<Guid>, IModel
	{
		public string FirstName { get; set; }

		public string LastName { get; set; }

		public string ProfilePicture { get; set; }

		public virtual IList<Role> Roles { get; set; }

		//public List<User> Friends { get; set; }
	}
}