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

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

import java.util.List;

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

    @NotNull(message = "主键id不能为空", groups = {edit.class, delete.class})
    @ChineseDescription("主键id")
    private Long id;

    @ChineseDescription("门户设计id")
    private Long designId;

    @ChineseDescription("管理员用户id")
    private Long managerUserId;

    @ChineseDescription("管理员权限列表，数组，包含：design-拖拽布局配置，content-新闻、轮播图和应用链接维护，admin-管理员权限")
    private List<String> authTypeList;

    @ChineseDescription("租户id")
    private Long tenantId;

    @NotNull(message = "批量删除id集合不能为空", groups = batchDelete.class)
    @ChineseDescription("批量删除用的id集合")
    private List<Long> batchDeleteIdList;

}