26 lines
591 B
PHP
26 lines
591 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* @deprecated Replaced by ServiceAddon.
|
|
* The invoice_addons table has been removed in the billing refactor.
|
|
* Use ServiceAddon for configurable resources attached to a Service.
|
|
*/
|
|
class InvoiceAddons extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $table = 'invoice_addons';
|
|
|
|
protected $guarded = [];
|
|
|
|
public function invoiceItem()
|
|
{
|
|
return $this->belongsTo(InvoiceItem::class, 'invoice_item_id');
|
|
}
|
|
}
|