mirror of
https://github.com/ivuorinen/business-data-fetcher.git
synced 2026-03-17 19:00:44 +00:00
updated docs, example, extensive use of Traits with better handling. valid level 9 phpstan codebase.
37 lines
702 B
PHP
37 lines
702 B
PHP
<?php
|
|
|
|
namespace Ivuorinen\BusinessDataFetcher\Dto;
|
|
|
|
use Spatie\DataTransferObject\DataTransferObject;
|
|
use Ivuorinen\BusinessDataFetcher\Traits;
|
|
|
|
/**
|
|
* Company Name
|
|
*/
|
|
class BisCompanyName extends DataTransferObject
|
|
{
|
|
use Traits\HasSource;
|
|
use Traits\HasVersion;
|
|
use Traits\HasLanguage;
|
|
|
|
/**
|
|
* Zero for primary company name, other for translations of the primary company name and auxiliary company names
|
|
*/
|
|
public int $order;
|
|
|
|
/**
|
|
* Date of registration
|
|
*/
|
|
public string $registrationDate = '';
|
|
|
|
/**
|
|
* Ending date of registration
|
|
*/
|
|
public ?string $endDate = null;
|
|
|
|
/**
|
|
* Company name
|
|
*/
|
|
public string $name = '';
|
|
}
|