mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
83 lines
1.6 KiB
PHP
83 lines
1.6 KiB
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\PackingLists\DataTransferObjects;
|
|
|
|
use App\Classes\General\Interfaces\DataTransferObject;
|
|
|
|
class ContainerObject implements DataTransferObject
|
|
{
|
|
|
|
/** @var string */
|
|
private $reference;
|
|
|
|
/** @var string */
|
|
private $containerNumber;
|
|
|
|
/** @var string */
|
|
private $sealNumber;
|
|
|
|
/** @var int */
|
|
private $containerType;
|
|
|
|
/** @var int */
|
|
private $status;
|
|
|
|
/**
|
|
* ContainerObject constructor.
|
|
* @param string $reference
|
|
* @param string $containerNumber
|
|
* @param string $sealNumber
|
|
* @param int $containerType
|
|
* @param int $status
|
|
*/
|
|
public function __construct(string $reference, string $containerNumber, string $sealNumber, int $containerType, int $status)
|
|
{
|
|
$this->reference = $reference;
|
|
$this->containerNumber = $containerNumber;
|
|
$this->sealNumber = $sealNumber;
|
|
$this->containerType = $containerType;
|
|
$this->status = $status;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getReference(): string
|
|
{
|
|
return $this->reference;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getContainerNumber(): string
|
|
{
|
|
return $this->containerNumber;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getSealNumber(): string
|
|
{
|
|
return $this->sealNumber;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getContainerType(): int
|
|
{
|
|
return $this->containerType;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getStatus(): int
|
|
{
|
|
return $this->status;
|
|
}
|
|
|
|
}
|