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 MallSpecSaveDTO extends BaseSaveDTO {

    @NotBlank(message = "规格名称不能为空")
    private String specName;

    private String specCode;

    private Integer sortOrder;

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