StudentTipUpdateDto.cs 813 B

123456789101112131415161718192021222324252627282930
  1. using System.ComponentModel.DataAnnotations;
  2. using Abp.Application.Services.Dto;
  3. using Abp.AutoMapper;
  4. namespace WeApp.BasicInfo.StudentTip.Dto
  5. {
  6. /// <summary>
  7. /// 学员提示信息
  8. /// </summary>
  9. [AutoMapTo(typeof(StudentTipInfo))]
  10. public class StudentTipUpdateDto : EntityDto<string>
  11. {
  12. /// <summary>
  13. /// 简称
  14. /// </summary>
  15. [StringLength(StudentTipInfo.NameMaxLength)]
  16. public string Name { get; set; }
  17. /// <summary>
  18. /// 角色
  19. /// </summary>
  20. [StringLength(StudentTipInfo.RoleNameMaxLength)]
  21. public string RoleName { get; set; }
  22. /// <summary>
  23. /// 内容
  24. /// </summary>
  25. [StringLength(StudentTipInfo.ContentMaxLength)]
  26. public string Content { get; set; }
  27. }
  28. }