コード例 #1
0
 public Manager(string name, string surname, DateTime dateOfBirth,
                string identificationNumber, string email, string username, string phone,
                string password, EducationLevel educationLevel, Gender gender,
                string profession, City city, Address currResidence, InsurancePolicy insurancePolicy)
     : base(name, surname, dateOfBirth, identificationNumber, email, username, phone, password,
            educationLevel, gender, profession, city, currResidence, insurancePolicy)
 {
 }
コード例 #2
0
 public Patient(string name, string surname, DateTime dateOfBirth,
                string identificationNumber, string email, string username,
                string password, EducationLevel educationLevel, Gender gender, string phone,
                string profession, City city, Address currResidence, InsurancePolicy insurancePolicy, bool guestAccount)
     : base(name, surname, dateOfBirth, identificationNumber, email, username, phone, password,
            educationLevel, gender, profession, city, currResidence, insurancePolicy)
 {
     IsGuestAccount = guestAccount;
     chosenDoctor   = null;
 }
コード例 #3
0
 public Employee(string name, string surname, DateTime dateOfBirth,
                 string identificationNumber, string email, string username, string phone,
                 string password, EducationLevel educationLevel, Gender gender,
                 string profession, City city, Address currResidence, InsurancePolicy insurancePolicy, string biography)
     : base(name, surname, dateOfBirth, identificationNumber, email, username, phone, password,
            educationLevel, gender, profession, city, currResidence, insurancePolicy)
 {
     VacationLeave    = false;
     CurrentlyWorking = true;
     Biography        = biography;
 }
コード例 #4
0
 public Doctor(string name, string surname, DateTime dateOfBirth,
               string identificationNumber, string email, string username, string phone,
               string password, EducationLevel educationLevel, Gender gender,
               string profession, City city, Address currResidence, InsurancePolicy insurancePolicy, string biography,
               Department department, List <Specialization> specializations, string licenseNumber, Room patientRoom, Room operationRoom)
     : base(name, surname, dateOfBirth, identificationNumber, email, username, phone, password,
            educationLevel, gender, profession, city, currResidence, insurancePolicy, biography)
 {
     LicenseNumber   = licenseNumber;
     Specializations = specializations;
     Department      = department;
     PatientReview   = 0.0;
     OnCall          = false;
     ExaminationRoom = patientRoom;
     OperationRoom   = operationRoom;
 }
コード例 #5
0
 public RegisteredUser(string name, string surname, DateTime dateOfBirth,
                       string identificationNumber, string email, string username, string phone,
                       string password, EducationLevel educationLevel, Gender gender,
                       string profession, City city, Address currResidence, InsurancePolicy insurancePolicy)
 {
     Gender               = gender;
     Name                 = name;
     Surname              = surname;
     DateOfBirth          = dateOfBirth;
     IdentificationNumber = identificationNumber;
     Email                = email;
     Username             = username;
     Password             = password;
     EducationLevel       = educationLevel;
     Profession           = profession;
     PlaceOfBirth         = city;
     CurrResidence        = currResidence;
     InsurancePolicy      = insurancePolicy;
     Phone                = phone;
 }
コード例 #6
0
 public void SetInsurancePolicy(InsurancePolicy policy)
 {
     patient.InsurancePolicy = policy;
 }
コード例 #7
0
 public void SetInsurancePolicy(InsurancePolicy policy)
 {
     manager.InsurancePolicy = policy;
 }
コード例 #8
0
 public void SetInsurancePolicy(InsurancePolicy policy)
 {
     employee.InsurancePolicy = policy;
 }
コード例 #9
0
 public void SetInsurancePolicy(InsurancePolicy policy)
 {
     doctor.InsurancePolicy = policy;
 }