Change2NewMessage.php 795 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. use App\Generated\V1\DTOs\ChangePartner2NewDTO;
  7. class Change2NewMessage extends Message
  8. {
  9. use ValueHelper;
  10. protected $req;
  11. /**
  12. * 请求数据包
  13. * @return ChangePartner2NewDTO[]|null
  14. */
  15. public function getReq()
  16. {
  17. return $this->req;
  18. }
  19. public function requestRules()
  20. {
  21. return [
  22. ['req', 'req', ChangePartner2NewDTO::class, Constants::MODEL | Constants::OPTIONAL | Constants::ARRAY, null],
  23. ];
  24. }
  25. public function responseRules()
  26. {
  27. return [
  28. ];
  29. }
  30. public function setResponse()
  31. {
  32. }
  33. }