src/Entity/MobuppsTeams.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. * @ORM\Entity(repositoryClass="App\Repository\MobuppsTeamsRepository")
  6. * @ORM\Table
  7. */
  8. class MobuppsTeams{
  9. /**
  10. * @ORM\Column(type="integer")
  11. * @ORM\Id
  12. * @ORM\GeneratedValue(strategy="AUTO")
  13. */
  14. private $id;
  15. /**
  16. * @ORM\Column(type="string", nullable=false)
  17. */
  18. private $name;
  19. /**
  20. * @ORM\Column(type="string", nullable=true)
  21. */
  22. private $addedByEmail;
  23. /**
  24. * @ORM\Column(type="datetime")
  25. */
  26. private $dateUpdated;
  27. /**
  28. * @ORM\Column(type="datetime")
  29. */
  30. private $dateInserted;
  31. /**
  32. * Get id.
  33. *
  34. * @return int
  35. */
  36. public function getId()
  37. {
  38. return $this->id;
  39. }
  40. /**
  41. * Set name.
  42. *
  43. * @param string $name
  44. *
  45. * @return MobuppsTeams
  46. */
  47. public function setName($name)
  48. {
  49. $this->name = $name;
  50. return $this;
  51. }
  52. /**
  53. * Get name.
  54. *
  55. * @return string
  56. */
  57. public function getName()
  58. {
  59. return $this->name;
  60. }
  61. /**
  62. * Set addedByEmail.
  63. *
  64. * @param string|null $addedByEmail
  65. *
  66. * @return MobuppsTeams
  67. */
  68. public function setAddedByEmail($addedByEmail = null)
  69. {
  70. $this->addedByEmail = $addedByEmail;
  71. return $this;
  72. }
  73. /**
  74. * Get addedByEmail.
  75. *
  76. * @return string|null
  77. */
  78. public function getAddedByEmail()
  79. {
  80. return $this->addedByEmail;
  81. }
  82. /**
  83. * Set dateUpdated.
  84. *
  85. * @param \DateTime $dateUpdated
  86. *
  87. * @return MobuppsTeams
  88. */
  89. public function setDateUpdated($dateUpdated)
  90. {
  91. $this->dateUpdated = $dateUpdated;
  92. return $this;
  93. }
  94. /**
  95. * Get dateUpdated.
  96. *
  97. * @return \DateTime
  98. */
  99. public function getDateUpdated()
  100. {
  101. return $this->dateUpdated;
  102. }
  103. /**
  104. * Set dateInserted.
  105. *
  106. * @param \DateTime $dateInserted
  107. *
  108. * @return MobuppsTeams
  109. */
  110. public function setDateInserted($dateInserted)
  111. {
  112. $this->dateInserted = $dateInserted;
  113. return $this;
  114. }
  115. /**
  116. * Get dateInserted.
  117. *
  118. * @return \DateTime
  119. */
  120. public function getDateInserted()
  121. {
  122. return $this->dateInserted;
  123. }
  124. }