Erster Entwurf DataModel;

This commit is contained in:
2020-06-03 23:11:47 +02:00
parent a15eb0585a
commit 30d2822891
5 changed files with 91 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MultipleChoiceTrainer.Models.DataModels
{
public class Category
{
public int Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public ICollection<Section> Sections { get; set; } = new HashSet<Section>();
}
}