Ejemplo n.º 1
0
 public Manager(string jmbg, string name, string surname, DateTime dateOfBirth, GenderType gender, City city, string homeAddress, string phone,
                string email, string username, string password, TypeOfQualifications qualifications, DateTime dateOfEmployment)
 {
     Jmbg        = jmbg;
     Name        = name;
     Surname     = surname;
     DateOfBirth = dateOfBirth;
     Gender      = gender;
     if (city != null)
     {
         City        = new City(city);
         CityZipCode = city.ZipCode;
     }
     else
     {
         City        = new City();
         CityZipCode = 0;
     }
     HomeAddress      = homeAddress;
     Phone            = phone;
     Email            = email;
     Username         = username;
     Password         = password;
     Qualifications   = qualifications;
     DateOfEmployment = dateOfEmployment;
 }
Ejemplo n.º 2
0
 public Secretary(string jmbg, string name, string surname, DateTime dateOfBirth, GenderType gender, City city, string homeAddress, string phone,
                  string email, string username, string password, TypeOfQualifications qualifications, DateTime dateOfEmployment)
 {
     this.Jmbg             = jmbg;
     this.Name             = name;
     this.Surname          = surname;
     this.DateOfBirth      = dateOfBirth;
     this.Gender           = gender;
     this.City             = city;
     this.HomeAddress      = homeAddress;
     this.Phone            = phone;
     this.Email            = email;
     this.Username         = username;
     this.Password         = password;
     this.Qualifications   = qualifications;
     this.DateOfEmployment = dateOfEmployment;
 }
Ejemplo n.º 3
0
 public Manager(string jmbg, string name, string surname, DateTime dateOfBirth, GenderType gender, City city, string homeAddress, string phone,
                string email, string username, string password, TypeOfQualifications qualifications, DateTime dateOfEmployment)
 {
     this.Jmbg        = jmbg;
     this.Name        = name;
     this.Surname     = surname;
     this.DateOfBirth = dateOfBirth;
     this.Gender      = gender;
     if (city != null)
     {
         this.City = new City(city);
     }
     else
     {
         this.City = new City();
     }
     this.HomeAddress      = homeAddress;
     this.Phone            = phone;
     this.Email            = email;
     this.Username         = username;
     this.Password         = password;
     this.Qualifications   = qualifications;
     this.DateOfEmployment = dateOfEmployment;
 }