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.

37 lines
931 B

3 months ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace Shentun.Peis.AppointPatientRegisters
  5. {
  6. public class QuestionRegisterItemResultDto
  7. {
  8. /// <summary>
  9. /// 主键
  10. /// </summary>
  11. public Guid QuestionRegisterItemId { get; set; }
  12. /// <summary>
  13. /// 问卷ID
  14. /// </summary>
  15. public Guid QuestionId { get; set; }
  16. /// <summary>
  17. /// 题目
  18. /// </summary>
  19. public string QuestionName { get; set; } = null!;
  20. /// <summary>
  21. /// 显示顺序
  22. /// </summary>
  23. public int DisplayOrder { get; set; }
  24. public List<QuestionRegisterItemResultAnswer> Answers { get; set; } = new List<QuestionRegisterItemResultAnswer>();
  25. }
  26. public class QuestionRegisterItemResultAnswer
  27. {
  28. public string Answer { get; set; }
  29. public int DisplayOrder { get; set; }
  30. }
  31. }