import { ApiProperty } from '@nestjs/swagger';

export class RewardSummaryDto {
  @ApiProperty({ description: '待领取收益(USDT)', example: 500 })
  pendingUsdt: number;

  @ApiProperty({ description: '待领取算力', example: 0 })
  pendingHashpower: number;

  @ApiProperty({ description: '最早过期时间', example: '2024-01-01T00:00:00.000Z', nullable: true })
  pendingExpireAt: Date | null;

  @ApiProperty({ description: '剩余过期时间(毫秒)', example: 86400000 })
  pendingRemainingTimeMs: number;

  @ApiProperty({ description: '可结算收益(USDT)', example: 1000 })
  settleableUsdt: number;

  @ApiProperty({ description: '可结算算力', example: 5 })
  settleableHashpower: number;

  @ApiProperty({ description: '已结算总收益(USDT)', example: 5000 })
  settledTotalUsdt: number;

  @ApiProperty({ description: '已结算总算力', example: 20 })
  settledTotalHashpower: number;

  @ApiProperty({ description: '已过期总收益(USDT)', example: 200 })
  expiredTotalUsdt: number;

  @ApiProperty({ description: '已过期总算力', example: 0 })
  expiredTotalHashpower: number;
}
