ex-col-04-training/waiting_room/WaitingRoom/Patient.cs
github-classroom[bot] 3723fffef2
Initial commit
2025-01-02 16:34:36 +00:00

24 lines
No EOL
577 B
C#

namespace WaitingRoom;
/// <summary>
/// Represents a patient waiting to be treated by a doctor
/// </summary>
public sealed class Patient
{
// TODO ctor
/// <summary>
/// Gets the name of the patient
/// </summary>
public string Name { get; }
/// <summary>
/// Gets date and time the patient arrived at the doctor's office
/// </summary>
public DateTime Arrival { get; }
/// <summary>
/// Gets or sets if this patient is an emergency case
/// </summary>
public bool IsEmergency { get; set; }
}