src/Aviatur/GeneralBundle/Entity/SeoUrl.php line 14

Open in your IDE?
  1. <?php
  2. namespace Aviatur\GeneralBundle\Entity;
  3. use Aviatur\AgencyBundle\Entity\Agency;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * SeoUrl.
  7.  *
  8.  * @ORM\Table(name="seo_url")
  9.  * @ORM\Entity(repositoryClass="Aviatur\GeneralBundle\Entity\SeoUrlRepository")
  10.  */
  11. class SeoUrl
  12. {
  13.     /**
  14.      * @var int
  15.      *
  16.      * @ORM\Column(name="id", type="integer", nullable=false)
  17.      * @ORM\Id
  18.      * @ORM\GeneratedValue(strategy="IDENTITY")
  19.      */
  20.     private $id;
  21.     /**
  22.      * @var string
  23.      *
  24.      * @ORM\Column(name="url", type="text", nullable=false)
  25.      */
  26.     private $url;
  27.     /**
  28.      * @var string
  29.      *
  30.      * @ORM\Column(name="maskedUrl", type="string", length=100, nullable=false)
  31.      */
  32.     private $maskedurl;
  33.     /**
  34.      * @var string
  35.      *
  36.      * @ORM\Column(name="description", type="string", length=500, nullable=true)
  37.      */
  38.     private $description null;
  39.     /**
  40.      * @var string
  41.      *
  42.      * @ORM\Column(name="shortDescription", type="string", length=500, nullable=true)
  43.      */
  44.     private $shortdescription null;
  45.     /**
  46.      * @var Agency
  47.      *
  48.      * @ORM\ManyToOne(targetEntity="Aviatur\AgencyBundle\Entity\Agency", inversedBy="seoUrl")
  49.      * @ORM\JoinColumns({
  50.      *   @ORM\JoinColumn(name="agency_id", referencedColumnName="id")
  51.      * })
  52.      */
  53.     private $agency;
  54.     /**
  55.      *
  56.      * @ORM\ManyToOne(targetEntity="Aviatur\CustomerBundle\Entity\Customer", inversedBy="seoUrl")
  57.      * @ORM\JoinColumns({
  58.      *   @ORM\JoinColumn(name="customer_id", referencedColumnName="id")
  59.      * })
  60.      */
  61.     private ?\Aviatur\CustomerBundle\Entity\Customer $customer null;
  62.     /**
  63.      * @var \DateTime
  64.      *
  65.      * @ORM\Column(name="creationDate", type="datetime", nullable=false)
  66.      */
  67.     private $creationdate;
  68.     /**
  69.      * @var \DateTime
  70.      *
  71.      * @ORM\Column(name="updateDate", type="datetime", nullable=false)
  72.      */
  73.     private $updatedate;
  74.     /**
  75.      * @var string
  76.      *
  77.      * @ORM\Column(name="ipAddress", type="string", length=255)
  78.      */
  79.     private $ipaddress;
  80.     /**
  81.      * Get id.
  82.      *
  83.      * @return int
  84.      */
  85.     public function getId()
  86.     {
  87.         return $this->id;
  88.     }
  89.     /**
  90.      * Set url.
  91.      *
  92.      * @param string $url
  93.      *
  94.      * @return SeoFlight
  95.      */
  96.     public function setUrl($url)
  97.     {
  98.         $this->url $url;
  99.         return $this;
  100.     }
  101.     /**
  102.      * Get url.
  103.      *
  104.      * @return string
  105.      */
  106.     public function getUrl()
  107.     {
  108.         return $this->url;
  109.     }
  110.     /**
  111.      * Set maskedurl.
  112.      *
  113.      * @param string $maskedurl
  114.      *
  115.      * @return SeoFlight
  116.      */
  117.     public function setMaskedurl($maskedurl)
  118.     {
  119.         $this->maskedurl $maskedurl;
  120.         return $this;
  121.     }
  122.     /**
  123.      * Get maskedurl.
  124.      *
  125.      * @return string
  126.      */
  127.     public function getMaskedurl()
  128.     {
  129.         return $this->maskedurl;
  130.     }
  131.     /**
  132.      * Get description.
  133.      *
  134.      * @return string
  135.      */
  136.     public function getDescription()
  137.     {
  138.         return $this->description;
  139.     }
  140.     /**
  141.      * Set description.
  142.      *
  143.      * @param string $description
  144.      *
  145.      * @return SeoFlight
  146.      */
  147.     public function setDescription($description)
  148.     {
  149.         $this->description $description;
  150.         return $this;
  151.     }
  152.     /**
  153.      * Get shortdescription.
  154.      *
  155.      * @return string
  156.      */
  157.     public function getShortdescription()
  158.     {
  159.         return $this->shortdescription;
  160.     }
  161.     /**
  162.      * Set shortdescription.
  163.      *
  164.      * @param string $shortdescription
  165.      *
  166.      * @return SeoFlight
  167.      */
  168.     public function setShortdescription($shortdescription)
  169.     {
  170.         $this->shortdescription $shortdescription;
  171.         return $this;
  172.     }
  173.     /**
  174.      * Set agency.
  175.      *
  176.      * @param \Aviatur\AgencyBundle\Entity\Agency $agency
  177.      *
  178.      * @return SeoUrl
  179.      */
  180.     public function setAgency(\Aviatur\AgencyBundle\Entity\Agency $agency null)
  181.     {
  182.         $this->agency $agency;
  183.         return $this;
  184.     }
  185.     /**
  186.      * Get agency.
  187.      *
  188.      * @return \Aviatur\AgencyBundle\Entity\Agency
  189.      */
  190.     public function getAgency()
  191.     {
  192.         return $this->agency;
  193.     }
  194.     /**
  195.      * Set customer.
  196.      *
  197.      * @param \Aviatur\CustomerBundle\Entity\Customer $customer
  198.      *
  199.      * @return SeoUrl
  200.      */
  201.     public function setCustomer(\Aviatur\CustomerBundle\Entity\Customer $customer null)
  202.     {
  203.         $this->customer $customer;
  204.         return $this;
  205.     }
  206.     /**
  207.      * Get customer.
  208.      *
  209.      * @return \Aviatur\CustomerBundle\Entity\Customer
  210.      */
  211.     public function getCustomer()
  212.     {
  213.         return $this->customer;
  214.     }
  215.     /**
  216.      * Set creationdate.
  217.      *
  218.      * @param \DateTime $creationdate
  219.      *
  220.      * @return SeoUrl
  221.      */
  222.     public function setCreationdate($creationdate)
  223.     {
  224.         $this->creationdate $creationdate;
  225.         return $this;
  226.     }
  227.     /**
  228.      * Get creationdate.
  229.      *
  230.      * @return \DateTime
  231.      */
  232.     public function getCreationdate()
  233.     {
  234.         return $this->creationdate;
  235.     }
  236.     /**
  237.      * Set updatedate.
  238.      *
  239.      * @param \DateTime $updatedate
  240.      *
  241.      * @return SeoUrl
  242.      */
  243.     public function setUpdatedate($updatedate)
  244.     {
  245.         $this->updatedate $updatedate;
  246.         return $this;
  247.     }
  248.     /**
  249.      * Get updatedate.
  250.      *
  251.      * @return \DateTime
  252.      */
  253.     public function getUpdatedate()
  254.     {
  255.         return $this->updatedate;
  256.     }
  257.     /**
  258.      * Set ipaddress.
  259.      *
  260.      * @param string $ipaddress
  261.      *
  262.      * @return SeoUrl
  263.      */
  264.     public function setIpaddress($ipaddress)
  265.     {
  266.         $this->ipaddress $ipaddress;
  267.         return $this;
  268.     }
  269.     /**
  270.      * Get ipaddress.
  271.      *
  272.      * @return string
  273.      */
  274.     public function getIpaddress()
  275.     {
  276.         return $this->ipaddress;
  277.     }
  278. }