예제 #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;
 }
예제 #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;
 }
예제 #3
0
파일: Employee.cs 프로젝트: SAGAaga/Kursuch
 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;
 }
예제 #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);
            }
        }