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 |
|
|
using Core.Enums;
|
9 |
|
|
|
10 |
|
|
namespace Core.Entities
|
11 |
|
|
{
|
12 |
|
|
public class User : BaseEntity
|
13 |
|
|
{
|
14 |
|
|
public string Username { get; set; }
|
15 |
b513f9ee
|
Lukáš Vlček
|
|
16 |
|
|
[JsonIgnore]
|
17 |
caa28567
|
Vojtěch Bartička
|
public string Password { get; set; }
|
18 |
|
|
public string Name { get; set; }
|
19 |
|
|
public string Surname { get; set; }
|
20 |
|
|
|
21 |
|
|
public ERole Role { get; set; }
|
22 |
|
|
}
|
23 |
b513f9ee
|
Lukáš Vlček
|
}
|