GoodNightUserDTO.php 967 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. namespace App\Generated\V1\DTOs;
  3. use Kamicloud\StubApi\Concerns\ValueHelper;
  4. use Kamicloud\StubApi\DTOs\DTO;
  5. use Kamicloud\StubApi\Utils\Constants;
  6. class GoodNightUserDTO extends DTO
  7. {
  8. use ValueHelper;
  9. protected $getLike;
  10. protected $createdAt;
  11. /**
  12. * 获得的赞数
  13. * @return int
  14. */
  15. public function getGetLike()
  16. {
  17. return $this->getLike;
  18. }
  19. /**
  20. * 创建时间
  21. * @return int
  22. */
  23. public function getCreatedAt()
  24. {
  25. return $this->createdAt;
  26. }
  27. public function setGetLike($getLike)
  28. {
  29. $this->getLike = $getLike;
  30. }
  31. public function setCreatedAt($createdAt)
  32. {
  33. $this->createdAt = $createdAt;
  34. }
  35. public function getAttributeMap()
  36. {
  37. return [
  38. ['getLike', 'get_like', 'bail|integer', Constants::INTEGER, null],
  39. ['createdAt', 'created_at', 'bail|integer', Constants::INTEGER, null],
  40. ];
  41. }
  42. }