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

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

/**
 * SPU 与标签关联保存请求 DTO。
 *
 * @author jeesharp
 * @since 2026-05-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MallSpuTagSaveDTO extends BaseSaveDTO {

    @NotBlank(message = "SPU ID不能为空")
    private String spuId;

    @NotBlank(message = "标签ID不能为空")
    private String tagId;

    private String tagName;

    private Integer sortOrder;
}
