# RevenueDailySummaryManual.java

    package cloud.wconnect.rateshop.entity.revenue;

    import com.baomidou.mybatisplus.annotation.*;
    import lombok.Getter;
    import lombok.Setter;
    import lombok.experimental.Accessors;

    import java.io.Serializable;
    import java.math.BigDecimal;

    /**
     * <p>
     * Daily Sumamry 手动输入的酒店运营相关信息
     * </p>
     *
     * @author lichen
     * @since 2024-03-26
     */
    @Getter
    @Setter
    @Accessors(chain = true)
    @TableName("revenue_daily_summary_manual")
    public class RevenueDailySummaryManual implements Serializable {

        private static final long serialVersionUID = 1L;

        @TableId(value = "id", type = IdType.AUTO)
        private Integer id;

        /**
         * 资产 id
         */
        private Integer propertyId;

        /**
         * 日期
         */
        private Long theDate;

        /**
         * 小时。24表示final
         */
        private Integer theHour;

        /**
         * Rooms Available
         */
        @TableField(updateStrategy = FieldStrategy.ALWAYS)
        private Integer roomsAvailable;

        /**
         * Total Rooms Sold
         */
        @TableField(updateStrategy = FieldStrategy.ALWAYS)
        private Integer totalRoomsSold;

        /**
         * ta
         */
        @TableField(updateStrategy = FieldStrategy.ALWAYS)
        private Integer ta;

        /**
         * 入住率
         */
        @TableField(updateStrategy = FieldStrategy.ALWAYS)
        private BigDecimal occ;

        /**
         * 散客预订数量的Pick Up
         */
        @TableField(updateStrategy = FieldStrategy.ALWAYS)
        private Integer transientPickUp;

        /**
         * 团客预订数量的Pick Up
         */
        @TableField(updateStrategy = FieldStrategy.ALWAYS)
        private Integer groupPickUp;

        /**
         * 故障房间数
         */
        @TableField(updateStrategy = FieldStrategy.ALWAYS)
        private Integer oooRooms;

        /**
         * 客人未来的数量（Final特有）
         */
        @TableField(updateStrategy = FieldStrategy.ALWAYS)
        private Integer noShow;

        /**
         * 客人取消的数量（Final特有）
         */
        @TableField(updateStrategy = FieldStrategy.ALWAYS)
        private Integer cancelled;

        /**
         * Average rate（Final特有）
         */
        @TableField(updateStrategy = FieldStrategy.ALWAYS)
        private BigDecimal adr;

        /**
         * MEPS（Final特有）数量
         */
        @TableField(updateStrategy = FieldStrategy.ALWAYS)
        private Integer mepsGroupTotal;

        /**
         * rooms Available 操作日志
         */
        private String roomsAvailableUpdateLog;

        /**
         * Total Rooms Sold 操作日志
         */
        private String totalRoomsSoldUpdateLog;

        /**
         * ta 操作日志
         */
        private String taUpdateLog;

        /**
         * occ 操作日志
         */
        private String occUpdateLog;

        /**
         * 散客预订数量的Pick Up 操作日志
         */
        private String transientPickUpUpdateLog;

        /**
         * 团客预订数量的Pick Up 操作日志
         */
        private String groupPickUpUpdateLog;

        /**
         * 故障房间数操作日志
         */
        private String oooRoomsUpdateLog;

        /**
         * 客人未来的数量（Final特有）操作日志
         */
        private String noShowUpdateLog;

        /**
         * 客人取消的数量（Final特有）操作日志
         */
        private String cancelledUpdateLog;

        /**
         * Average rate（Final特有）操作日志
         */
        private String adrUpdateLog;

        /**
         * MEPS 数量（Final特有）操作日志
         */
        private String mepsGroupTotalUpdateLog;

        /**
         * 生成唯一的key
         *
         * @return java.lang.String
         * @author lichen
         * @date 2024/10/18
         */
        public String generateKey() {
            return propertyId.toString() + "_" + theDate.toString() + "_" + theHour;
        }

    }