55 lines
1.0 KiB
PHP
55 lines
1.0 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Created by Reliese Model.
|
|
*/
|
|
|
|
namespace App\Models;
|
|
|
|
use Carbon\Carbon;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* Class NhInvoice
|
|
*
|
|
* @property int $id
|
|
* @property string $invoice_id
|
|
* @property int $network_agent_id
|
|
* @property float $amount
|
|
* @property float $insured_amount
|
|
* @property float $insurer_amount
|
|
* @property Carbon $period_start_at
|
|
* @property Carbon $period_end_at
|
|
* @property string|null $file_url
|
|
* @property Carbon $created_at
|
|
* @property Carbon $updated_at
|
|
*
|
|
* @package App\Models
|
|
*/
|
|
class NhInvoice extends Model
|
|
{
|
|
protected $table = 'nh_invoices';
|
|
|
|
protected $casts = [
|
|
'network_agent_id' => 'int',
|
|
];
|
|
|
|
protected $dates = [
|
|
'period_start_at',
|
|
'period_end_at'
|
|
];
|
|
|
|
protected $fillable = [
|
|
'invoice_id',
|
|
'network_agent_id',
|
|
'amount',
|
|
'insured_amount',
|
|
'insurer_amount',
|
|
'period_start_at',
|
|
'period_end_at',
|
|
'file_url',
|
|
'created_at',
|
|
'updated_at'
|
|
];
|
|
}
|