Changes in core, HTML export added

This commit is contained in:
2023-05-28 17:43:48 +02:00
Unverified
parent 7fc6fc6229
commit 93cc11bd01
23 changed files with 165 additions and 103 deletions

View File

@@ -8,11 +8,10 @@ using System.Threading.Tasks;
namespace TimetableDesigner.Core
{
[Serializable]
public class Classroom : IUnit
public class Classroom : Unit
{
#region FIELDS
private string _name;
private string _shortName;
private string _description;
private bool _isCapacityLimited;
@@ -24,11 +23,6 @@ namespace TimetableDesigner.Core
#region PROPERTIES
public string Name
{
get => _name;
set => _name = value;
}
public string ShortName
{
get => _shortName;
@@ -56,9 +50,8 @@ namespace TimetableDesigner.Core
#region CONSTRUCTORS
public Classroom()
public Classroom(ulong id) : base(id)
{
_name = string.Empty;
_shortName = string.Empty;
_description = string.Empty;
_isCapacityLimited = false;