© 2026 Hedgehog Software, LLC
detailUser.name
public function userDetail() { return $this->hasOne(UserDetail::class, 'user_id', 'id'); }
public function user() { return $this->belongsTo(User::class, 'user_id', 'id'); }