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/Entities/User.cs

17 lines
535 B
C#
Raw Normal View History

2023-05-11 23:20:46 +03:00
namespace NG_2023_Kanban.Entities
{
public class User : BaseEntity
{
public string FullName { get; set; }
public string Username { get; set; }
public string Password { get; set; }
public bool IsAdmin { get; set; }
public virtual ICollection<Board>? Boards { get; set; } = new HashSet<Board>();
2023-05-14 19:54:40 +03:00
public virtual ICollection<Card>? Cards { get; set; } = new HashSet<Card>();
2023-05-11 23:20:46 +03:00
public virtual ICollection<Comment>? Comments { get; set; } = new HashSet<Comment>();
}
}