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