24 lines
No EOL
577 B
C#
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; }
|
|
} |