1
0
mirror of synced 2025-02-02 21:41:45 +03:00

31 lines
503 B
PHP
Raw Normal View History

<?php
namespace Doctrine\Tests\Models\Pagination;
/**
* Department
*
* @package Doctrine\Tests\Models\Pagination
*
* @author Bill Schaller
* @Entity
* @Table(name="pagination_department")
*/
class Department
{
/**
* @Id @Column(type="integer")
* @GeneratedValue
*/
public $id;
/**
* @Column(type="string")
*/
public $name;
/**
* @ManyToOne(targetEntity="Company", inversedBy="departments", cascade={"persist"})
*/
public $company;
}