using System;
using System.Collections.Generic;

namespace Reconstruction
{
    public partial class User
    {
        public User()
        {
            TaskAccUsers = new HashSet<Task>();
            TaskCreatorUsers = new HashSet<Task>();
        }

        public int Id { get; set; }
        public string Firstname { get; set; } = null!;
        public string? Lastname { get; set; }
        public string? Middlename { get; set; }
        public string Login { get; set; } = null!;
        public string Password { get; set; } = null!;
        public string? Phone { get; set; }

        public virtual ICollection<Task> TaskAccUsers { get; set; }
        public virtual ICollection<Task> TaskCreatorUsers { get; set; }
    }
}
