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.BusinessLayer/Models/UserModel.cs
2023-05-19 10:19:18 +03:00

18 lines
639 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.BusinessLayer.Enums;
namespace NG_2023_Kanban.BusinessLayer.Models
{
public class UserModel : BaseModel
{
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<BoardModel>? Boards { get; set; } = new HashSet<BoardModel>();
public virtual ICollection<CardModel>? Cards { get; set; } = new HashSet<CardModel>();
public virtual ICollection<CommentModel>? Comments { get; set; } = new HashSet<CommentModel>();
}
}