16 lines
No EOL
343 B
C#
16 lines
No EOL
343 B
C#
namespace WaitingRoom;
|
|
|
|
/// <summary>
|
|
/// Represents a node which holds patient data and can be linked with other
|
|
/// nodes to form the waiting queue
|
|
/// </summary>
|
|
public sealed class Node
|
|
{
|
|
public Patient Data { get; }
|
|
public Node? Next { get; set; }
|
|
|
|
public Node(Patient patient)
|
|
{
|
|
Data = patient;
|
|
}
|
|
} |