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

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

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