using Abp.AutoMapper;
using AutoMapper.Configuration.Annotations;
using IwbZero.AppServiceBase;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace WeApp.BasicInfo.PhoneQuestion.Dto
{
///
/// 电话提问维护
///
[AutoMapTo(typeof(PhoneQuestionInfo))]
public class PhoneQuestionCreateDto : IwbEntityDto
{
///
/// 简称
///
[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();
}
}