1
0
oop-1-labs/Lab1/Lab1.TouristInformationCenter/Museum.cs

27 lines
771 B
C#

using System.Collections.Generic;
namespace Lab1.TouristInformationCenter
{
/// <summary>
/// Class used for storing data related a single museum.
/// </summary>
class Museum
{
public string Name { get; set; }
public string City { get; set; }
public string Type { get; set; }
public List<Weekday> Workdays { get; set; }
public double Price { get; set; }
public bool HasGuide { get; set; }
public Museum(string name, string city, string type, List<Weekday> workdays, double price, bool hasGuide)
{
Name = name;
City = city;
Type = type;
Workdays = workdays;
Price = price;
HasGuide = hasGuide;
}
}
}