namespace Employees; /// /// Represents an employee of a company /// public abstract class Employee { private readonly string _name = null!; /// /// Creates a new employee /// /// Name of the employee /// Gender of the employee /// Department the employee works at protected Employee(string name, Gender gender, string department) { Name = string.Empty; Gender = Gender.Divers; Department = string.Empty; // TODO } /// /// Gets the name of the employee /// public string Name { get => _name; private init { // TODO } } /// /// Gets the department of the employee /// public string Department { get; } /// /// Gets the gender of the employee /// public Gender Gender { get; } /// /// Gets the salary of the employee /// public abstract decimal Salary { get; } /// /// Creates a string representation of the employee with some basic information /// /// String representation of the employee public override string ToString() { // TODO return string.Empty; } } /// /// Represents the possible genders for an employee /// public enum Gender { Male, Female, Divers }