invoiceninja/app/models/InvoiceItem.php

15 lines
222 B
PHP
Raw Normal View History

2013-11-26 14:45:07 +02:00
<?php
2013-12-04 18:20:14 +02:00
class InvoiceItem extends EntityModel
2013-11-26 14:45:07 +02:00
{
2015-01-11 14:30:08 +02:00
public function invoice()
{
return $this->belongsTo('Invoice');
}
2013-11-26 14:45:07 +02:00
2015-01-11 14:30:08 +02:00
public function product()
{
return $this->belongsTo('Product');
}
}