User.php 466 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace Ddeboer\DataImport\Tests\Fixtures\Entity;
  3. /**
  4. * @Entity()
  5. */
  6. class User
  7. {
  8. /** @Id @GeneratedValue @Column(type="integer") **/
  9. private $id;
  10. /** @Column(type="string") */
  11. private $username;
  12. public function getId()
  13. {
  14. return $this->id;
  15. }
  16. public function getUsername()
  17. {
  18. return $this->username;
  19. }
  20. public function setUsername($username)
  21. {
  22. $this->username = $username;
  23. }
  24. }