using System;
using System.Collections.Generic;

namespace Agency
{
    public partial class Person
    {
        public Person()
        {
            ListPeople = new HashSet<ListPerson>();
            Passports = new HashSet<Passport>();
        }

        public int IdPerson { get; set; }
        public string? FirstName { get; set; }
        public string? LastName { get; set; }
        public string? MidleName { get; set; }
        public string? Login { get; set; }
        public string? Password { get; set; }
        public string? PhoneNumber { get; set; }

        public virtual ICollection<ListPerson> ListPeople { get; set; }
        public virtual ICollection<Passport> Passports { get; set; }
    }
}
