package com.ylx.massage.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

/**
 * 新增商品请求DTO
 *
 * @author ylx
 * @since 2026-03-26
 */
@Data
@ApiModel("新增商品请求")
public class ProductUpdateDTO extends ProductCreateDTO {

    /**
     * 商品ID
     */
    @ApiModelProperty("商品ID")
    @NotNull(message = "商品ID不能为空")
    private Long id;
}
