| Current Path : /proc/thread-self/root/var/www/surf/TYPO3/src/surf/Classes/Domain/Model/ |
| Current File : //proc/thread-self/root/var/www/surf/TYPO3/src/surf/Classes/Domain/Model/Delivery.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 Roberto Torresani <roberto@torresani.eu>
*/
/**
* Delivery
*/
class Delivery extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
{
/**
* name
*
* @var string
*/
protected $name = null;
/**
* date
*
* @var \DateTime
*/
protected $date = null;
/**
* status
*
* @var int
*/
protected $status = 0;
/**
* code
*
* @var string
*/
protected $code = '';
/**
* store
*
* @var \Torresani\Surf\Domain\Model\Store
*/
protected $store = null;
/**
* Returns the name
*
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Sets the name
*
* @param string $name
* @return void
*/
public function setName(string $name)
{
$this->name = $name;
}
/**
* 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 status
*
* @return int
*/
public function getStatus()
{
return $this->status;
}
/**
* Sets the status
*
* @param int $status
* @return void
*/
public function setStatus(int $status)
{
$this->status = $status;
}
/**
* 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;
}
/**
* Returns the store
*
* @return \Torresani\Surf\Domain\Model\Store
*/
public function getStore()
{
return $this->store;
}
/**
* Sets the store
*
* @param \Torresani\Surf\Domain\Model\Store $store
* @return void
*/
public function setStore(\Torresani\Surf\Domain\Model\Store $store)
{
$this->store = $store;
}
}