dep,refac: DTO를 composer 외부로 이동
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
|
||||
namespace sammo\DTO;
|
||||
|
||||
use sammo\DTO\Attr\Convert;
|
||||
use sammo\DTO\Attr\JsonString;
|
||||
use sammo\DTO\Attr\NullIsUndefined;
|
||||
use sammo\DTO\Attr\RawName;
|
||||
use sammo\DTO\Converter\DateTimeConverter;
|
||||
use LDTO\Attr\Convert;
|
||||
use LDTO\Attr\JsonString;
|
||||
use LDTO\Attr\NullIsUndefined;
|
||||
use LDTO\Attr\RawName;
|
||||
use LDTO\Converter\DateTimeConverter;
|
||||
|
||||
class AuctionBidItem extends DTO
|
||||
class AuctionBidItem extends \LDTO\DTO
|
||||
{
|
||||
public function __construct(
|
||||
#[NullIsUndefined]
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
namespace sammo\DTO;
|
||||
|
||||
use sammo\DTO\Attr\NullIsUndefined;
|
||||
use LDTO\Attr\NullIsUndefined;
|
||||
|
||||
class AuctionBidItemData extends DTO
|
||||
class AuctionBidItemData extends \LDTO\DTO
|
||||
{
|
||||
public function __construct(
|
||||
#[NullIsUndefined]
|
||||
|
||||
@@ -2,15 +2,15 @@
|
||||
|
||||
namespace sammo\DTO;
|
||||
|
||||
use sammo\DTO\Attr\Convert;
|
||||
use sammo\DTO\Attr\JsonString;
|
||||
use sammo\DTO\Attr\NullIsUndefined;
|
||||
use sammo\DTO\Attr\RawName;
|
||||
use sammo\DTO\Converter\DateTimeConverter;
|
||||
use LDTO\Attr\Convert;
|
||||
use LDTO\Attr\JsonString;
|
||||
use LDTO\Attr\NullIsUndefined;
|
||||
use LDTO\Attr\RawName;
|
||||
use LDTO\Converter\DateTimeConverter;
|
||||
use sammo\Enums\AuctionType;
|
||||
use sammo\Enums\ResourceType;
|
||||
|
||||
class AuctionInfo extends DTO
|
||||
class AuctionInfo extends \LDTO\DTO
|
||||
{
|
||||
public function __construct(
|
||||
#[NullIsUndefined]
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
namespace sammo\DTO;
|
||||
|
||||
use sammo\DTO\Attr\Convert;
|
||||
use sammo\DTO\Attr\NullIsUndefined;
|
||||
use sammo\DTO\Converter\DateTimeConverter;
|
||||
use LDTO\Attr\Convert;
|
||||
use LDTO\Attr\NullIsUndefined;
|
||||
use LDTO\Converter\DateTimeConverter;
|
||||
|
||||
class AuctionInfoDetail extends DTO
|
||||
class AuctionInfoDetail extends \LDTO\DTO
|
||||
{
|
||||
public function __construct(
|
||||
public string $title,
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
namespace sammo\DTO;
|
||||
|
||||
use sammo\DTO\Attr\Convert;
|
||||
use sammo\DTO\Converter\MapConverter;
|
||||
use LDTO\Attr\Convert;
|
||||
use LDTO\Converter\MapConverter;
|
||||
use sammo\DTO\SelectItem;
|
||||
|
||||
//https://json2dto.atymic.dev/
|
||||
|
||||
class BettingInfo extends DTO
|
||||
class BettingInfo extends \LDTO\DTO
|
||||
{
|
||||
public function __construct(
|
||||
public int $id,
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace sammo\DTO;
|
||||
|
||||
use sammo\DTO\Attr\NullIsUndefined;
|
||||
use sammo\DTO\Attr\RawName;
|
||||
use LDTO\Attr\NullIsUndefined;
|
||||
use LDTO\Attr\RawName;
|
||||
|
||||
class BettingItem extends DTO
|
||||
class BettingItem extends \LDTO\DTO
|
||||
{
|
||||
public function __construct(
|
||||
#[RawName('id')]
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace sammo\DTO;
|
||||
|
||||
use sammo\DTO\Attr\Convert;
|
||||
use sammo\DTO\Converter\MapConverter;
|
||||
use LDTO\Attr\Convert;
|
||||
use LDTO\Converter\MapConverter;
|
||||
|
||||
class SelectItem extends DTO
|
||||
class SelectItem extends \LDTO\DTO
|
||||
{
|
||||
public function __construct(
|
||||
public string $title,
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
namespace sammo\DTO;
|
||||
|
||||
use sammo\DTO\Attr\NullIsUndefined;
|
||||
use sammo\DTO\Attr\RawName;
|
||||
use LDTO\Attr\NullIsUndefined;
|
||||
use LDTO\Attr\RawName;
|
||||
|
||||
class VoteComment extends DTO
|
||||
class VoteComment extends \LDTO\DTO
|
||||
{
|
||||
public function __construct(
|
||||
#[NullIsUndefined]
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace sammo\DTO;
|
||||
|
||||
class VoteInfo extends DTO
|
||||
class VoteInfo extends \LDTO\DTO
|
||||
{
|
||||
public function __construct(
|
||||
public int $id,
|
||||
|
||||
Reference in New Issue
Block a user