RemindComplementCardMessage.php 941 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?php
  2. namespace App\Generated\V1\Messages\UserHome;
  3. use Kamicloud\StubApi\Concerns\ValueHelper;
  4. use Kamicloud\StubApi\Http\Messages\Message;
  5. use Kamicloud\StubApi\Utils\Constants;
  6. use App\Generated\V1\Enums\RemindNoticeType;
  7. class RemindComplementCardMessage extends Message
  8. {
  9. use ValueHelper;
  10. protected $remind_uid;
  11. protected $type;
  12. /**
  13. * @return int
  14. */
  15. public function getRemind_uid()
  16. {
  17. return $this->remind_uid;
  18. }
  19. /**
  20. * @return mixed
  21. */
  22. public function getType()
  23. {
  24. return $this->type;
  25. }
  26. public function requestRules()
  27. {
  28. return [
  29. ['remind_uid', 'remind_uid', 'bail|integer', Constants::INTEGER, null],
  30. ['type', 'type', RemindNoticeType::class, Constants::ENUM, null],
  31. ];
  32. }
  33. public function responseRules()
  34. {
  35. return [
  36. ];
  37. }
  38. public function setResponse()
  39. {
  40. }
  41. }