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

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