diff --git a/app/Models/Product.php b/app/Models/Product.php index 175c79b..e61bf25 100644 --- a/app/Models/Product.php +++ b/app/Models/Product.php @@ -23,4 +23,9 @@ class Product extends BaseModel { return $this->pictures[0] ?? ''; } + + public function productInfo() + { + return $this->hasOne('App\Models\ProductInfo'); + } }