// hospital report dto
import { ApiProperty } from "@nestjs/swagger"
import { IsEnum, IsOptional, IsString } from "class-validator"

export class HospitalReportDto {
  @IsString()
  @IsOptional()
  @ApiProperty({ type: String, required: false })
  search: string

  @IsString()
  @IsOptional()
  @ApiProperty({ type: String, required: false })
  state: string

  @IsString()
  @IsOptional()
  @ApiProperty({ type: String, required: false })
  skip: string

  @IsString()
  @IsOptional()
  @ApiProperty({ type: String, required: false })
  limit: string

  @IsString()
  @IsOptional()
  @ApiProperty({ type: String, required: false })
  @IsEnum(["true", "false"])
  is_export: string
}
