generated from karsten.jeppesen/KAJE-Template
Quizzer-8: Migrating to .NET 10
This commit is contained in:
27
Quizzer-8/Quizzer/Models/Quizz.cs
Normal file
27
Quizzer-8/Quizzer/Models/Quizz.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using Dapper.Contrib.Extensions;
|
||||
|
||||
namespace Quizzer.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// QuizzID identifies the quizz
|
||||
/// Owner teacher
|
||||
/// Class Who gets this test
|
||||
/// Descr Text to present to the student
|
||||
/// </summary>
|
||||
public class Quizz
|
||||
{
|
||||
[Key]
|
||||
public string QuizzId { get; set; }
|
||||
public string Owner { get; set; }
|
||||
public string Class { get; set; }
|
||||
public string Category { get; set; }
|
||||
public string Descr { get; set; }
|
||||
public bool Anonymous { get; set; }
|
||||
public int QSize { get; set; }
|
||||
}
|
||||
|
||||
public class QuizzDN : Quizz
|
||||
{
|
||||
public string CategoryText { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user