# ClcArrivalDetailed.java

    package cloud.wconnect.frontoffice.entity.clc;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableField;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableName;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

    import java.io.Serializable;

    /**
     * <p>
     *
     * </p>
     *
     * @author yyt
     * @since 2023-07-24
     */
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("clc_op_arrival_detailed")
    public class ClcArrivalDetailed implements Serializable {

        private static final long serialVersionUID = 1L;

        /**
         * 主键id
         */
        @TableId(value = "id", type = IdType.AUTO)
        private Long id;

        /**
         * 资产 id
         */
        @TableField("hotel_id")
        private Integer propertyId;

        /**
         * 入住日期
         */
        private Long arrivDate;

        /**
         * 离开日期
         */
        private Long departDate;

        /**
         * Room No.
         */
        private String roomNumber;

        /**
         * Conf No.
         */
        private String confNumber;

        /**
         * 客户姓名
         */
        private String guestName;

        /**
         * CLC公司名称
         */
        private String company;

        /**
         * 匹配结果(1:missed,2:clc error,3:completed,4:ignored,5:matched)
         */
        private Integer matchResult;

        /**
         * 创建人id
         */
        private Integer createdBy;

        /**
         * 创建时间
         */
        private Long createdTime;

        /**
         * 解决或忽略人的id
         */
        private Integer operatedBy;

        /**
         * 解决或忽略的时间
         */
        private Long operatedTime;

        /**
         * 解决或忽略时的说明
         */
        private String operatedRemark;

        /**
         * 房间类型
         */
        private String roomType;

        public static final int MATCH_RESULT_MISSED = 1;

        public static final int MATCH_RESULT_CLC_ERR = 2;

        public static final int MATCH_RESULT_COMPLETED = 3;

        public static final int MATCH_RESULT_IGNORED = 4;

        public static final int MATCH_RESULT_MATCHED = 5;

        public String getUniKey(){
            return this.arrivDate + "&" + this.roomNumber;
        }

    }