# AcOtaBO.java

    package cloud.wconnect.finance.pojo.bo.api.ota;

    import lombok.AllArgsConstructor;
    import lombok.Builder;
    import lombok.Data;
    import lombok.NoArgsConstructor;
    import org.hibernate.validator.constraints.Length;

    import jakarta.validation.Valid;
    import jakarta.validation.constraints.NotBlank;
    import java.util.List;

    /**
     * BO: OTA
     *
     * @author zc
     * @date 2023/08/08
     */
    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public class AcOtaBO {

        /**
         * Batch #
         */
        @NotBlank(message = "The batchNo cannot be blank")
        @Length(max = 20, message = "The batchNo is limited 20 characters")
        private String batchNo;

        /**
         * OTA 数据
         */
        @Valid
        private List<AcOtaListBO> list;
    }