1
0
mirror of synced 2025-01-31 12:32:59 +03:00

42 lines
663 B
PHP
Raw Normal View History

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