Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| OneToMany | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | namespace Miniframe\ORM\Annotation; |
| 4 | |
| 5 | /** |
| 6 | * ManyToOne annotation |
| 7 | * |
| 8 | * @Annotation |
| 9 | */ |
| 10 | class OneToMany |
| 11 | { |
| 12 | /** |
| 13 | * Fully qualified classname for the remote entity. |
| 14 | * |
| 15 | * @var object |
| 16 | */ |
| 17 | public $remoteEntityClass; |
| 18 | |
| 19 | /** |
| 20 | * Remote column referencing to the identifier for the current entity (default: name of the entity itself) |
| 21 | * |
| 22 | * @var string |
| 23 | */ |
| 24 | public $remoteJoinProperty; |
| 25 | |
| 26 | /** |
| 27 | * Identifier property of the current entity used for the join (default: the primary key column) |
| 28 | * |
| 29 | * @var string |
| 30 | */ |
| 31 | public $localJoinProperty; |
| 32 | } |