1
0
mirror of synced 2025-01-10 11:07:10 +03:00
doctrine2/tests/Doctrine/Tests/Models/DDC2775/Authorization.php
2013-12-14 19:57:53 +01:00

26 lines
418 B
PHP

<?php
namespace Doctrine\Tests\Models\DDC2775;
/**
* @Entity @Table(name="authorizations")
*/
class Authorization
{
/**
* @Id @Column(type="integer")
* @GeneratedValue
*/
public $id;
/**
* @ManyToOne(targetEntity="User", inversedBy="authorizations")
*/
public $user;
/**
* @ManyToOne(targetEntity="Role", inversedBy="authorizations")
*/
public $role;
}