Skip to content

Commit

Permalink
Participant > Guest
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiHog committed Apr 3, 2024
1 parent ab4e40c commit 142fb22
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ProjectB/Tour.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
using ProjectB.Models;
class Tour
{
public DateTime Time { get; set; } // Time of the tour
public string Location { get; set; } // Location of the tour
public int Capacity { get; set; } // Maximum capacity of the tour
public ICollection<Participant> Participants { get; set; } // Collection of participants signed up for the tour
public ICollection<Guest> Participants { get; set; } // Collection of participants signed up for the tour

public Tour(DateTime time, string location, int capacity)
{
Time = time;
Location = location;
Capacity = capacity;
Participants = new List<Participant>(); // Initialize participant collection
Participants = new List<Guest>(); // Initialize participant collection
}
}

0 comments on commit 142fb22

Please sign in to comment.