package com.yhy.module.core.controller.admin.config.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import java.util.List;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "管理后台 - 标签页引用 批量保存 Request VO")
@Data
public class ConfigUnitTabRefSaveReqVO {

    @Schema(description = "关联 fields_majors 节点ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "catalogItemId 不能为空")
    private Long catalogItemId;

    @Schema(description = "标签页类型：measure/other/unit_summary", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "标签页类型不能为空")
    private String tabType;

    @Schema(description = "引用的模板节点ID列表", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "模板节点ID列表不能为空")
    private List<Long> templateNodeIds;
}
