47 lines
725 B
PHP
47 lines
725 B
PHP
<?php
|
|
/**
|
|
* Logo.php
|
|
* Created by William Schaller
|
|
* Date: 3/19/2015
|
|
* Time: 9:44 PM
|
|
*/
|
|
namespace Doctrine\Tests\Models\Pagination;
|
|
|
|
/**
|
|
* Logo
|
|
*
|
|
* @package Doctrine\Tests\Models\Pagination
|
|
*
|
|
* @Entity
|
|
* @Table(name="pagination_logo")
|
|
*/
|
|
class Logo
|
|
{
|
|
/**
|
|
* @Column(type="integer") @Id
|
|
* @GeneratedValue
|
|
*/
|
|
public $id;
|
|
|
|
/**
|
|
* @Column(type="string")
|
|
*/
|
|
public $image;
|
|
|
|
/**
|
|
* @Column(type="integer")
|
|
*/
|
|
public $image_height;
|
|
|
|
/**
|
|
* @Column(type="integer")
|
|
*/
|
|
public $image_width;
|
|
|
|
/**
|
|
* @OneToOne(targetEntity="Company", inversedBy="logo", cascade={"persist"})
|
|
* @JoinColumn(name="company_id")
|
|
*/
|
|
public $company;
|
|
}
|