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

View File

@@ -165,4 +165,9 @@ class Plan extends Model
// {
// return $this->belongsTo(Corporate::class);
// }
public function benefits()
{
return $this->hasMany(Benefit::class, 'plan_code', 'id');
}
}