package com.zt.plat.module.base.controller.admin.quantityUnitRelation.vo;

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

@Schema(description = "管理后台 - 删除单位及关联关系 Request VO")
@Data
public class DeleteUnitWithRelationReqVO {

    @Schema(description = "关联关系ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "关联关系ID不能为空")
    private Long relationId;

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

}
