blob: ecd7af86529c0214f24c5682fb1d575ea1b1fa12 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
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 override string UserName
{
get => base.UserName;
set => base.UserName = value;
}
public string FirstName { get; set; }
public string LastName { get; set; }
public string ProfilePicture { get; set; }
public virtual List<Role> Roles { get; set; }
//public List<User> Friends { get; set; }
}
}
|