package cn.stylefeng.team.portal.modular.front.pojo.request;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class FrontSlideshowRequest extends BaseRequest {

    @ChineseDescription("门户设计id")
    @NotNull(message = "门户设计id不能为空")
    private Long designId;

    @ChineseDescription("轮播图id集合")
    @NotEmpty(message = "轮播图id集合不能为空")
    private List<Long> slideshowIdList;

}