<?php

namespace App\Models\Claim;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;

class TerminalIllness extends Model
{
    use HasFactory;

    protected $table = 'terminal_illnesses';

    protected $fillable = [
        'claim_id',

        'applied_advance_payment',
        'permission_confirm_health',
        'provide_ds1500',

        'agree_contact_healthcare',

        'has_medical_ref',
        'medical_reference_number',

        'healthcare_type',
        'healthcare_name',
        'healthcare_place_of_work',
        'healthcare_email',
        'healthcare_phone',
        'healthcare_address_1',
        'healthcare_address_2',
        'healthcare_address_3',
        'healthcare_postcode',
    ];

    use HasFactory;


    public function claim()
    {
        return $this->belongsTo(Claim::class);
    }
}
