43 lines
740 B
PHP
43 lines
740 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* Created by Reliese Model.
|
||
|
*/
|
||
|
|
||
|
namespace App\Models;
|
||
|
|
||
|
use Carbon\Carbon;
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
/**
|
||
|
* Class NhInsurance
|
||
|
*
|
||
|
* @property int $id
|
||
|
* @property string $insurance_subscription_id
|
||
|
* @property string $insured_id
|
||
|
* @property Carbon|null $start_at
|
||
|
* @property Carbon|null $end_at
|
||
|
* @property string $state
|
||
|
* @property Carbon $created_at
|
||
|
* @property Carbon $updated_at
|
||
|
*
|
||
|
* @package App\Models
|
||
|
*/
|
||
|
class NhInsurance extends Model
|
||
|
{
|
||
|
protected $table = 'nh_insurances';
|
||
|
|
||
|
protected $dates = [
|
||
|
'start_at',
|
||
|
'end_at'
|
||
|
];
|
||
|
|
||
|
protected $fillable = [
|
||
|
'insurance_subscription_id',
|
||
|
'insured_id',
|
||
|
'start_at',
|
||
|
'end_at',
|
||
|
'state'
|
||
|
];
|
||
|
}
|