import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger"
import { IsNumberString, IsOptional } from "class-validator"

export class GetFuelsDTO {
    @ApiProperty()
    @IsNumberString()
    id_fuels: number

    @ApiPropertyOptional()
    @IsNumberString()
    @IsOptional()
    offset?: number

    @ApiPropertyOptional()
    @IsNumberString()
    @IsOptional()
    limit?: number
}