2015-03-19 21:59:15 -04:00
|
|
|
<?php
|
|
|
|
namespace Doctrine\Tests\Models\Pagination;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Logo
|
|
|
|
*
|
|
|
|
* @package Doctrine\Tests\Models\Pagination
|
|
|
|
*
|
2015-03-20 12:28:55 -04:00
|
|
|
* @Author Bill Schaller
|
2015-03-19 21:59:15 -04:00
|
|
|
* @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;
|
|
|
|
}
|