src/Notaris/AdminBundle/Entity/NotaryJobGeneral.php line 12

Open in your IDE?
  1. <?php
  2. namespace Notaris\AdminBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Gedmo\Mapping\Annotation as Gedmo;
  5. use Symfony\Component\Validator\Constraints as Assert;
  6. /**
  7.  * @ORM\Entity(repositoryClass="NotaryJobGeneralRepository")
  8.  * @ORM\Table(name="notary_job_general")
  9.  */
  10. class NotaryJobGeneral {
  11.     /**
  12.      * @var integer
  13.      *
  14.      * @ORM\Column(name="id", type="integer")
  15.      * @ORM\Id
  16.      * @ORM\GeneratedValue(strategy="AUTO")
  17.      */
  18.     private $id;
  19.     /**
  20.      * @Gedmo\Timestampable(on="create")
  21.      * @ORM\Column(name="created", type="datetime")
  22.      */
  23.     private $created;
  24.     /**
  25.      * @ORM\Column(name="updated", type="datetime")
  26.      * @Gedmo\Timestampable(on="update")
  27.      */
  28.     private $updated;
  29.     /**
  30.      * @var string
  31.      *
  32.      * @ORM\Column(name="title", type="string", length=255, nullable=true)
  33.      */
  34.     private $title;
  35.     /**
  36.      * @ORM\Column(type="text", name="description", nullable=true)
  37.      */
  38.     private $description;
  39.     /**
  40.      * @var string
  41.      *
  42.      * @ORM\Column(name="subarea", type="string", length=255, nullable=true)
  43.      */
  44.     private $subarea;
  45.     /**
  46.      * @var integer
  47.      *
  48.      * @ORM\Column(type="integer", name="talentsquare_id")
  49.      */
  50.     private $talentsquareId;
  51.     /**
  52.      * @var integer
  53.      *
  54.      * @ORM\Column(type="integer", name="total")
  55.      */
  56.     private $total;
  57.     /**
  58.      * @var string
  59.      *
  60.      * @ORM\Column(name="locale", type="string", length=5)
  61.      */
  62.     private $locale;
  63.     /**
  64.      * @var string
  65.      *
  66.      * @ORM\Column(name="published_at", type="string", length=255, nullable=true)
  67.      */
  68.     private $publishedAt;
  69.     /**
  70.      * @var string
  71.      *
  72.      * @ORM\Column(name="employer_name", type="string", length=255, nullable=true)
  73.      */
  74.     private $employerName;
  75.     /**
  76.      * @var string
  77.      *
  78.      * @ORM\Column(name="employer_url", type="string", length=255, nullable=true)
  79.      */
  80.     private $employerUrl;
  81.     /**
  82.      * @var string
  83.      *
  84.      * @ORM\Column(name="address", type="string", length=255, nullable=true)
  85.      */
  86.     private $address;
  87.     /**
  88.      * @var string
  89.      *
  90.      * @ORM\Column(name="city", type="string", length=255, nullable=true)
  91.      */
  92.     private $city;
  93.     /**
  94.      * @var string
  95.      *
  96.      * @ORM\Column(name="area", type="string", length=255, nullable=true)
  97.      */
  98.     private $area;
  99.     /**
  100.      * @var string
  101.      *
  102.      * @ORM\Column(name="zip", type="string", length=255, nullable=true)
  103.      */
  104.     private $zip;
  105.     /**
  106.      * @var string
  107.      *
  108.      * @ORM\Column(name="country", type="string", length=255, nullable=true)
  109.      */
  110.     private $country;
  111.     /**
  112.      * Get id
  113.      *
  114.      * @return integer
  115.      */
  116.     public function getId()
  117.     {
  118.         return $this->id;
  119.     }
  120.     /**
  121.      * Set created
  122.      *
  123.      * @param \DateTime $created
  124.      * @return NotaryPeople
  125.      */
  126.     public function setCreated($created)
  127.     {
  128.         $this->created = $created;
  129.         return $this;
  130.     }
  131.     /**
  132.      * Get created
  133.      *
  134.      * @return \DateTime
  135.      */
  136.     public function getCreated()
  137.     {
  138.         return $this->created;
  139.     }
  140.     /**
  141.      * Set updated
  142.      *
  143.      * @param \DateTime $updated
  144.      * @return NotaryJobGeneral
  145.      */
  146.     public function setUpdated($updated)
  147.     {
  148.         $this->updated = $updated;
  149.         return $this;
  150.     }
  151.     /**
  152.      * Get updated
  153.      *
  154.      * @return \DateTime
  155.      */
  156.     public function getUpdated()
  157.     {
  158.         return $this->updated;
  159.     }
  160.     /**
  161.      * Set title
  162.      *
  163.      * @param string $title
  164.      * @return NotaryJobGeneral
  165.      */
  166.     public function setTitle(string $title)
  167.     {
  168.         $this->title = $title;
  169.         return $this;
  170.     }
  171.     /**
  172.      * Get title
  173.      *
  174.      * @return string
  175.      */
  176.     public function getTitle()
  177.     {
  178.         return $this->title;
  179.     }
  180.     /**
  181.      * Set description
  182.      *
  183.      * @param string $description
  184.      * @return NotaryJobGeneral
  185.      */
  186.     public function setDescription(string $description)
  187.     {
  188.         $this->description = $description;
  189.         return $this;
  190.     }
  191.     /**
  192.      * Get description
  193.      *
  194.      * @return string
  195.      */
  196.     public function getDescription()
  197.     {
  198.         return $this->description;
  199.     }
  200.     /**
  201.      * Set locale
  202.      *
  203.      * @param string $locale
  204.      * @return NotaryJobGeneral
  205.      */
  206.     public function setLocale(string $locale)
  207.     {
  208.         $this->locale = $locale;
  209.         return $this;
  210.     }
  211.     /**
  212.      * Get locale
  213.      *
  214.      * @return string
  215.      */
  216.     public function getLocale()
  217.     {
  218.         return $this->locale;
  219.     }
  220.     /**
  221.      * Set subarea
  222.      *
  223.      * @param string $subarea
  224.      * @return NotaryJobGeneral
  225.      */
  226.     public function setSubarea(string $subarea)
  227.     {
  228.         $this->subarea = $subarea;
  229.         return $this;
  230.     }
  231.     /**
  232.      * Get subarea
  233.      *
  234.      * @return string
  235.      */
  236.     public function getSubarea()
  237.     {
  238.         return $this->subarea;
  239.     }
  240.     /**
  241.      * Set talentsquareId
  242.      *
  243.      * @param integer $talentsquareId
  244.      * @return NotaryJobGeneral
  245.      */
  246.     public function setTalentsquareId($talentsquareId)
  247.     {
  248.         $this->talentsquareId = $talentsquareId;
  249.         return $this;
  250.     }
  251.     /** Get talentsquareId
  252.      *
  253.      * @return integer
  254.      */
  255.     public function getTalentsquareId()
  256.     {
  257.         return $this->talentsquareId;
  258.     }
  259.     /**
  260.      * Set total
  261.      *
  262.      * @param integer $total
  263.      * @return NotaryJobGeneral
  264.      */
  265.     public function setTotal(int $total)
  266.     {
  267.         $this->total = $total;
  268.         return $this;
  269.     }
  270.     /** Get total
  271.      *
  272.      * @return integer
  273.      */
  274.     public function getTotal()
  275.     {
  276.         return $this->total;
  277.     }
  278.     public function getPublishedAt(): string
  279.     {
  280.         return $this->publishedAt;
  281.     }
  282.     public function setPublishedAt(string $publishedAt): void
  283.     {
  284.         $this->publishedAt = $publishedAt;
  285.     }
  286.     public function getEmployerName(): string
  287.     {
  288.         return $this->employerName;
  289.     }
  290.     public function setEmployerName(string $employerName): void
  291.     {
  292.         $this->employerName = $employerName;
  293.     }
  294.     public function getEmployerUrl(): string
  295.     {
  296.         return $this->employerUrl;
  297.     }
  298.     public function setEmployerUrl(string $employerUrl): void
  299.     {
  300.         $this->employerUrl = $employerUrl;
  301.     }
  302.     public function getAddress(): string
  303.     {
  304.         return $this->address;
  305.     }
  306.     public function setAddress(string $address): void
  307.     {
  308.         $this->address = $address;
  309.     }
  310.     public function getCity(): string
  311.     {
  312.         return $this->city;
  313.     }
  314.     public function setCity(string $city): void
  315.     {
  316.         $this->city = $city;
  317.     }
  318.     public function getArea(): string
  319.     {
  320.         return $this->area;
  321.     }
  322.     public function setArea(string $area): void
  323.     {
  324.         $this->area = $area;
  325.     }
  326.     public function getZip(): string
  327.     {
  328.         return $this->zip;
  329.     }
  330.     public function setZip(string $zip): void
  331.     {
  332.         $this->zip = $zip;
  333.     }
  334.     public function getCountry(): string
  335.     {
  336.         return $this->country;
  337.     }
  338.     public function setCountry(string $country): void
  339.     {
  340.         $this->country = $country;
  341.     }
  342. }