generated from karsten.jeppesen/KAJE-Template
28 lines
688 B
C#
28 lines
688 B
C#
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; }
|
|
}
|
|
}
|