feat: used parser output to recreate the DTOs

This commit is contained in:
2024-08-15 03:57:04 +03:00
parent 15a4593345
commit 8089a5c0dd
11 changed files with 243 additions and 329 deletions

View File

@@ -7,58 +7,38 @@ use Spatie\DataTransferObject\DataTransferObject;
/**
* Company Liquidation
*
* - version (integer): One for current version and >1 for historical company forms
* - registrationDate (string): Date of registration
* - endDate (string, optional): Ending date of registration
* - name (string): Bankruptcy, liquidation or restructuring proceedings
* - language (string, optional): Two letter language code
* - type (string): Type of liquidation
*/
class BisCompanyLiquidation extends DataTransferObject
{
use HasSource;
/**
* Order
*
* Zero for primary company name,
* other for translations of the primary company name
* and auxiliary company names
*
* @var int
*/
public int $order;
/**
* One for current version and >1 for historical company names
*
* @var int
* One for current version and >1 for historical company forms
*/
public int $version;
/**
* Date of registration
*
* @var string
*/
public string $registrationDate = '';
public string $registrationDate = "";
/**
* Ending date of registration
*
* @var string|null
*/
public ?string $endDate = null;
/**
* Bankruptcy, liquidation or restructuring proceedings
*
* @var string
*/
public string $name;
public string $name = "";
/**
* Two letter language code
*
* @var string|null
*/
public ?string $language = null;
public string $type;
/**
* Type of liquidation
*/
public string $type = "";
}