//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; }
//------------------------------------------------------------------------------------ //ctor public Employer(int ids = 0, string lastName_ = null, string firstname_ = null, int phone = 0, string adresse_ = null, string compagnyname = null, employerDomain d = employerDomain.MobileProgramation, bool isprivate = false, DateTime cdatecreation = default(DateTime), DateTime dateContractSigned = default(DateTime)) { id = ids; companyName = compagnyname; lastName = lastName_; firstName = firstname_; phoneNumber = phone; adress = adresse_; Domain = d; isPrivate = isprivate;//on part du principe quelle nest pas privé companyDateCreation = cdatecreation; DateContractSigned = dateContractSigned; }