SysRoleGroupInput.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using YBEE.EQM.Core;
  2. namespace YBEE.EQM.Application
  3. {
  4. /// <summary>
  5. /// 添加角色组参数
  6. /// </summary>
  7. public class AddSysRoleGroupInput
  8. {
  9. /// <summary>
  10. /// 角色组名称
  11. /// </summary>
  12. [Required(ErrorMessage = "角色组名称不能为空"), StringLength(200, MinimumLength = 1, ErrorMessage = "长度1-200位")]
  13. public string Name { get; set; }
  14. /// <summary>
  15. /// 备注
  16. /// </summary>
  17. public string Remark { get; set; }
  18. }
  19. /// <summary>
  20. /// 更新角色组参数
  21. /// </summary>
  22. public class UpdateSysRoleGroupInput : BaseId
  23. {
  24. /// <summary>
  25. /// 角色组名称
  26. /// </summary>
  27. [Required(ErrorMessage = "角色组名称不能为空"), StringLength(200, MinimumLength = 1, ErrorMessage = "长度1-200位")]
  28. public string Name { get; set; }
  29. /// <summary>
  30. /// 备注
  31. /// </summary>
  32. public string Remark { get; set; }
  33. }
  34. /// <summary>
  35. /// 删除角色组参数
  36. /// </summary>
  37. public class DeleteSysRoleGroupInput : BaseId { }
  38. }