nanosanteservice/app/Models/NhInsurancesHavingRight.php

68 lines
1.5 KiB
PHP
Raw Normal View History

<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
/**
* Class NhInsurancesHavingRight
*
* @property int $id
* @property string $insurance_subscription_id
* @property string $lastname
* @property string|null $firstname
* @property string $gender
* @property Carbon $birthdate
* @property string $affiliation
2021-10-20 13:05:23 +00:00
* @property float $bonus_amount
* @property string|null $birthdate_proof
* @property string|null $birthdate_proof_doc
* @property string|null $justice_doc
* @property string|null $marriage_certificate_doc
* @property string|null $id_document_type
* @property string|null $id_document_front
* @property string|null $id_document_back
* @property string|null $deleted_at
* @property Carbon $created_at
* @property Carbon $updated_at
*
* @package App\Models
*/
class NhInsurancesHavingRight extends Model
{
use SoftDeletes;
protected $table = 'nh_insurances_having_rights';
2021-10-20 13:05:23 +00:00
protected $casts = [
'bonus_amount' => 'float'
];
protected $dates = [
'birthdate'
];
protected $fillable = [
'insurance_subscription_id',
'lastname',
'firstname',
'gender',
'birthdate',
'affiliation',
2021-10-20 13:05:23 +00:00
'bonus_amount',
'birthdate_proof',
'birthdate_proof_doc',
'justice_doc',
'marriage_certificate_doc',
'id_document_type',
'id_document_front',
'id_document_back'
];
}