StudentTipCreateDto.cs 803 B

12345678910111213141516171819202122232425262728293031
  1. using System.ComponentModel.DataAnnotations;
  2. using Abp.AutoMapper;
  3. using IwbZero.AppServiceBase;
  4. namespace WeApp.BasicInfo.StudentTip.Dto
  5. {
  6. /// <summary>
  7. /// 学员提示信息
  8. /// </summary>
  9. [AutoMapTo(typeof(StudentTipInfo))]
  10. public class StudentTipCreateDto : IwbEntityDto
  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. }