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');
|
|
|
|
}
|
|
|
|
}
|