osb/app/Models/InvoiceItemTax.php

26 lines
467 B
PHP
Raw Normal View History

2018-05-20 12:53:14 +00:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
2020-04-01 12:35:06 +00:00
use App\Traits\NextKey;
use App\Traits\PushNew;
2018-05-20 12:53:14 +00:00
class InvoiceItemTax extends Model
{
2020-04-01 12:35:06 +00:00
use NextKey,PushNew;
const RECORD_ID = 'invoice_item_tax';
public $incrementing = FALSE;
2018-05-20 12:53:14 +00:00
protected $table = 'ab_invoice_item_tax';
2020-04-01 12:35:06 +00:00
const CREATED_AT = 'date_orig';
const UPDATED_AT = NULL;
public $dateFormat = 'U';
2018-05-20 12:53:14 +00:00
public function invoice_item()
{
return $this->belongsTo(InvoiceItem::class);
}
}