2021-10-19 14:35:01 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Created by Reliese Model.
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
use Carbon\Carbon;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
2021-11-12 05:08:03 +00:00
|
|
|
use Illuminate\Database\Eloquent\Relations\Pivot;
|
2021-10-19 14:35:01 +00:00
|
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Class NhInsurancesHavingRight
|
|
|
|
*
|
|
|
|
* @property int $id
|
2021-11-12 05:08:03 +00:00
|
|
|
* @property int $insurance_subscription_id
|
|
|
|
* @property int $insurance_id
|
|
|
|
* @property int $having_right_id
|
|
|
|
* @property Carbon $deleted_at
|
2021-10-19 14:35:01 +00:00
|
|
|
* @property Carbon $created_at
|
|
|
|
* @property Carbon $updated_at
|
|
|
|
*
|
|
|
|
* @package App\Models
|
|
|
|
*/
|
2021-11-12 05:08:03 +00:00
|
|
|
class NhInsurancesHavingRight extends Pivot
|
2021-10-19 14:35:01 +00:00
|
|
|
{
|
|
|
|
use SoftDeletes;
|
|
|
|
|
|
|
|
protected $table = 'nh_insurances_having_rights';
|
|
|
|
|
|
|
|
protected $dates = [
|
|
|
|
'birthdate'
|
|
|
|
];
|
|
|
|
|
|
|
|
protected $fillable = [
|
|
|
|
'insurance_subscription_id',
|
2021-11-12 05:08:03 +00:00
|
|
|
'insurance_id',
|
|
|
|
'having_right_id',
|
2021-10-19 14:35:01 +00:00
|
|
|
];
|
|
|
|
}
|