using System; using Abp.AutoMapper; using System.ComponentModel.DataAnnotations; using IwbZero.AppServiceBase; namespace WeApp.BasicInfo.TrainingRole.Dto { /// /// 演练角色信息维护 /// [AutoMapTo(typeof(TrainingRoleInfo))] public class TrainingRoleCreateDto:IwbEntityDto { /// /// 角色名称 /// [Required] [StringLength(TrainingRoleInfo.NameMaxLength)] public string RoleName { get; set; } /// /// 角色描述 /// [StringLength(TrainingRoleInfo.DescriptionMaxLength)] public string Description { get; set; } } }