29 lines
530 B
PHP
Executable File
29 lines
530 B
PHP
Executable File
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class DiagnosisSecondaryClaimHistoryCare extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $table = 'diagnosis_secondary_claim_history_care';
|
|
|
|
protected $fillable = [
|
|
'claim_history_care_id',
|
|
'icd_id',
|
|
];
|
|
|
|
protected $hidden = [
|
|
'created_at',
|
|
'updated_at',
|
|
];
|
|
|
|
public function icd()
|
|
{
|
|
return $this->belongsTo(Icd::class, 'icd_id');
|
|
}
|
|
}
|