CustomMessageDTO.php 657 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. namespace App\Generated\V1_1\DTOs;
  3. use Kamicloud\StubApi\Concerns\ValueHelper;
  4. use Kamicloud\StubApi\DTOs\DTO;
  5. use App\Generated\V1_1\Enums\IMCustomMsgType;
  6. use Kamicloud\StubApi\Utils\Constants;
  7. class CustomMessageDTO extends DTO
  8. {
  9. use ValueHelper;
  10. protected $MsgType;
  11. /**
  12. * @return mixed
  13. */
  14. public function getMsgType()
  15. {
  16. return $this->MsgType;
  17. }
  18. public function setMsgType($MsgType)
  19. {
  20. $this->MsgType = $MsgType;
  21. }
  22. public function getAttributeMap()
  23. {
  24. return [
  25. ['MsgType', 'msg_type', IMCustomMsgType::class, Constants::ENUM, null],
  26. ];
  27. }
  28. }