mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim.git
synced 2026-08-19 12:34:03 +00:00
70 lines
1.3 KiB
PHP
70 lines
1.3 KiB
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\FreightForwarder\DataTransferObjects;
|
|
|
|
|
|
class CustomerRelationObject
|
|
{
|
|
/** @var int|null */
|
|
private $forwarderId;
|
|
|
|
/** @var int|null */
|
|
private $companyId;
|
|
|
|
/** @var float|null */
|
|
private $customer_rate;
|
|
|
|
/** @var boolean|null */
|
|
private $wave;
|
|
|
|
/**
|
|
* CustomerRelationObject constructor.
|
|
* @param int|null $forwarderId
|
|
* @param int|null $companyId
|
|
* @param float|null $customer_rate
|
|
* @param bool|null $wave
|
|
*/
|
|
public function __construct(?int $forwarderId = null, ?int $companyId = null, ?float $customer_rate = null, ?bool $wave = null)
|
|
{
|
|
$this->forwarderId = $forwarderId;
|
|
$this->companyId = $companyId;
|
|
$this->customer_rate = $customer_rate;
|
|
$this->wave = $wave;
|
|
}
|
|
|
|
/**
|
|
* @return int|null
|
|
*/
|
|
public function getForwarderId(): ?int
|
|
{
|
|
return $this->forwarderId;
|
|
}
|
|
|
|
/**
|
|
* @return int|null
|
|
*/
|
|
public function getCompanyId(): ?int
|
|
{
|
|
return $this->companyId;
|
|
}
|
|
|
|
/**
|
|
* @return float|null
|
|
*/
|
|
public function getCustomerRate(): ?float
|
|
{
|
|
return $this->customer_rate;
|
|
}
|
|
|
|
/**
|
|
* @return bool|null
|
|
*/
|
|
public function getWave(): ?bool
|
|
{
|
|
return $this->wave;
|
|
}
|
|
|
|
|
|
|
|
|
|
} |