1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-15 23:52:33 +01:00
invoiceninja/app/models/InvoiceItem.php

14 lines
192 B
PHP
Raw Normal View History

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