2023-09-13 00:28:24 -05:00
|
|
|
|
namespace DamageAssesment.Api.Questions.Models
|
2023-08-15 22:52:30 -05:00
|
|
|
|
{
|
2023-09-13 00:28:24 -05:00
|
|
|
|
public class Question: BaseQuestion
|
2023-08-15 22:52:30 -05:00
|
|
|
|
{
|
|
|
|
|
public List<QuestionsTranslation> Questions { get; set; }
|
2023-09-08 14:40:06 -05:00
|
|
|
|
}
|
|
|
|
|
public class BaseQuestion
|
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
2023-08-15 22:52:30 -05:00
|
|
|
|
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; }
|
2023-09-19 23:32:30 -05:00
|
|
|
|
public int SurveyId { get; set; }
|
2023-08-15 22:52:30 -05:00
|
|
|
|
public int CategoryId { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|