import { ApiProperty } from "@nestjs/swagger"
import { IsNumber, IsUUID } from "class-validator"

export class FuelLimitDto {
    @ApiProperty({ format: 'uuid' })
    @IsUUID()
    id_boiler: string

    @ApiProperty()
    @IsNumber()
    id_fuel: number

    @ApiProperty()
    @IsNumber()
    month: Date

    @ApiProperty()
    @IsNumber()
    year: number

    @ApiProperty()
    @IsNumber()
    value: number
}