src/CoreBundle/Entity/GamificationAnimation.php line 11

Open in your IDE?
  1. <?php
  2. namespace CoreBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * @ORM\Table("gamification_animation")
  6. * @ORM\Entity(repositoryClass="CoreBundle\Entity\GamificationAnimationRepository")
  7. */
  8. class GamificationAnimation
  9. {
  10. /**
  11. * @ORM\Column(name="id", type="integer")
  12. * @ORM\Id
  13. * @ORM\GeneratedValue(strategy="AUTO")
  14. */
  15. private int $id;
  16. /**
  17. * @ORM\Column(name="context", length=16)
  18. */
  19. private string $context;
  20. /**
  21. * @ORM\Column(name="trigger", length=16)
  22. */
  23. private string $trigger;
  24. /**
  25. * @ORM\Column(name="trigger_value")
  26. */
  27. private int $triggerValue;
  28. /**
  29. * @ORM\Column(name="text", length=255)
  30. */
  31. private string $text;
  32. /**
  33. * @ORM\Column(name="animation", length=32)
  34. */
  35. private string $animation;
  36. /**
  37. * @ORM\Column(name="extra_points")
  38. */
  39. private int $extraPoints;
  40. /**
  41. * @ORM\Column(name="priority")
  42. */
  43. private int $priority;
  44. public function getId(): int
  45. {
  46. return $this->id;
  47. }
  48. public function setId(int $id): void
  49. {
  50. $this->id = $id;
  51. }
  52. public function getContext(): string
  53. {
  54. return $this->context;
  55. }
  56. public function setContext(string $context): void
  57. {
  58. $this->context = $context;
  59. }
  60. public function getTrigger(): string
  61. {
  62. return $this->trigger;
  63. }
  64. public function setTrigger(string $trigger): void
  65. {
  66. $this->trigger = $trigger;
  67. }
  68. public function getTriggerValue(): int
  69. {
  70. return $this->triggerValue;
  71. }
  72. public function setTriggerValue(int $triggerValue): void
  73. {
  74. $this->triggerValue = $triggerValue;
  75. }
  76. public function getText(): string
  77. {
  78. return $this->text;
  79. }
  80. public function setText(string $text): void
  81. {
  82. $this->text = $text;
  83. }
  84. public function getAnimation(): string
  85. {
  86. return $this->animation;
  87. }
  88. public function setAnimation(string $animation): void
  89. {
  90. $this->animation = $animation;
  91. }
  92. public function getExtraPoints(): int
  93. {
  94. return $this->extraPoints;
  95. }
  96. public function setExtraPoints(int $extraPoints): void
  97. {
  98. $this->extraPoints = $extraPoints;
  99. }
  100. public function getPriority(): int
  101. {
  102. return $this->priority;
  103. }
  104. public function setPriority(int $priority): void
  105. {
  106. $this->priority = $priority;
  107. }
  108. }