Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace Doctrine\Tests\ORM\Mapping;
- <Entity("cms_users")>
- <NamedQueries(array(
- <NamedQuery("all", "SELECT u FROM __CLASS__ u")>
- ))>
- class User
- {
- <Id><GeneratedValue>
- <Column("integer")>
- protected $id;
- <Column("string", 50, true)>
- protected $name;
- <Column("string")>
- protected $email;
- <ManyToMany("Doctrine\Tests\ORM\Mapping\Group", null, array("persist", "merge", "remove", "detach", "refresh"))>
- protected $groups;
- }
Add Comment
Please, Sign In to add comment