| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- using System;
- using Abp.AutoMapper;
- using Abp.Application.Services.Dto;
- using System.ComponentModel.DataAnnotations;
- using WeOnlineApp.Configuration;
- namespace WeOnlineApp.Question.Dto
- {
-
- /// <summary>
- /// 问题
- /// </summary>
- [AutoMapTo(typeof(QuestionInfo))]
- public class QuestionUpdateDto: EntityDto<string>
- {
-
- /// <summary>
- /// 课程类型
- /// </summary>
- [Required]
- [StringLength(IwbConsts.PrimaryKey)]
- public string SubjectCategoryNo { get; set; }
- [StringLength(IwbConsts.PrimaryKey)]
- public string CampNo { get; set; }
- /// <summary>
- /// 问题标题
- /// </summary>
- [Required]
- [StringLength(QuestionInfo.TitleLength)]
- public string Title { get; set; }
-
- /// <summary>
- /// 问题内容
- /// </summary>
- [Required]
- [StringLength(QuestionInfo.ContentLength)]
- public string ContentInfo { get; set; }
-
- /// <summary>
- /// 问题状态
- /// </summary>
- public int QuestionState { get; set; }
-
- /// <summary>
- /// 解答时间
- /// </summary>
- public DateTime? AnswerDateTime { get; set; }
- }
- }
|