Guest User

Untitled

a guest
Dec 11th, 2017
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. <?php
  2.  
  3. namespace Doctrine\Tests\ORM\Mapping;
  4.  
  5. <Entity("cms_users")>
  6. <NamedQueries(array(
  7. <NamedQuery("all", "SELECT u FROM __CLASS__ u")>
  8. ))>
  9. class User
  10. {
  11. <Id><GeneratedValue>
  12. <Column("integer")>
  13. protected $id;
  14.  
  15. <Column("string", 50, true)>
  16. protected $name;
  17.  
  18. <Column("string")>
  19. protected $email;
  20.  
  21. <ManyToMany("Doctrine\Tests\ORM\Mapping\Group", null, array("persist", "merge", "remove", "detach", "refresh"))>
  22. protected $groups;
  23. }
Add Comment
Please, Sign In to add comment