PhoneAnswerDto.cs 846 B

12345678910111213141516171819202122232425262728293031323334
  1. using Abp.AutoMapper;
  2. using IwbZero.AppServiceBase;
  3. using System.ComponentModel.DataAnnotations;
  4. namespace WeApp.BasicInfo.PhoneQuestion.Dto
  5. {
  6. [AutoMapTo(typeof(PhoneAnswerInfo)), AutoMapFrom(typeof(PhoneAnswerInfo))]
  7. public class PhoneAnswerDto : IwbEntityDto<int>
  8. {
  9. /// <summary>
  10. /// 内容
  11. /// </summary>
  12. [MaxLength(PhoneAnswerInfo.ContentMaxLength)]
  13. public string Content { get; set; }
  14. /// <summary>
  15. /// 关键字
  16. /// </summary>
  17. [MaxLength(PhoneAnswerInfo.KeywordMaxLength)]
  18. public string Keywords { get; set; }
  19. /// <summary>
  20. /// 答案类型
  21. /// </summary>
  22. public int Type { get; set; }
  23. /// <summary>
  24. /// 培训营
  25. /// </summary>
  26. public string QuestionNo { get; set; }
  27. }
  28. }