Newer
Older

Torsten Oppermann
committed
<?php

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

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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
$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;
}
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
/**
* @return string
*/
public function getArea(): string {
return $this->area;
}
/**
* @param string $area
*/
public function setArea(string $area) {
$this->area = $area;
}
/**
* @return string
*/
public function getFunction(): string {
return $this->function;
}
/**
* @param string $function
*/
public function setFunction(string $function) {
$this->function = $function;
}