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

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

/**
 * 单项基本信息 保存 Request VO
 */
@Schema(description = "工作台 - 单项基本信息保存 Request VO")
@Data
public class WbItemInfoSaveReqVO {

    @Schema(description = "编制树节点ID（单项节点）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "编制树节点ID不能为空")
    private Long compileTreeId;

    @Schema(description = "基本信息数据（用户填写的值）")
    private Map<String, Object> infoData;
}
