# TaUpdateStatusDTO.java

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

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

    import jakarta.validation.constraints.NotNull;
    import java.util.List;

    /**
     * DTO: TA Update Status
     *
     * @author zc
     * @date 2023/7/11
     */
    @Data
    public class TaUpdateStatusDTO {

        /**
         * 状态 (1:matched; 5:TBA; 6:Ignore; 7:Not In PMS; 8:ILWDP)
         */
        @NotNull(message = "The status cannot be null")
        private Integer status;

        /**
         * 由 3:missPms 变更为 1:matched 时传入 creditCardId，多个用逗号分隔
         */
        private String creditCardIds;

        /**
         * 由 2:missTA 变更为 5:TBA 时传入航班
         */
        private String airline;

        /**
         * 由 3:missPms 变更为 1:matched，没有选择 Credit Card 数据时输入 confirmation 来 match
         */
        @Length(max = 100, message = "The confirmation is limited 100 characters")
        private String confirmation;

        /**
         * 修改的房价信息，price variance 变更 match 手动修改 rate 的值
         */
        private List<TaRoomRateDTO> rates;

    }