package cn.iocoder.foodnexus.module.order.controller.app.shoppingcart.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.List;

/**
 * @author : yanghao
 * create at:  2025/10/18  10:14
 * @description: 批量新增
 */
@Data
public class ShoppingCartSaveBatchReqVO {

    @Schema(description = "购物车批量新增项")
    @NotNull(message = "新增项不能为空")
    @Size(min = 1, message = "新增项不能为空")
    private List<ShoppingCartSaveReqVO> items;

}
