Advertisement
Guest User

Untitled

a guest
Jul 26th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. /**
  2. * @Table(name="ge_usuario")
  3. * @Entity
  4. */
  5. class Usuario extends PossuiGrupo {
  6.  
  7. /**
  8. * @var integer
  9. *
  10. * @Column(name="numg_usuario", type="integer", nullable=false)
  11. * @Id
  12. * @GeneratedValue(strategy="AUTO")
  13. */
  14. protected $numgUsuario;
  15.  
  16. /**
  17. * @Entity
  18. * @Table(name="ge_grupo_usuario")
  19. */
  20. class PossuiGrupo extends ModelObject {
  21.  
  22. /**
  23. * @Id
  24. * @Column(name="numg_usuario", type="integer", nullable=false)
  25. * @ManyToOne(targetEntity="Usuario")
  26. */
  27. protected $usuario;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement