Erster Entwurf DataModel;
This commit is contained in:
16
MultipleChoiceTrainer/Models/DataModels/Category.cs
Normal file
16
MultipleChoiceTrainer/Models/DataModels/Category.cs
Normal 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>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user