<?php namespace SGalinski\SgJobs\Domain\Model; /*************************************************************** * Copyright notice * * (c) sgalinski Internet Services (https://www.sgalinski.de) * * All rights reserved * * This script is part of the TYPO3 project. The TYPO3 project is * free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * The GNU General Public License can be found at * http://www.gnu.org/copyleft/gpl.html. * * This script is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * This copyright notice MUST APPEAR in all copies of the script! ***************************************************************/ use TYPO3\CMS\Extbase\DomainObject\AbstractEntity; /** * The Job model */ class Job extends AbstractEntity { /** * @var string $title */ protected $title = ''; /** * @var string $subtitle */ protected $subtitle = ''; /** * @var int $startDate */ protected $startDate = 0; /** * @var string $company */ protected $company = ''; /** * @var string $title */ protected $description = ''; /** * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\SGalinski\SgJobs\Domain\Model\Location> $location */ protected $location; /** * @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\SGalinski\SgJobs\Domain\Model\Contact> $contact */ protected $contact; /** * @return string */ public function getTitle() { return $this->title; } /** * @param string $title */ public function setTitle(string $title) { $this->title = $title; } /** * @return string */ public function getSubtitle() { return $this->subtitle; } /** * @param string $subtitle */ public function setSubtitle(string $subtitle) { $this->subtitle = $subtitle; } /** * @return int */ public function getStartDate() { return $this->startDate; } /** * @param int $startDate */ public function setStartDate(int $startDate) { $this->startDate = $startDate; } /** * @return string */ public function getCompany() { return $this->company; } /** * @param string $company */ public function setCompany(string $company) { $this->company = $company; } /** * @return string */ public function getDescription() { return $this->description; } /** * @param string $description */ public function setDescription(string $description) { $this->description = $description; } /** * @return ObjectStorage */ public function getLocation() { return $this->location; } /** * @param ObjectStorage $location */ public function setLocation(ObjectStorage $location) { $this->location = $location; } /** * @return ObjectStorage */ public function getContact() { return $this->contact; } /** * @param ObjectStorage $contact */ public function setContact(ObjectStorage $contact) { $this->contact = $contact; } }