update backend claim history hospital

This commit is contained in:
2023-10-27 09:28:08 +07:00
parent a53a546f1f
commit 63af52cb85
10 changed files with 317 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?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');
}
}