# UpdateAdjDTO.java

    package cloud.wconnect.finance.pojo.dto.chargeback;

    import jakarta.validation.Valid;
    import jakarta.validation.constraints.NotEmpty;
    import jakarta.validation.constraints.NotNull;
    import lombok.Data;

    import java.util.List;

    /**
     * 修改Cb Adj的DTO
     *
     * @author lichen
     * @date 2026/2/11
     */
    @Data
    public class UpdateAdjDTO {

        /**
         * 新增或修改的Cb Adj集合
         */
        @Valid
        @NotEmpty(message = "the saveCbAdjs cannot be empty")
        private List<SaveAdjDTO> saveCbAdjs;

        /**
         * 删除的Cb Adj集合
         */
        @NotNull(message = "the delCbAdjIds cannot be null")
        private List<Long> delCbAdjIds;

    }