Created
March 29, 2016 05:31
-
-
Save ABM-Dan/47575e5a2187f6ed3c6d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// AccountingInvoiceItem Entity | |
/** | |
* Transactions used to pay for this invoice item. | |
* | |
* @var AccountingTransaction[] | |
* | |
* @ORM\OneToMany(targetEntity="CommonBundle\Entity\AccountingTransaction", mappedBy="invoice_item", cascade={"persist"}) | |
*/ | |
private $transactions; | |
// AccountingTransaction Entity | |
/** | |
* Related invoice line. | |
* | |
* @var AccountingInvoiceItem | |
* | |
* @ORM\ManyToOne(targetEntity="CommonBundle\Entity\AccountingInvoiceItem", inversedBy="transactions", cascade={"persist"}) | |
*/ | |
private $invoice_item; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment