Your IP : 216.73.216.158


Current Path : /var/www/surf/TYPO3/src/surf/Classes/Domain/Model/
Upload File :
Current File : /var/www/surf/TYPO3/src/surf/Classes/Domain/Model/Log.php

<?php

declare(strict_types=1);

namespace Torresani\Surf\Domain\Model;


/**
 * This file is part of the "surf" 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 
 */

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

    /**
     * date
     *
     * @var \DateTime
     */
    protected $date = null;

    /**
     * description
     *
     * @var string
     */
    protected $description = null;

    /**
     * user
     *
     * @var string
     */
    protected $user = null;

    /**
     * type
     *
     * @var string
     */
    protected $type = null;

    /**
     * code
     *
     * @var string
     */
    protected $code = null;

    /**
     * Returns the date
     *
     * @return \DateTime
     */
    public function getDate()
    {
        return $this->date;
    }

    /**
     * Sets the date
     *
     * @param \DateTime $date
     * @return void
     */
    public function setDate(\DateTime $date)
    {
        $this->date = $date;
    }

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

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

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

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

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

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

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

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