Files
TimetableDesigner/TimetableDesigner.Core/Group.cs

45 lines
829 B
C#
Raw Normal View History

2023-03-12 12:32:26 +01:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TimetableDesigner.Core
{
2023-05-07 17:39:24 +02:00
[Serializable]
public class Group : BaseGroup
2023-03-12 12:32:26 +01:00
{
2023-05-07 17:39:24 +02:00
#region FIELDS
private string _description;
private HashSet<Subgroup> _assignedSubgroups;
#endregion
2023-03-12 12:32:26 +01:00
#region PROPERTIES
2023-05-07 17:39:24 +02:00
public string Description
{
get => _description;
set => _description = value;
}
public ICollection<Subgroup> AssignedSubgroups => _assignedSubgroups;
2023-03-12 12:32:26 +01:00
#endregion
#region CONSTRUCTORS
2023-05-28 17:43:48 +02:00
public Group(ulong id) : base(id)
{
2023-05-07 17:39:24 +02:00
_description = string.Empty;
_assignedSubgroups = new HashSet<Subgroup>();
}
#endregion
2023-03-12 12:32:26 +01:00
}
}