Kursanlage und bearbeitung

This commit is contained in:
2020-06-09 13:52:25 +02:00
parent cb5acd12eb
commit 6a49e1b8f7
7 changed files with 204 additions and 8 deletions

View File

@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
@@ -8,9 +9,13 @@ namespace MultipleChoiceTrainer.Models.DataModels
public class Section
{
public int Id { get; set; }
[Display(Name = "Name")]
public string Name { get; set; }
[Display(Name = "Beschreibung")]
public string Description { get; set; }
public Category Category { get; set; }
public int CategoryId { get; set; }