Files
exchange-2.0/app/Classes/Modules/SegmentCompanies/DataTransferObjects/SegmentCompanyObject.php
T
CheeSiong 1fbdc795ff - Segment Company Relationship Service Class
- Update Standard Segment Constant Logic Class
- List Standard Segment Constant Logic Class
- List Standard Segment Logic Class
2020-11-13 14:15:34 +08:00

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;
}
}