using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Work29
{
    public class User
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Surname { get; set; }
        public string Patronimyc { get; set; }
        public string Login { get; set; }
        public string Password { get; set; }
        public string Phone { get; set; }
        public virtual List<Task> UserCreateds { get; set; }
        public virtual List<Task> UserAccepteds { get; set; }
        public override string ToString() => $"ID - {Id}, Name - {Name}, Surname - {Surname}, " +
            $"\nPatronimyc - {Patronimyc}, Login - {Login}, Password - {Password}, Phone - {Phone}.";
        public static User a_user { get; set; }
    }
}
