import { IsOptional, IsDate } from "class-validator";
import { Type } from "class-transformer";

export class UpdatePricingDatesDto {
    @IsOptional()
    @Type(() => Date)
    @IsDate()
    effectiveDate?: Date;

    @IsOptional()
    @Type(() => Date)
    @IsDate()
    expiryDate?: Date;
}
