2021-11-04 17:07:15 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Created by Reliese Model.
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
use Carbon\Carbon;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Class NhInsurancesPayment
|
|
|
|
*
|
|
|
|
* @property int $id
|
2021-11-10 10:42:05 +00:00
|
|
|
* @property string $insurance_subscription_id
|
2021-11-04 17:07:15 +00:00
|
|
|
* @property string $insured_id
|
|
|
|
* @property float $amount
|
2021-11-10 10:42:05 +00:00
|
|
|
* @property string $reason
|
|
|
|
* @property string $insurance_details
|
2021-11-04 17:07:15 +00:00
|
|
|
* @property Carbon $created_at
|
|
|
|
* @property Carbon $updated_at
|
|
|
|
*
|
|
|
|
* @package App\Models
|
|
|
|
*/
|
|
|
|
class NhInsurancesPayment extends Model
|
|
|
|
{
|
|
|
|
protected $table = 'nh_insurances_payments';
|
|
|
|
|
|
|
|
protected $casts = [
|
|
|
|
'amount' => 'float'
|
|
|
|
];
|
|
|
|
|
|
|
|
protected $fillable = [
|
2021-11-10 10:42:05 +00:00
|
|
|
'insurance_subscription_id',
|
2021-11-04 17:07:15 +00:00
|
|
|
'insured_id',
|
2021-11-10 10:42:05 +00:00
|
|
|
'amount',
|
|
|
|
'reason',
|
|
|
|
'insurance_details'
|
2021-11-04 17:07:15 +00:00
|
|
|
];
|
|
|
|
}
|