27 lines
537 B
PHP
27 lines
537 B
PHP
<?php
|
|
|
|
namespace sammo\DTO;
|
|
|
|
use sammo\DTO\Attr\Convert;
|
|
use sammo\DTO\Attr\NullIsUndefined;
|
|
use sammo\DTO\Converter\DateTimeConverter;
|
|
|
|
class AuctionInfoDetail extends DTO
|
|
{
|
|
public function __construct(
|
|
public string $title,
|
|
public string $openerName,
|
|
|
|
public int $minAmount,
|
|
|
|
#[NullIsUndefined]
|
|
public ?int $buyImmediatelyAmount,
|
|
#[NullIsUndefined]
|
|
public ?int $remainCloseDateExtensionCnt,
|
|
#[NullIsUndefined]
|
|
#[Convert(DateTimeConverter::class)]
|
|
public ?\DateTimeImmutable $availableLatestBidCloseDate,
|
|
) {
|
|
}
|
|
}
|