Ejemplo n.º 1
0
 }                                    //был ли приказ просмотрен
 //и было ли принято решение
 public Order(Job_Seeker seeker, Vacancy vac)
 {
     this.Seeker = new Job_Seeker(seeker);
     Vacancy     = vac;
     Is_Approved = false;
     Is_Cheked   = false;
     Employee    = null;
     Date        = DateTime.Now;
 }
Ejemplo n.º 2
0
 public Job_Seeker(Job_Seeker seeker)
 {
     Pasport_Id  = seeker.Pasport_Id;;
     First_Name  = seeker.First_Name;
     Second_Name = seeker.Second_Name;
     Aducation   = seeker.Aducation;
     Speciality  = seeker.Speciality;
     Birthday    = seeker.Birthday;
     Password    = seeker.Password;
 }
Ejemplo n.º 3
0
 public Employee(Job_Seeker hum, Vacancy vac)
 {
     Salaries            = new List <double>();
     Date_Salary_Changed = new List <DateTime>();
     this.Pasport_Id     = hum.Pasport_Id;
     this.First_Name     = hum.First_Name;
     this.Second_Name    = hum.Second_Name;
     this.Aducation      = hum.Aducation;
     this.Speciality     = hum.Speciality;
     this.Birthday       = hum.Birthday;
     this.Password       = hum.Password;
     this.Position       = vac.Position;
     this.Salary         = vac.Salary;
     Change_Salary(this.Salary);
     this.Date_Start = DateTime.Now;
 }
Ejemplo n.º 4
0
        public override bool Equals(object obj)
        {
            if (obj == null || this.GetType() != obj.GetType())
            {
                return(false);
            }
            Job_Seeker h = (Job_Seeker)obj;

            if (Pasport_Id == h.Pasport_Id &&
                First_Name == h.First_Name &&
                Second_Name == h.Second_Name &&
                Birthday == h.Birthday &&
                Password == h.Password)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }