package com.jeesharp.business.modules.mall.dto;

import com.jeesharp.framework.pojo.dto.BaseSaveDTO;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 规格值保存请求 DTO。
 *
 * @author jeesharp
 * @since 2026-05-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MallSpecValueSaveDTO extends BaseSaveDTO {

    @NotBlank(message = "规格ID不能为空")
    private String specId;

    @NotBlank(message = "规格值不能为空")
    private String specValue;

    private Integer sortOrder;

    @NotNull(message = "状态不能为空")
    private Integer status;
}
