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

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

@Data
@Schema(description = "绑定合同VO")
@Validated
public class RelationContractVO {

    @Schema(description = "合同ID")
    @NotNull(message = "合同ID不能为空")
    private Long contractId;

    @Schema(description = "被绑定的合同ID")
    @NotNull(message = "被绑定的合同ID不能为空")
    private Long relationContractId;
}
