Changes in core, HTML export added

This commit is contained in:
2023-05-30 20:44:39 +02:00
Unverified
parent 93cc11bd01
commit d9b0e69f7c
10 changed files with 574 additions and 7 deletions

View File

@@ -0,0 +1,48 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace TimetableDesigner.Core
{
[Serializable]
public abstract class Unit
{
#region FIELDS
private ulong _id;
private Guid _guid;
private string _name;
#endregion
#region PROPERTIES
public ulong Id => _id;
public Guid Guid => _guid;
public string Name
{
get => _name;
set => _name = value;
}
#endregion
#region CONSTRUCTORS
public Unit(ulong id)
{
_id = id;
_guid = Guid.NewGuid();
_name = string.Empty;
}
#endregion
}
}