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

25 lines
938 B
C#

namespace Employees;
/// <summary>
/// Represents an employee who is manager of a department
/// </summary>
/// <inheritdoc cref="OfficeEmployee" />
public sealed class Manager : OfficeEmployee
{
/// <summary>
/// Creates a new manager
/// </summary>
/// <param name="name">Name of the manager</param>
/// <param name="gender">Gender of the manager</param>
/// <param name="department">Department of the manager</param>
/// <param name="monthlySalary">Monthly base salary of the manager</param>
public Manager(string name, Gender gender, string department,
decimal monthlySalary) : base(name, gender, department, monthlySalary) { }
/// <summary>
/// Gets the actual salary for the manger, which is higher than the base salary
/// </summary>
public override decimal Salary => -1M; // TODO
public override string ToString() => string.Empty; // TODO
}