Example #1
0
 public User(string userID, string name, string email, string password, DateTime dateOfBirth, string phoneNumber, decimal hourly_wage, int userTypeID, Address address, Job_Type job, Branch branch, List <Skill> skillList)
 {
     UserID      = userID;
     Name        = name;
     Email       = email;
     Password    = password;
     DateOfBirth = dateOfBirth;
     PhoneNumber = phoneNumber;
     Address     = address;
     Job         = job;
     Hourly_wage = hourly_wage;
     Branch      = branch;
     UserTypeID  = userTypeID;
     SkillList   = skillList;
 }
Example #2
0
 public Employer(string userID, string name, string email, string password, DateTime dateOfBirth, string phoneNumber, int userTypeID, decimal hourly_wage, Address address, Job_Type job, Branch branch, List <Skill> skillList, List <Vacancy> listVacancies) : base(userID, name, email, password, dateOfBirth, phoneNumber, hourly_wage, userTypeID, address, job, branch, skillList)
 {
     UserID        = userID;
     Name          = name;
     Email         = email;
     Password      = password;
     DateOfBirth   = dateOfBirth;
     PhoneNumber   = phoneNumber;
     Address       = address;
     Job           = job;
     Hourly_wage   = hourly_wage;
     Branch        = branch;
     UserTypeID    = userTypeID;
     SkillList     = skillList;
     ListVacancies = listVacancies;
 }
Example #3
0
 public Employee(string name, string email, string password, DateTime dateOfBirth, string phoneNumber, decimal hourly_wage, int userTypeID, Address address, Job_Type job, Branch branch, List <Skill> skillList, List <Availability> availabilityList, List <Vacancy> listAppliedJobs) : base("null", name, email, password, dateOfBirth, phoneNumber, hourly_wage, userTypeID, address, job, branch, skillList)
 {
     Name             = name;
     Email            = email;
     Password         = password;
     DateOfBirth      = dateOfBirth;
     PhoneNumber      = phoneNumber;
     Address          = address;
     Job              = job;
     Hourly_wage      = hourly_wage;
     Branch           = branch;
     UserTypeID       = userTypeID;
     SkillList        = skillList;
     AvailabilityList = availabilityList;
     ListAppliedJobs  = listAppliedJobs;
 }
Example #4
0
 public User(string name, string email, string password, DateTime dateOfBirth, string phoneNumber, decimal hourly_wage, Address address, Job_Type job, List <int> skillList)
 {
     UserID      = "null";
     Name        = name;
     Email       = email;
     Password    = password;
     DateOfBirth = dateOfBirth;
     PhoneNumber = phoneNumber;
     Address     = address;
     Job         = job;
     Hourly_wage = hourly_wage;
     Branch      = new Branch(1);
     UserTypeID  = 1;
     SkillList   = new List <Skill>();
     foreach (int item in skillList)
     {
         SkillList.Add(new Skill(item));
     }
 }