@ -23,4 +23,9 @@ class Product extends BaseModel
{
return $this->pictures[0] ?? '';
}
public function productInfo()
return $this->hasOne('App\Models\ProductInfo');