You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3.01-QCM_MuscuMaths/WebApi/Entities/QuestionEntity.cs

22 lines
557 B

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entities
{
public class QuestionEntity
{
public int Id { get; set; }
public string Content { get; set; }
public int difficuty { get; set; }
public int NbFalls { get; set; }
public int IdChapter { get; set; }
[ForeignKey(nameof(AnswerEntity))]
public int IdAnswerGood { get; set; }
}
}