Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class ProjectTipItem extends Model
- {
- public function tip(): BelongsTo
- {
- return $this->belongsTo(ProjectTip::class,
- 'id', 'tip_id');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement