mirror of
https://github.com/ivuorinen/business-data-fetcher.git
synced 2026-03-17 17:00:48 +00:00
updated docs, example, extensive use of Traits with better handling. valid level 9 phpstan codebase.
37 lines
673 B
PHP
37 lines
673 B
PHP
<?php
|
|
|
|
namespace Ivuorinen\BusinessDataFetcher\Dto;
|
|
|
|
use Spatie\DataTransferObject\DataTransferObject;
|
|
use Ivuorinen\BusinessDataFetcher\Traits;
|
|
|
|
/**
|
|
* Company Business Line
|
|
*/
|
|
class BisCompanyBusinessLine extends DataTransferObject
|
|
{
|
|
use Traits\HasSource;
|
|
use Traits\HasVersion;
|
|
use Traits\HasLanguage;
|
|
|
|
/**
|
|
* Zero for main line of business, positive for others
|
|
*/
|
|
public int $order;
|
|
|
|
/**
|
|
* Date of registration
|
|
*/
|
|
public string $registrationDate = '';
|
|
|
|
/**
|
|
* Ending date of registration
|
|
*/
|
|
public ?string $endDate = null;
|
|
|
|
/**
|
|
* Name of line of business
|
|
*/
|
|
public string $name = '';
|
|
}
|