# TargetHoursDTO.java

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

    import lombok.AllArgsConstructor;
    import lombok.Data;
    import lombok.NoArgsConstructor;

    import java.math.BigDecimal;

    /**
     * TargetHours DTO
     *
     * @author lichen
     * @date 2026/3/11
     */
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public class TargetHoursDTO {

        /**
         * 预计工时
         */
        private BigDecimal targetHours;

        /**
         * targetHours 计算失败原因 1：Setting不完整 2：Sales Forecast数据不完整
         */
        private Integer failureReason;

        /**
         * targetHours 计算失败原因
         */
        public static final int FAILURE_REASON_SETTING_INCOMPLETE = 1;
        public static final int FAILURE_REASON_SALES_FORECAST_INCOMPLETE = 2;

    }