World.php 666 B

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