src/Aviatur/GeneralBundle/Entity/SeoHeader.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_header")
  8.  * @ORM\Entity(repositoryClass="Aviatur\GeneralBundle\Entity\SeoHeaderRepository")
  9.  */
  10. class SeoHeader
  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="string", length=255, nullable=false)
  24.      */
  25.     private $url;
  26.     /**
  27.      * @var string
  28.      *
  29.      * @ORM\Column(name="title", type="string", length=100, nullable=false)
  30.      */
  31.     private $title;
  32.     /**
  33.      * @var string
  34.      *
  35.      * @ORM\Column(name="description", type="string", length=255, nullable=false)
  36.      */
  37.     private $description null;
  38.     /**
  39.      * @var string
  40.      *
  41.      * @ORM\Column(name="metatitle", type="string", length=100, nullable=false)
  42.      */
  43.     private $metatitle;
  44.     /**
  45.      * @var string
  46.      *
  47.      * @ORM\Column(name="keywords", type="string", length=100, nullable=false)
  48.      */
  49.     private $keywords;
  50.     /**
  51.      * @var \Agency
  52.      *
  53.      * @ORM\ManyToOne(targetEntity="Aviatur\AgencyBundle\Entity\Agency", inversedBy="seoHeader")
  54.      * @ORM\JoinColumns({
  55.      *   @ORM\JoinColumn(name="agency_id", referencedColumnName="id")
  56.      * })
  57.      */
  58.     private $agency;
  59.     /**
  60.      *
  61.      * @ORM\ManyToOne(targetEntity="Aviatur\CustomerBundle\Entity\Customer")
  62.      * @ORM\JoinColumns({
  63.      *   @ORM\JoinColumn(name="customer_id", referencedColumnName="id")
  64.      * })
  65.      */
  66.     private ?\Aviatur\CustomerBundle\Entity\Customer $customer null;
  67.     /**
  68.      * @var \DateTime
  69.      *
  70.      * @ORM\Column(name="creationDate", type="datetime", nullable=false)
  71.      */
  72.     private $creationdate;
  73.     /**
  74.      * @var \DateTime
  75.      *
  76.      * @ORM\Column(name="updateDate", type="datetime", nullable=false)
  77.      */
  78.     private $updatedate;
  79.     /**
  80.      * @var string
  81.      *
  82.      * @ORM\Column(name="ipAddress", type="string", length=255)
  83.      */
  84.     private $ipaddress;
  85.     /**
  86.      * Get id.
  87.      *
  88.      * @return int
  89.      */
  90.     public function getId()
  91.     {
  92.         return $this->id;
  93.     }
  94.     /**
  95.      * Set url.
  96.      *
  97.      * @param string $url
  98.      *
  99.      * @return SeoHeader
  100.      */
  101.     public function setUrl($url)
  102.     {
  103.         $this->url $url;
  104.         return $this;
  105.     }
  106.     /**
  107.      * Get url.
  108.      *
  109.      * @return string
  110.      */
  111.     public function getUrl()
  112.     {
  113.         return $this->url;
  114.     }
  115.     /**
  116.      * Set title.
  117.      *
  118.      * @param string $title
  119.      *
  120.      * @return SeoHeader
  121.      */
  122.     public function setTitle($title)
  123.     {
  124.         $this->title $title;
  125.         return $this;
  126.     }
  127.     /**
  128.      * Get title.
  129.      *
  130.      * @return string
  131.      */
  132.     public function getTitle()
  133.     {
  134.         return $this->title;
  135.     }
  136.     /**
  137.      * Set description.
  138.      *
  139.      * @param string $description
  140.      *
  141.      * @return SeoFlight
  142.      */
  143.     public function setDescription($description)
  144.     {
  145.         $this->description $description;
  146.         return $this;
  147.     }
  148.     /**
  149.      * Get description.
  150.      *
  151.      * @return string
  152.      */
  153.     public function getDescription()
  154.     {
  155.         return $this->description;
  156.     }
  157.     /**
  158.      * Set metatitle.
  159.      *
  160.      * @param string $metatitle
  161.      *
  162.      * @return SeoHeader
  163.      */
  164.     public function setMetatitle($metatitle)
  165.     {
  166.         $this->metatitle $metatitle;
  167.         return $this;
  168.     }
  169.     /**
  170.      * Get metatitle.
  171.      *
  172.      * @return string
  173.      */
  174.     public function getMetatitle()
  175.     {
  176.         return $this->metatitle;
  177.     }
  178.     /**
  179.      * Set keywords.
  180.      *
  181.      * @param string $keywords
  182.      *
  183.      * @return SeoHeader
  184.      */
  185.     public function setKeywords($keywords)
  186.     {
  187.         $this->keywords $keywords;
  188.         return $this;
  189.     }
  190.     /**
  191.      * Get keywords.
  192.      *
  193.      * @return string
  194.      */
  195.     public function getKeywords()
  196.     {
  197.         return $this->keywords;
  198.     }
  199.     /**
  200.      * Set agency.
  201.      *
  202.      * @param \Aviatur\AgencyBundle\Entity\Agency $agency
  203.      *
  204.      * @return SeoHeader
  205.      */
  206.     public function setAgency(\Aviatur\AgencyBundle\Entity\Agency $agency null)
  207.     {
  208.         $this->agency $agency;
  209.         return $this;
  210.     }
  211.     /**
  212.      * Get agency.
  213.      *
  214.      * @return \Aviatur\AgencyBundle\Entity\Agency
  215.      */
  216.     public function getAgency()
  217.     {
  218.         return $this->agency;
  219.     }
  220.     /**
  221.      * Set customer.
  222.      *
  223.      * @param \Aviatur\CustomerBundle\Entity\Customer $customer
  224.      *
  225.      * @return SeoHeader
  226.      */
  227.     public function setCustomer(\Aviatur\CustomerBundle\Entity\Customer $customer null)
  228.     {
  229.         $this->customer $customer;
  230.         return $this;
  231.     }
  232.     /**
  233.      * Get customer.
  234.      *
  235.      * @return \Aviatur\CustomerBundle\Entity\Customer
  236.      */
  237.     public function getCustomer()
  238.     {
  239.         return $this->customer;
  240.     }
  241.     /**
  242.      * Set creationdate.
  243.      *
  244.      * @param \DateTime $creationdate
  245.      *
  246.      * @return SeoHeader
  247.      */
  248.     public function setCreationdate($creationdate)
  249.     {
  250.         $this->creationdate $creationdate;
  251.         return $this;
  252.     }
  253.     /**
  254.      * Get creationdate.
  255.      *
  256.      * @return \DateTime
  257.      */
  258.     public function getCreationdate()
  259.     {
  260.         return $this->creationdate;
  261.     }
  262.     /**
  263.      * Set updatedate.
  264.      *
  265.      * @param \DateTime $updatedate
  266.      *
  267.      * @return SeoHeader
  268.      */
  269.     public function setUpdatedate($updatedate)
  270.     {
  271.         $this->updatedate $updatedate;
  272.         return $this;
  273.     }
  274.     /**
  275.      * Get updatedate.
  276.      *
  277.      * @return \DateTime
  278.      */
  279.     public function getUpdatedate()
  280.     {
  281.         return $this->updatedate;
  282.     }
  283.     /**
  284.      * Set ipaddress.
  285.      *
  286.      * @param string $ipaddress
  287.      *
  288.      * @return SeoHeader
  289.      */
  290.     public function setIpaddress($ipaddress)
  291.     {
  292.         $this->ipaddress $ipaddress;
  293.         return $this;
  294.     }
  295.     /**
  296.      * Get ipaddress.
  297.      *
  298.      * @return string
  299.      */
  300.     public function getIpaddress()
  301.     {
  302.         return $this->ipaddress;
  303.     }
  304. }