1
0
mirror of synced 2025-01-18 22:41:43 +03:00

37 lines
634 B
PHP
Raw Normal View History

<?php
namespace Doctrine\Tests\Models\Routing;
/**
* @Entity
*/
class RoutingLeg
{
/**
2010-04-10 00:00:36 +02:00
* @Id @generatedValue
* @column(type="integer")
*/
public $id;
/**
2010-04-10 00:00:36 +02:00
* @ManyToOne(targetEntity="RoutingLocation")
* @JoinColumn(name="from_id", referencedColumnName="id")
*/
public $fromLocation;
/**
2010-04-10 00:00:36 +02:00
* @ManyToOne(targetEntity="RoutingLocation")
* @JoinColumn(name="to_id", referencedColumnName="id")
*/
public $toLocation;
/**
* @Column(type="datetime")
*/
public $departureDate;
/**
* @Column(type="datetime")
*/
public $arrivalDate;
}