[WIP] Claims

This commit is contained in:
R
2022-12-07 17:29:48 +07:00
parent aac9fcf58b
commit 7d8a60f207
10 changed files with 984 additions and 659 deletions

View File

@@ -62,6 +62,11 @@ class Claim extends Model
});
}
public function files()
{
return $this->morphMany(File::class, 'fileable');
}
public function member()
{
return $this->belongsTo(Member::class, 'member_id');