Project creation, basics
This commit is contained in:
42
TimetableDesigner.Core/Project.cs
Normal file
42
TimetableDesigner.Core/Project.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace TimetableDesigner.Core
|
||||
{
|
||||
[Serializable]
|
||||
public class Project
|
||||
{
|
||||
#region PROPERTIES
|
||||
|
||||
public string Name { get; set; }
|
||||
public string Author { get; set; }
|
||||
public string Description { get; set; }
|
||||
public TimetableTemplate TimetableTemplate { get; set; }
|
||||
public ICollection<Classroom> Classrooms { get; set; }
|
||||
public ICollection<Teacher> Teachers { get; set; }
|
||||
public ICollection<Group> Groups { get; set; }
|
||||
public ICollection<Subgroup> Subgroups { get; set; }
|
||||
public ICollection<Class> Classes { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
#region CONSTRUCTORS
|
||||
|
||||
public Project()
|
||||
{
|
||||
Name = string.Empty;
|
||||
Author = string.Empty;
|
||||
Description = string.Empty;
|
||||
TimetableTemplate = new TimetableTemplate();
|
||||
Classrooms = new List<Classroom>();
|
||||
Teachers = new List<Teacher>();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user