Пример #1
0
 //ctor
 public Specialization(int id            = 0, expertiseDomain expertise = 0
                       , double MinTarif = 0, double MaxTarif           = 0, employerDomain employerdomain = default(employerDomain))
 {
     specializationNumber = id;
     ExpertiseDomain      = expertise;
     minTarif             = MinTarif;
     maxTarif             = MaxTarif;
     EmployerDomain       = employerdomain;
 }
Пример #2
0
 //ctor
 public Contract(double BrutSalary      = 0, double NetSalary = 0, City city_s        = City.Jerusalem, DateTime companyDateCreations = default(DateTime),
                 bool isSigned_         = false, int Id       = 0, bool DoInterview_s = false, int EmployeeId = 0, int EmployerId = 0,
                 expertiseDomain domain = expertiseDomain.MobileProgramation, int HourPerWeeks = 0, DateTime JobbBegins = default(DateTime),
                 DateTime jobbEndsup    = default(DateTime), double comission = 0)
 {
     brutSalary          = BrutSalary;
     netSalary           = NetSalary;
     city                = city_s;
     companyDateCreation = companyDateCreations;
     contractIsSigned    = isSigned_;
     contractNumber      = Id;
     doInterview         = DoInterview_s;
     employeeId          = EmployeeId;
     employerId          = EmployerId;
     Domain              = domain;
     jobBegins           = JobbBegins;
     jobEndsup           = jobbEndsup;
     hourPerWeek         = HourPerWeeks;
     Commission          = comission;
 }