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

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

/**
 * 编制模式树 交换排序 Request VO
 */
@Schema(description = "工作台 - 编制模式树交换排序 Request VO")
@Data
public class WbCompileTreeSwapSortReqVO {

    @Schema(description = "节点1 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "节点1 ID不能为空")
    private Long nodeId1;

    @Schema(description = "节点2 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "节点2 ID不能为空")
    private Long nodeId2;
}
