package com.nanri.aiimage.modules.productrisk.model.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "新增备选店铺请求体：写入用户维度的待处理店铺列表，供前端勾选与匹配")
public class ProductRiskCandidateAddRequest {

    @NotNull(message = "user_id 不能为空")
    @JsonProperty("user_id")
    @Schema(description = "当前用户 ID，数据按用户隔离", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long userId;

    @NotBlank(message = "店铺名不能为空")
    @JsonProperty("shop_name")
    @Schema(description = "店铺名称（展示用原文；入库前会规范化去重）", requiredMode = Schema.RequiredMode.REQUIRED, example = "测试店铺A")
    private String shopName;
}
