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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.NotEmpty;
import java.util.List;

@Schema(description = "管理后台 - 批量单位转换 Request VO")
@Data
public class BatchUnitConvertReqVO {

    @Schema(description = "转换项列表", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "转换项列表不能为空")
    private List<UnitConvertReqVO> items;

    @Schema(description = "是否忽略错误(true:遇到错误继续执行, false:遇到错误立即停止)", example = "false")
    private Boolean ignoreErrors = false;
}
