This repository has been archived on 2024-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
NG_2023_Kanban/NG_2023_Kanban.DataLayer/Entities/User.cs
Stanislav Mykhailenko 90db952f0c
Partially redo roles
2023-05-22 19:52:34 +03:00

16 lines
681 B
C#

namespace NG_2023_Kanban.DataLayer.Entities
{
public class User : BaseEntity
{
public string FullName { get; set; }
public string Username { get; set; }
public string Password { get; set; }
public virtual ICollection<Board>? Boards { get; set; } = new HashSet<Board>();
public virtual ICollection<Card>? CardsAssigned { get; set; } = new HashSet<Card>();
public virtual ICollection<Comment>? Comments { get; set; } = new HashSet<Comment>();
public virtual ICollection<Card>? CardsSent { get; set; } = new HashSet<Card>();
public virtual ICollection<Role>? Roles { get; set; } = new HashSet<Role>();
}
}