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

/**
 * 도움말 필터링 DTO
 *
 * @export
 * @class FilterHelpDto
 */
export class FilterHelpDto {
  @IsOptional()
  @IsString()
  @IsIn(['SNP', 'GENOME', 'MPT'])
  @MaxLength(20)
  helpCtgry?: string;

  @IsOptional()
  @IsString()
  @MaxLength(100)
  targetNm?: string;

  @IsOptional()
  @IsString()
  @IsIn(['Y', 'N'])
  @MaxLength(1)
  useYn?: string;
}
