using System; using System.Collections.Generic; using Abp.AutoMapper; using Abp.Application.Services.Dto; using WeOnlineApp.TrainingCamp; namespace WeOnlineApp.Question.Dto { /// /// 问题 /// [AutoMapTo(typeof(QuestionInfo)),AutoMapFrom(typeof(QuestionInfo))] public class QuestionDto: EntityDto { /// /// 课程类型 /// public string SubjectCategoryNo { get; set; } public string SubjectCategoryName { get; set; } /// /// 课程 /// public CampInfo Camp { get; set; } public string CampName { get; set; } /// /// 问题标题 /// public string Title { get; set; } /// /// 问题内容 /// public string ContentInfo { get; set; } public bool IsFavorite { get; set; } /// /// 问题状态 /// public int? QuestionState { get; set; } /// /// 解答时间 /// public DateTime? AnswerDateTime { get; set; } public List< AnswerDto> Answers { get; set; } public long? CreatorUserId { get; set; } } }