inh-01-employees/Employees/OfficeEmployee.cs
github-classroom[bot] b9c04768e7
Initial commit
2025-02-25 16:55:29 +00:00

25 lines
852 B
C#

namespace Employees;
/// <summary>
/// Represents an employee who works at an office
/// </summary>
/// <inheritdoc cref="Employee" />
public class OfficeEmployee : Employee
{
/// <summary>
/// Creates a new employee who works at an office
/// </summary>
/// <param name="name">Name of the employee</param>
/// <param name="gender">Gender of the employee</param>
/// <param name="department">Department of the employee</param>
/// <param name="monthlySalary">Monthly salary of the employee; cannot be negative</param>
public OfficeEmployee(string name, Gender gender, string department,
decimal monthlySalary) : base(name, gender, department)
{
// TODO
}
public override decimal Salary { get; }
public override string ToString() => string.Empty; // TODO
}