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

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

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