package com.czg.account.dto.pad;

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

import java.util.ArrayList;
import java.util.List;

/**
 * @author Administrator
 */
@Data
public class PadDetailAddDTO {
    /**
     * 布局id
     */
    @NotNull(message = "布局id不为空")
    private Long padLayoutId;
    /**
     * 商品分类id
     */
    @NotNull(message = "商品分类id不为空")
    private Long productCategoryId;
    /**
     * 商品id集合
     */
    @NotNull(message = "商品id不为空")
    @NotEmpty(message = "商品id不为空")
    private List<Long> productIdList;
}
