| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- using Abp.AutoMapper;
- using AutoMapper.Configuration.Annotations;
- using IwbZero.AppServiceBase;
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations;
- namespace WeApp.BasicInfo.PhoneQuestion.Dto
- {
- /// <summary>
- /// 电话提问维护
- /// </summary>
- [AutoMapTo(typeof(PhoneQuestionInfo))]
- public class PhoneQuestionCreateDto : IwbEntityDto
- {
- /// <summary>
- /// 简称
- /// </summary>
- [StringLength(PhoneQuestionInfo.NameMaxLength)]
- public string Name { get; set; }
- /// <summary>
- /// 内容
- /// </summary>
- [StringLength(PhoneQuestionInfo.ContentMaxLength)]
- public string Content { get; set; }
- public int Type { get; set; }
- /// <summary>
- /// 内容
- /// </summary>
- [StringLength(PhoneQuestionInfo.TagMaxLength)]
- public string Tag { get; set; }
- [Ignore]
- public List<PhoneAnswerDto> Answers { get; set; } = new List<PhoneAnswerDto>();
- }
- }
|