48 lines
913 B
PHP
48 lines
913 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* Created by Reliese Model.
|
||
|
*/
|
||
|
|
||
|
namespace App\Models;
|
||
|
|
||
|
use Carbon\Carbon;
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
/**
|
||
|
* Class NhExam
|
||
|
*
|
||
|
* @property int $id
|
||
|
* @property int $act_id
|
||
|
* @property string $description
|
||
|
* @property int $quantity
|
||
|
* @property float $unit_price
|
||
|
* @property float $insured_paid_amount
|
||
|
* @property float $insurer_paid_amount
|
||
|
* @property Carbon $created_at
|
||
|
* @property Carbon $updated_at
|
||
|
*
|
||
|
* @package App\Models
|
||
|
*/
|
||
|
class NhExam extends Model
|
||
|
{
|
||
|
protected $table = 'nh_exams';
|
||
|
|
||
|
protected $casts = [
|
||
|
'act_id' => 'int',
|
||
|
'quantity' => 'int',
|
||
|
'unit_price' => 'float',
|
||
|
'insured_paid_amount' => 'float',
|
||
|
'insurer_paid_amount' => 'float'
|
||
|
];
|
||
|
|
||
|
protected $fillable = [
|
||
|
'act_id',
|
||
|
'description',
|
||
|
'quantity',
|
||
|
'unit_price',
|
||
|
'insured_paid_amount',
|
||
|
'insurer_paid_amount'
|
||
|
];
|
||
|
}
|