NavUser.php 370 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace Doctrine\Tests\Models\Navigation;
  3. /**
  4. * @Entity
  5. * @Table(name="navigation_users")
  6. */
  7. class NavUser
  8. {
  9. /**
  10. * @Id
  11. * @Column(type="integer")
  12. * @generatedValue
  13. */
  14. private $id;
  15. /**
  16. * @column(type="string")
  17. */
  18. private $name;
  19. public function __construct($name)
  20. {
  21. $this->name = $name;
  22. }
  23. }