public Case(int caseId, int clientId, int lawyerId, ESpecialization caseType, DateTime startDate, double totalCharges) { CaseId = caseId; ClientId = clientId; CaseType = caseType; StartDate = startDate; TotalCharges = totalCharges; LawyerId = lawyerId; }
public Client(int clientId, string firstName, string lastName, ESpecialization caseType, string street, int zipCode, string city) { ClientId = clientId; FirstName = firstName; LastName = lastName; CaseType = caseType; Street = street; ZipCode = zipCode; City = city; }
/// <summary> /// /// </summary> /// <param name="name"></param> /// <param name="scale"></param> /// <param name="commander"></param> /// <param name="specialization"></param> /// <param name="constituentFormations">substituted with an empty array if null</param> /// <param name="faction"></param> public Formation( string name, EFormationScale scale, Officer commander, ESpecialization specialization, Formation[] constituentFormations, Faction faction) { Name = name ?? throw new ArgumentNullException(nameof(name)); Scale = scale; Commander = commander ?? throw new ArgumentNullException(nameof(commander)); Specialization = specialization; _constituentFormations = constituentFormations.EmptyIfNull(); Faction = faction ?? throw new ArgumentNullException(nameof(faction)); }
public Lawyer(int id, string firstName, string lastName, DateTime dob, int seniority, ESpecialization specializationArea, DateTime dateJoined) : base(id, firstName, lastName, dateJoined) { DoB = dob; Seniority = seniority; SpecializationArea = specializationArea; }