1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 07:02:34 +01:00
invoiceninja/app/models/InvoiceItem.php
2013-12-04 18:20:14 +02:00

14 lines
192 B
PHP
Executable File

<?php
class InvoiceItem extends EntityModel
{
public function invoice()
{
return $this->belongsTo('Invoice');
}
public function product()
{
return $this->belongsTo('Product');
}
}