Newer
Older

Torsten Oppermann
committed
<?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;
use TYPO3\CMS\Extbase\Persistence\ObjectStorage;

Torsten Oppermann
committed
/**
* The Job model
*/
class Job extends AbstractEntity {
/**
* @var string $title
*/
protected $title = '';
/**

Torsten Oppermann
committed
* @var string $task

Torsten Oppermann
committed
*/

Torsten Oppermann
committed
protected $task = '';
/**
* @var string $qualification
*/
protected $qualification = '';

Torsten Oppermann
committed
/**
* @var int $startDate
*/
protected $startDate = 0;
/**
* @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\SGalinski\SgJobs\Domain\Model\Location> $company

Torsten Oppermann
committed
*/
protected $company = '';
/**
* @var string $title
*/
protected $description = '';
/**
* @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
*/

Torsten Oppermann
committed
public function getTask() {
return $this->task;
}
/**
* @param string $task
*/
public function setTask(string $task) {
$this->task = $task;
}
/**
* @return string
*/
public function getQualification() {
return $this->qualification;

Torsten Oppermann
committed
}
/**

Torsten Oppermann
committed
* @param string $qualification

Torsten Oppermann
committed
*/

Torsten Oppermann
committed
public function setQualification(string $qualification) {
$this->qualification = $qualification;

Torsten Oppermann
committed
}
/**
* @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 ObjectStorage $company

Torsten Oppermann
committed
*/
public function setCompany(ObjectStorage $company) {

Torsten Oppermann
committed
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
$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 getContact() {
return $this->contact;
}
/**
* @param ObjectStorage $contact
*/
public function setContact(ObjectStorage $contact) {
$this->contact = $contact;
}
}