public Secretary(string firstName, string middleName, string lastName, string civilNumber, DateTime birthDate, string telephoneNumber, string emailAddress, string country, string city, DateTime registrationDate, ESallaryType sallaryType, decimal sallarySum) : base(firstName, middleName, lastName, civilNumber, birthDate, telephoneNumber, emailAddress, country, city, registrationDate, Enum.Person.ESallaryType.Monthly, sallarySum) { }
protected Client(string firstName, string middleName, string lastName, string civilNumber, DateTime birthDate, string telephoneNumber, string emailAddress, string country, string city, DateTime registrationDate, ESallaryType sallaryType, decimal sallarySum) : base(firstName, middleName, lastName, civilNumber, birthDate, telephoneNumber, emailAddress, country, city, registrationDate, sallaryType, sallarySum) { Client.increaseId++; this.Id = Client.increaseId; }
protected Person(string firstName, string middleName, string lastName, string civilNumber, DateTime birthDate, string telephoneNumber, string emailAddress, string country, string city, DateTime registrationDate, ESallaryType sallaryType, decimal sallarySum) { this.FirstName = firstName; this.MiddleName = middleName; this.LastName = lastName; this.CivilNumber = civilNumber; this.BirthDate = birthDate; this.TelephoneNumber = telephoneNumber; this.EmailAddress = emailAddress; this.Country = country; this.City = city; this.RegistrationDate = registrationDate; this.SallaryType = sallaryType; this.SallarySum = sallarySum; }