using Abp.Application.Services.Dto; using Abp.AutoMapper; using AutoMapper.Configuration.Annotations; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace WeApp.BasicInfo.PhoneQuestion.Dto { /// /// 电话提问维护 /// [AutoMapTo(typeof(PhoneQuestionInfo))] public class PhoneQuestionUpdateDto : EntityDto { /// /// 简称 /// [StringLength(PhoneQuestionInfo.NameMaxLength)] public string Name { get; set; } /// /// 内容 /// [StringLength(PhoneQuestionInfo.ContentMaxLength)] public string Content { get; set; } public int Type { get; set; } /// /// 内容 /// [StringLength(PhoneQuestionInfo.TagMaxLength)] public string Tag { get; set; } [Ignore] public List Answers { get; set; } = new List(); } }