<?php

declare(strict_types=1);

namespace Medienreaktor\Courses\Domain\Model;


/**
 * This file is part of the "Courses" Extension for TYPO3 CMS.
 *
 * For the full copyright and license information, please read the
 * LICENSE.txt file that was distributed with this source code.
 *
 * (c) 2023 Matthias Schieber <matthias.schieber@medienreaktor.de>, Medienreaktor
 */

/**
 * Profession
 */
class Profession extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
{

    /**
     * professionId
     *
     * @var int
     */
    protected $professionId = 0;

    /**
     * title
     *
     * @var string
     */
    protected $title = '';

    /**
     * professionYear
     *
     * @var string
     */
    protected $professionYear = '';

    /**
     * Returns the professionId
     *
     * @return int
     */
    public function getProfessionId()
    {
        return $this->professionId;
    }

    /**
     * Sets the professionId
     *
     * @param int $professionId
     * @return void
     */
    public function setProfessionId(int $professionId): void
    {
        $this->professionId = $professionId;
    }

    /**
     * Returns the title
     *
     * @return string
     */
    public function getTitle()
    {
        return $this->title;
    }

    /**
     * Sets the title
     *
     * @param string $title
     * @return void
     */
    public function setTitle(string $title): void
    {
        $this->title = $title;
    }

    /**
     * Returns the professionYear
     *
     * @return string
     */
    public function getProfessionYear()
    {
        return $this->professionYear;
    }

    /**
     * Sets the professionYear
     *
     * @param string $professionYear
     * @return void
     */
    public function setProfessionYear(string $professionYear): void
    {
        $this->professionYear = $professionYear;
    }
}
