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 WbBoqDivisionSwapSortReqVO {

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

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