content: package com.example.auction.dto;
  
  import jakarta.validation.constraints.*;
  import java.math.BigDecimal;
  
  public class AuctionCreateDTO {
      @NotBlank(message = "Title is required")
      @Size(max = 200, message = "Title must be at most 200 characters")
      private String title;
      
      @NotBlank(message = "Description is required")
      @Size(max = 1000, message = "Description must be at most 1000 characters")
      private String description;
      
      @NotNull(message = "Starting price is required")
      @DecimalMin(value = "0.01", message = "Starting price must be greater than 0")
      @Digits(integer = 8, fraction = 2, message = "Invalid price format")
      private BigDecimal startingPrice;
      
      @NotNull(message = "Minimum increment is required")
      @DecimalMin(value = "0.01", message = "Minimum increment must be greater than 0")
      @Digits(integer = 8, fraction = 2, message = "Invalid increment format")
      private BigDecimal minimumIncrement;
      
      @NotNull(message = "Duration is required")
      @Min(value = 1, message = "Duration must be at least 1 minute")
      private Integer durationMinutes;
      
      // Getters and Setters
      public String getTitle() { return title; }
      public void setTitle(String title) { this.title = title; }
      
      public String getDescription() { return description; }
      public void setDescription(String description) { this.description = description; }
      
      public BigDecimal getStartingPrice() { return startingPrice; }
      public void setStartingPrice(BigDecimal startingPrice) { this.startingPrice = startingPrice; }
      
      public BigDecimal getMinimumIncrement() { return minimumIncrement; }
      public void setMinimumIncrement(BigDecimal minimumIncrement) { this.minimumIncrement = minimumIncrement; }
      
      public Integer getDurationMinutes() { return durationMinutes; }
      public void setDurationMinutes(Integer durationMinutes) { this.durationMinutes = durationMinutes; }
  }