<?php/** * Copyright (c) 2001-present X-Cart Holdings LLC. All rights reserved. * See https://www.x-cart.com/license-agreement.html for license details. */namespace NovaHorizons\Redirects\Model;use Doctrine\ORM\Mapping as ORM;/** * @ORM\Entity (repositoryClass="\NovaHorizons\Redirects\Model\Repo\Redirect") * @ORM\Table (name="redirect") */class Redirect extends \XLite\Model\AEntity{ /** * @ORM\Id * @ORM\GeneratedValue (strategy="AUTO") * @ORM\Column (type="integer") */ protected $id; /** * @ORM\Column (type="boolean") */ protected $enabled = true; /** * @ORM\Column (type="string") */ protected $path = ''; /** * @ORM\Column (type="string") */ protected $target = ''; /** * @return mixed */ public function getId() { return $this->id; } /** * @param mixed $id * @return static */ public function setId($id) { $this->id = $id; return $this; } /** * @return mixed */ public function getEnabled() { return $this->enabled; } /** * @param mixed $enabled * @return static */ public function setEnabled($enabled) { $this->enabled = $enabled; return $this; } /** * @return mixed */ public function getPath() { return $this->path; } /** * @param mixed $path * @return static */ public function setPath($path) { $this->path = $path; return $this; } /** * @return mixed */ public function getTarget() { return $this->target; } /** * @param mixed $target * @return static */ public function setTarget($target) { $this->target = $target; return $this; }}