source: ChapterX.Domain/Entities/User.cs@ 99c1e45

main
Last change on this file since 99c1e45 was 877c13c, checked in by kikisrbinoska <srbinoskakristina07@…>, 4 months ago

Added files

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[877c13c]1using ChapterX.Domain.Shared;
2using System;
3using System.Collections.Generic;
4using System.Linq;
5using System.Text;
6using System.Threading.Tasks;
7
8namespace ChapterX.Domain.Entities
9{
10 public class User : IEntity
11 {
12 public int Id { get; set; }
13 public string Username { get; set; } = string.Empty;
14 public string Email { get; set; } = string.Empty;
15 public string Name { get; set; } = string.Empty;
16 public string Surname { get; set; } = string.Empty;
17 public string Password { get; set; } = string.Empty;
18 public DateTime CreatedAt { get; set; }
19 public DateTime UpdatedAt { get; set; }
20
21 public Admin? Admin { get; set; }
22 public RegularUser? RegularUser { get; set; }
23 public Writer? Writer { get; set; }
24 public ICollection<ReadingList> ReadingLists { get; set; } = [];
25 public ICollection<Likes> Likes { get; set; } = [];
26 public ICollection<Comment> Comments { get; set; } = [];
27 public ICollection<Collaboration> Collaborations { get; set; } = [];
28 public ICollection<Notify> Notifies { get; set; } = [];
29
30
31
32 }
33}
Note: See TracBrowser for help on using the repository browser.