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

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

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 信息价树结构交换排序 Request VO")
@Data
public class InfoPriceTreeSwapSortReqVO {

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