# SvaDailyHourDTO.java

    package cloud.wconnect.workperformance.pojo.dto.sva.schedulevsactual;

    import lombok.AllArgsConstructor;
    import lombok.Builder;
    import lombok.Data;
    import org.apache.commons.compress.utils.Lists;

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

    /**
     * DTO: 员工每日的排班时数和实际打卡时数
     *
     * @author zc
     * @date 2023/06/22
     */
    @Data
    @Builder
    @AllArgsConstructor
    public class SvaDailyHourDTO {

        /**
         * 一天内的排班时数
         */
        private BigDecimal scheduleHours;

        /**
         * 一天内的排班时数详情
         */
        private List<SvaHoursDetailDTO> scheduleHoursList;

        /**
         * 一天内的实际打卡时数
         */
        private BigDecimal actualHours;

        /**
         * 一天内的实际打卡时数详情
         */
        private List<SvaHoursDetailDTO> actualHoursList;

        /**
         * 是否有评论
         */
        private Boolean hasComment;

        /**
         * 是否异常
         */
        private Boolean abnormal;

        public SvaDailyHourDTO() {
            this.scheduleHoursList = Lists.newArrayList();
            this.actualHoursList = Lists.newArrayList();
        }
    }