feat(wip): 경매 세부 기능 구현
This commit is contained in:
1 parent
9f76bc786f
commit
a61a1814b1
4 files changed
+117
-45
No files matched your search
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace sammo\DTO;
|
||||
|
||||
use sammo\DTO\Attr\Convert;
|
||||
use sammo\DTO\Converter\DateTimeConverter;
|
||||
use sammo\Enums\ResourceType;
|
||||
|
||||
class AuctionInfo extends DTO
|
||||
@@ -11,12 +13,16 @@ class AuctionInfo extends DTO
|
||||
public int $openerName,
|
||||
public int $openerGeneralID,
|
||||
public string $type,
|
||||
public string $title,
|
||||
public bool $finished,
|
||||
public ResourceType $reqResource,
|
||||
public int $minAmount,
|
||||
public ?int $buyImmediatelyAmount,
|
||||
public string $openDate,
|
||||
public string $closeDate,
|
||||
|
||||
#[Convert(DateTimeConverter::class)]
|
||||
public \DateTimeImmutable $openDate,
|
||||
#[Convert(DateTimeConverter::class)]
|
||||
public \DateTimeImmutable $closeDate,
|
||||
) {
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user