package com.zt.plat.module.contractorder.api.vo.contract;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Schema(description = "管理后台 - 合同关联请求对象 Request VO")
@Data
public class RelationReqVo {

    @Schema(description = "上游主键", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "上游主键不能为空")
    private String upId;

    @Schema(description = "下游主键", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "下游主键不能为空")
    private String downId;
}
