Projekt

Obecné

Profil

Stáhnout (669 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1
using System;
2
using System.Collections.Generic;
3
using System.ComponentModel.DataAnnotations;
4
using System.Linq;
5
using System.Text;
6
using System.Text.Json.Serialization;
7
using System.Threading.Tasks;
8
using Models.Enums;
9

    
10
namespace Core.Entities
11
{
12
#nullable disable
13
    public class User : BaseEntity
14
    {
15
        public string Username { get; set; }
16

    
17
        [JsonIgnore]
18
        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

    
24
        public ICollection<FinalAnnotationTag> FinalAnnotationTags { get; set; } = new List<FinalAnnotationTag>();
25
    }
26
}
(14-14/14)