package cn.iocoder.foodnexus.module.erp.controller.admin.purchase.vo.supplier;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.List;

/**
 * @author : yanghao
 * create at:  2025/8/29  14:25
 * @description: 供应商绑定商品
 */
@Data
public class ErpProductSupplierBindReqVO {

    @NotNull(message = "supplierId不能为空")
    private Long supplierId;

    @NotNull(message = "productIdList不能为空")
    @Size(min = 1, message = "productIdList不能为空")
    private List<Long> productIdList;

}
