import { ApiProperty } from "@nestjs/swagger"
import { IsInt, IsOptional, IsString } from "class-validator"

export class CreateCustomerTreatmentPlanImageDto {
  @ApiProperty({
    example: 1,
    description: "ID of the treatment plan this image belongs to",
  })
  @IsInt()
  treatment_plan_id: number

  @ApiProperty({
    example: "uploads/treatment-plans/scan_report_123.jpg",
    description: "Stored path or URL of the image",
    required: false,
  })
  @IsOptional()
  @IsString()
  plan_image?: string
}
