1 |
caa28567
|
Vojtěch Bartička
|
using System;
|
2 |
|
|
using System.Collections.Generic;
|
3 |
|
|
using System.ComponentModel.DataAnnotations;
|
4 |
|
|
using System.Linq;
|
5 |
|
|
using System.Text;
|
6 |
b513f9ee
|
Lukáš Vlček
|
using System.Text.Json.Serialization;
|
7 |
caa28567
|
Vojtěch Bartička
|
using System.Threading.Tasks;
|
8 |
cd91f841
|
Vojtěch Bartička
|
using Models.Enums;
|
9 |
caa28567
|
Vojtěch Bartička
|
|
10 |
|
|
namespace Core.Entities
|
11 |
|
|
{
|
12 |
11f447b9
|
Vojtěch Bartička
|
#nullable disable
|
13 |
caa28567
|
Vojtěch Bartička
|
public class User : BaseEntity
|
14 |
|
|
{
|
15 |
|
|
public string Username { get; set; }
|
16 |
b513f9ee
|
Lukáš Vlček
|
|
17 |
|
|
[JsonIgnore]
|
18 |
caa28567
|
Vojtěch Bartička
|
public string Password { get; set; }
|
19 |
|
|
public string Name { get; set; }
|
20 |
|
|
public string Surname { get; set; }
|
21 |
|
|
|
22 |
|
|
public ERole Role { get; set; }
|
23 |
8c9ce202
|
Vojtěch Bartička
|
|
24 |
|
|
public ICollection<FinalAnnotationTag> FinalAnnotationTags { get; set; } = new List<FinalAnnotationTag>();
|
25 |
caa28567
|
Vojtěch Bartička
|
}
|
26 |
b513f9ee
|
Lukáš Vlček
|
}
|