mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-13 22:54:25 +01:00
14 lines
192 B
PHP
Executable File
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');
|
|
}
|
|
} |