import { IsNumber, IsEnum, Min } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';
import { SettleCurrency } from '@/domain/value-objects';

export class SettleRewardsDTO {
  @ApiProperty({ description: '结算USDT金额', minimum: 0 })
  @IsNumber()
  @Min(0)
  usdtAmount: number;

  @ApiProperty({ description: '结算目标币种', enum: SettleCurrency })
  @IsEnum(SettleCurrency)
  settleCurrency: SettleCurrency;
}
