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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 清单配置目录树交换排序 Request VO
 *
 * @author yhy
 */
@Schema(description = "管理后台 - 清单配置目录树交换排序 Request VO")
@Data
public class BoqCatalogItemSwapSortReqVO {

    @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;
}
