# HkEfficiencyDTO.java

    package cloud.wconnect.workperformance.pojo.dto.hkefficiency;

    import cloud.wconnect.commonlib.annotation.validator.DigitsCustom;
    import jakarta.validation.constraints.NotNull;
    import lombok.Data;

    import java.math.BigDecimal;
    import java.util.List;

    /**
     * DTO：Housekeeping Efficiency
     *
     * @author zc
     * @date 2023/3/29
     */
    @Data
    public class HkEfficiencyDTO {

        /**
         * 数据 id
         */
        private Integer id;

        /**
         * 指定日期
         */
        @NotNull(message = "The theDate cannot be null")
        private Long theDate;

        /**
         * 9410 Prior Day Occupied Rooms
         */
        private Integer roomsRented;

        /**
         * Hours worked
         */
        private BigDecimal hoursWorked;

        /**
         * Hours worked details
         */
        private List<HkEfficiencyDetailDTO> hoursWorkedDetails;

        /**
         * Retro
         */
        private BigDecimal retro;

        /**
         * 9411 Hours-Housekeeping
         */
        private BigDecimal hoursHousekeeping;

        /**
         * Temp Hours
         */
        @DigitsCustom(integer = 6, message = "The tempHours is wrong format")
        private BigDecimal tempHours;

        /**
         * Adjust Hours
         */
        @DigitsCustom(integer = 6, message = "The adjustHours is wrong format")
        private BigDecimal adjustHours;

        /**
         * Total Housekeeping Hours
         */
        private BigDecimal totalHousekeepingHours;

        /**
         * Housekeeping Efficiency Ratio
         */
        private BigDecimal ratio;

        /**
         * Explanation from Hotel about Variance
         */
        private String explanation;

        public static final int REPORT_TYPE_ATTENDANCE = 1;
        public static final int REPORT_TYPE_ACCOUNTING = 2;

    }