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

export class CardOptionDto {
  @IsString()
  @MaxLength(80)
  label!: string;

  @IsString()
  @MaxLength(80)
  value!: string;

  @IsOptional()
  @IsInt()
  @Min(0)
  sortOrder?: number;
}
