<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
class JobScholasticDuration {
/**
* @var int
*/
private $id;
/**
* @var string
*/
private $durationName;
/**
* @var int
*/
private $position;
/**
* Get id.
*
* @return int
*/
public function getId() {
return $this->id;
}
/**
* Set durationName.
*
* @param string $durationName
*
* @return JobScholasticDuration
*/
public function setDurationName($durationName) {
$this->durationName = $durationName;
return $this;
}
/**
* Get durationName.
*
* @return string
*/
public function getDurationName() {
return $this->durationName;
}
/**
* Set position.
*
* @param int $position
*
* @return JobScholasticDuration
*/
public function setPosition($position) {
$this->position = $position;
return $this;
}
/**
* Get position.
*
* @return int
*/
public function getPosition() {
return $this->position;
}
public function __toString(): string {
return $this->durationName;
}
}