1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <?php
- namespace App\Generated\V1\Messages\UserHome;
- use Kamicloud\StubApi\Concerns\ValueHelper;
- use Kamicloud\StubApi\Http\Messages\Message;
- use Kamicloud\StubApi\Utils\Constants;
- class GetLikeMeListMessage extends Message
- {
- use ValueHelper;
- protected $page;
- protected $limit;
- protected $result;
- /**
- * 分页(页数)
- * @return int|null
- */
- public function getPage()
- {
- return $this->page;
- }
- /**
- * 每页多少
- * @return int|null
- */
- public function getLimit()
- {
- return $this->limit;
- }
- public function requestRules()
- {
- return [
- ['page', 'page', 'bail|nullable|integer', Constants::INTEGER | Constants::OPTIONAL, null],
- ['limit', 'limit', 'bail|nullable|integer', Constants::INTEGER | Constants::OPTIONAL, null],
- ];
- }
- public function responseRules()
- {
- return [
- ['result', 'result', 'bail', null, null],
- ];
- }
- public function setResponse($result)
- {
- $this->result = $result;
- }
- }
|