|WebsiteShopCategory whereHas($relation, \Closure $callback = null, $operator = '>=', $count = 1) * @method static \Illuminate\Database\Eloquent\Builder|WebsiteShopCategory get($columns = ['*']) */ class WebsiteShopCategory extends Model { use HasFactory; #[\Override] protected $guarded = ['id', 'created_at', 'updated_at']; protected static function newFactory() { return WebsiteShopCategoryFactory::new(); } public function articles(): HasMany { return $this->hasMany(WebsiteShopArticle::class); } }