# TaCompareOtaRateCodeDTO.java

    package cloud.wconnect.finance.pojo.dto.ta.compare;

    import lombok.Data;
    import org.hibernate.validator.constraints.Length;

    import jakarta.validation.constraints.NotBlank;

    /**
     * DTO: Compare OTA Rate Code
     *
     * @author zc
     * @date 2023/07/27
     */
    @Data
    public class TaCompareOtaRateCodeDTO {

        /**
         * Rate Code
         */
        @NotBlank(message = "The rateCode cannot be blank")
        @Length(max = 20, message = "The max length of rateCode is 100 characters")
        private String rateCode;
    }