hasOne(User::class, 'id', 'user_id'); } public function storeOrder() { return $this->hasMany(StoreOrder::class, 'id', 'store_order_id'); } }