UnSelectPartnerMessage.php 736 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. namespace App\Generated\V1\Messages\AdminPartner;
  3. use Kamicloud\StubApi\Concerns\ValueHelper;
  4. use Kamicloud\StubApi\Http\Messages\Message;
  5. use Kamicloud\StubApi\Utils\Constants;
  6. class UnSelectPartnerMessage extends Message
  7. {
  8. use ValueHelper;
  9. protected $partnerId;
  10. /**
  11. * 卡片id
  12. * @return int|null
  13. */
  14. public function getPartnerId()
  15. {
  16. return $this->partnerId;
  17. }
  18. public function requestRules()
  19. {
  20. return [
  21. ['partnerId', 'partner_id', 'bail|nullable|integer', Constants::INTEGER | Constants::OPTIONAL, null],
  22. ];
  23. }
  24. public function responseRules()
  25. {
  26. return [
  27. ];
  28. }
  29. public function setResponse()
  30. {
  31. }
  32. }