import { IsString, IsNotEmpty } from "class-validator";
import { IsTin } from "../../../common/validators/is-tin.validator";

export class FetchETradeDto {
  @IsString()
  @IsNotEmpty()
  @IsTin({ message: "TIN must be exactly 10 digits" })
  tin!: string;
}
