# AcApiDTO.java

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

    import cloud.wconnect.commonlib.pojo.dto.jsonview.Views;
    import com.fasterxml.jackson.annotation.JsonView;
    import lombok.Data;

    import java.math.BigDecimal;

    /**
     * DTO：api 数据
     *
     * @author zc
     * @date 2023/8/4
     */
    @Data
    public class AcApiDTO {

        /**
         * 数据 id
         */
        @JsonView(Views.DetailsView.class)
        private Long id;

        /**
         * Batch #
         */
        @JsonView(Views.DetailsView.class)
        private String batchNo;

        /**
         * Invoice #
         */
        @JsonView(Views.DetailsView.class)
        private String invoiceNo;

        /**
         * Airline
         */
        @JsonView(Views.DetailsView.class)
        private String airline;

        /**
         * Conf. No.
         */
        @JsonView(Views.DetailsView.class)
        private String confNo;

        /**
         * First Name
         */
        @JsonView(Views.DetailsView.class)
        private String firstName;

        /**
         * Last Name
         */
        @JsonView(Views.DetailsView.class)
        private String lastName;

        /**
         * 入住日期
         */
        @JsonView(Views.DetailsView.class)
        private Long checkIn;

        /**
         * Nights
         */
        @JsonView(Views.DetailsView.class)
        private Integer nights;

        /**
         * Total Room
         */
        @JsonView(Views.DetailsView.class)
        private Integer totalRoom;

        /**
         * Room Costs (Room Amounts)
         */
        @JsonView(Views.DetailsView.class)
        private BigDecimal roomCosts;

        /**
         * 状态 （1.Missing in PMS; 2.No Record in PMS; 3.Matched; 4.Pay & Close）
         */
        @JsonView(Views.DetailsView.class)
        private Integer status;

        /**
         * 状态变更人 id
         */
        private Integer statusUpdatedBy;

        /**
         * 状态变更人名称
         */
        private String statusUpdatedName;

        /**
         * 状态变更时间
         */
        private Long statusUpdatedTime;

        /**
         * 备注数量
         */
        private Long noteCount;

        /**
         * 备注数量
         */
        private Boolean canUndo;
    }