import { PartialType } from "@nestjs/mapped-types"
import { CreateCancelReasonDto } from "./create-cancel-reason.dto"
import { ApiPropertyOptional } from "@nestjs/swagger"

export class UpdateCancelReasonDto extends PartialType(CreateCancelReasonDto) {
  @ApiPropertyOptional({
    description: "Name of the cancel reason",
    example: "Updated cancel reason name",
  })
  name?: string

  @ApiPropertyOptional({
    description: "Updated description of the cancel reason",
    example: "Updated description text",
  })
  description?: string

  @ApiPropertyOptional({
    description: "Updated active status",
    example: false,
  })
  is_active?: boolean
}
