mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
1fbdc795ff
- Update Standard Segment Constant Logic Class - List Standard Segment Constant Logic Class - List Standard Segment Logic Class
44 lines
851 B
PHP
44 lines
851 B
PHP
<?php
|
|
|
|
namespace App\Classes\Modules\SegmentCompanies\DataTransferObjects;
|
|
|
|
use App\Classes\Interfaces\DataTransferObject;
|
|
|
|
class SegmentCompanyObject implements DataTransferObject
|
|
{
|
|
/** @var int|null */
|
|
private $segment_id;
|
|
|
|
/** @var int|null */
|
|
private $company_id;
|
|
|
|
/**
|
|
* CompanyObject constructor.
|
|
* @param int|null $segment_id
|
|
* @param int|null $company_id
|
|
*/
|
|
public function __construct(
|
|
?int $segment_id,
|
|
?int $company_id
|
|
)
|
|
{
|
|
$this->segment_id = $segment_id;
|
|
$this->company_id = $company_id;
|
|
}
|
|
|
|
/**
|
|
* @return int|null
|
|
*/
|
|
public function getSegmentId(): ?int
|
|
{
|
|
return $this->segment_id;
|
|
}
|
|
|
|
/**
|
|
* @return int|null
|
|
*/
|
|
public function getCompanyId(): ?int
|
|
{
|
|
return $this->company_id;
|
|
}
|
|
} |