PairApplyListShareHelpMessage.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?php
  2. namespace App\Generated\V1_1\Messages\Share;
  3. use Kamicloud\StubApi\Concerns\ValueHelper;
  4. use Kamicloud\StubApi\Http\Messages\Message;
  5. use Kamicloud\StubApi\Utils\Constants;
  6. class PairApplyListShareHelpMessage extends Message
  7. {
  8. use ValueHelper;
  9. protected $stageId;
  10. protected $shareUid;
  11. protected $lockUid;
  12. /**
  13. * 活动期数
  14. * @return int
  15. */
  16. public function getStageId()
  17. {
  18. return $this->stageId;
  19. }
  20. /**
  21. * 分享用户
  22. * @return int
  23. */
  24. public function getShareUid()
  25. {
  26. return $this->shareUid;
  27. }
  28. /**
  29. * 解锁用户
  30. * @return int
  31. */
  32. public function getLockUid()
  33. {
  34. return $this->lockUid;
  35. }
  36. public function requestRules()
  37. {
  38. return [
  39. ['stageId', 'stage_id', 'bail|integer', Constants::INTEGER, null],
  40. ['shareUid', 'share_uid', 'bail|integer', Constants::INTEGER, null],
  41. ['lockUid', 'lock_uid', 'bail|integer', Constants::INTEGER, null],
  42. ];
  43. }
  44. public function responseRules()
  45. {
  46. return [
  47. ];
  48. }
  49. public function setResponse()
  50. {
  51. }
  52. }