22 lines
494 B
C#
22 lines
494 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Text.Json.Serialization;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace FWLAZ_Web.Data
|
|
{
|
|
public class Answer
|
|
{
|
|
public int Id { get; set; }
|
|
public string Position { get; set; } = null!;
|
|
public string Text { get; set; } = null!;
|
|
public bool IsCorrect { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public virtual Question Question { get; set; } = null!;
|
|
|
|
}
|
|
}
|