Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @Table(name="ge_usuario")
- * @Entity
- */
- class Usuario extends PossuiGrupo {
- /**
- * @var integer
- *
- * @Column(name="numg_usuario", type="integer", nullable=false)
- * @Id
- * @GeneratedValue(strategy="AUTO")
- */
- protected $numgUsuario;
- /**
- * @Entity
- * @Table(name="ge_grupo_usuario")
- */
- class PossuiGrupo extends ModelObject {
- /**
- * @Id
- * @Column(name="numg_usuario", type="integer", nullable=false)
- * @ManyToOne(targetEntity="Usuario")
- */
- protected $usuario;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement