import { IsOptional, IsString, IsUUID, MaxLength } from 'class-validator';

export class CashHeldHoldersQueryDto {
  @IsOptional()
  @IsUUID()
  currency_id?: string;

  @IsOptional()
  @IsString()
  @MaxLength(100)
  search?: string;
}

export class CashHeldHistoryQueryDto {
  @IsString()
  @MaxLength(300)
  holder_key: string;

  @IsUUID()
  currency_id: string;
}
