World.php 693 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?php
  2. namespace models;
  3. #[\AllowDynamicProperties]
  4. class World {
  5. /**
  6. *
  7. * @id
  8. * @column("name"=>"id","nullable"=>false,"dbType"=>"int(11)")
  9. */
  10. public $id;
  11. /**
  12. *
  13. * @column("name"=>"randomNumber","nullable"=>false,"dbType"=>"int(11)")
  14. */
  15. public $randomNumber;
  16. /**
  17. *
  18. * @return mixed
  19. */
  20. public function getId() {
  21. return $this->id;
  22. }
  23. /**
  24. *
  25. * @return mixed
  26. */
  27. public function getRandomNumber() {
  28. return $this->randomNumber;
  29. }
  30. /**
  31. *
  32. * @param mixed $id
  33. */
  34. public function setId($id) {
  35. $this->id = $id;
  36. }
  37. /**
  38. *
  39. * @param mixed $randomNumber
  40. */
  41. public function setRandomNumber($randomNumber) {
  42. $this->randomNumber = $randomNumber;
  43. }
  44. }