DamageAssessment_Backend/DamageAssesmentApi/DamageAssesment.Api.Questions/Models/Question.cs
2023-09-08 15:40:06 -04:00

30 lines
836 B
C#

using System.ComponentModel.DataAnnotations;
namespace DamageAssesment.Api.Questions.Models
{
public class MultiLanQuestion: BaseQuestion
{
public MultiLanguage Questions { get; set; }
}
public class Question: BaseQuestion
{
public List<QuestionsTranslation> Questions { get; set; }
}
public class BaseQuestion
{
public int Id { get; set; }
//public int QuestionTypeID { get; set; }
public string TypeText { get; set; } = string.Empty;
public int QuestionNumber { get; set; }
public bool IsRequired { get; set; }
public bool Comment { get; set; }
public bool Key { get; set; }
public int? SurveyId { get; set; }
public int CategoryId { get; set; }
// public int? Survey_SurveyID { get; set; }
}
}