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
2023-05-19 10:19:18 +03:00

18 lines
599 B
C#
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using NG_2023_Kanban.DataLayer.Enums;
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 int Role { get; set; } = (int)Roles.User;
public virtual ICollection<Board>? Boards { get; set; } = new HashSet<Board>();
public virtual ICollection<Card>? Cards { get; set; } = new HashSet<Card>();
public virtual ICollection<Comment>? Comments { get; set; } = new HashSet<Comment>();
}
}