1
0
mirror of synced 2025-03-12 23:59:05 +03:00
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;
}