コード例 #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
ファイル: Job_Seeker.cs プロジェクト: SAGAaga/Kursuch
 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
ファイル: Job_Seeker.cs プロジェクト: SAGAaga/Kursuch
        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);
            }
        }