1
0
mirror of synced 2025-01-31 04:21:44 +03:00
2015-03-24 00:25:12 +00:00

42 lines
663 B
PHP

<?php
namespace Doctrine\Tests\Models\Pagination;
/**
* Logo
*
* @package Doctrine\Tests\Models\Pagination
*
* @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;
}