AnswerDto.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using System;
  2. using System.Collections.Generic;
  3. using Abp.AutoMapper;
  4. using Castle.MicroKernel.Registration;
  5. using IwbZero.AppServiceBase;
  6. namespace WeOnlineApp.Question.Dto
  7. {
  8. [AutoMapTo(typeof(QuestionAnswerInfo)),AutoMapFrom(typeof(QuestionAnswerInfo))]
  9. public class AnswerDto: IwbEntityDto
  10. {
  11. public string AnswerNo { get; set; }
  12. public string QuestionNo { get; set; }
  13. /// <summary>
  14. /// 答案状态
  15. /// </summary>
  16. public int? AnswerState { get; set; }
  17. /// <summary>
  18. /// 回答内容
  19. /// </summary>
  20. public string ContentInfo { get; set; }
  21. public int ChildrenCount { get; set; }
  22. public string UserName { get; set; }
  23. public string RealName { get; set; }
  24. public string ImagePath { get; set; }
  25. public DateTime CreationTime { get; set; }
  26. }
  27. public class QueryChildAnswerDto
  28. {
  29. public string AnswerNo { get; set; }
  30. public string QuestionNo { get; set; }
  31. public int? Skip { get; set; }
  32. public int? Take { get; set; }
  33. }
  34. }