using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text; using System.Threading.Tasks; namespace TimetableDesigner.Core { [Serializable] public class Classroom : IUnit { #region FIELDS private string _name; private string _shortName; private string _description; private bool _isCapacityLimited; private uint _capacity; #endregion #region PROPERTIES public string Name { get => _name; set => _name = value; } public string ShortName { get => _shortName; set => _shortName = value; } public string Description { get => _description; set => _description = value; } public bool IsCapacityLimited { get => _isCapacityLimited; set => _isCapacityLimited = value; } public uint Capacity { get => _capacity; set => _capacity = value; } #endregion #region CONSTRUCTORS public Classroom() { _name = string.Empty; _shortName = string.Empty; _description = string.Empty; _isCapacityLimited = false; _capacity = 1; } #endregion } }