This commit is contained in:
R
2022-11-23 13:16:24 +07:00
parent f7d8759a76
commit d5b43d9896
5 changed files with 203 additions and 0 deletions

26
app/Models/Claim.php Normal file
View File

@@ -0,0 +1,26 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Claim extends Model
{
use HasFactory;
protected $fillable = [
'code',
'member_id',
'diagnosis_id',
'total_claim',
'currency',
'plan_id',
'benefit_id',
];
public function member()
{
return $this->belongsTo(Member::class, 'member_id');
}
}