xyc
9 小时以前 1c9505d00bd076898cdc5a7d916106e175a91119
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
package com.trafficaudit.freightforecast.dto;
 
import lombok.Data;
 
import java.util.ArrayList;
import java.util.List;
 
/** Result of the monthly report versus forecast comparison. */
@Data
public class FreightForecastAnalysis {
    private String period;
    private int month;
    private String reportStage;
    private Long roundId;
    private Integer revisionNo;
    private String reportFileName;
    private String reportHistorySource;
    private String forecastHistorySource;
    private String historyThroughPeriod;
    private Integer historyCorrectionCount;
    private Double historyCorrectionDifferenceWan;
    private String belowHistorySource;
    private String sourceSummary;
 
    private double monthlyForecastWan;
    private double monthlyReportWan;
    private Double monthlyDiffRate;
    private Double previousMonthDiffRate;
    private Double monthlyReportYoy;
 
    private double cumulativeForecastWan;
    private double cumulativeReportWan;
    private Double cumulativeReportYoy;
    private Double cumulativeDiffRate;
 
    private double monthlyBelowTurnoverWan;
    private double cumulativeBelowTurnoverWan;
    private double currentTotalCumulativeWan;
    private double lastYearTotalCumulativeWan;
    private Double totalCumulativeYoy;
    private String belowResultType;
 
    private List<CityRow> cities = new ArrayList<>();
    private List<EnterpriseRow> enterprises = new ArrayList<>();
    private List<String> warnings = new ArrayList<>();
    private List<SourceCoverage> sources = new ArrayList<>();
 
    @Data
    public static class CityRow {
        private String city;
        private Double previousMonthDiffRate;
        private double monthlyForecastWan;
        private double monthlyReportWan;
        private Double monthlyReportYoy;
        private Double monthlyDiffRate;
        private double cumulativeReportWan;
        private Double cumulativeReportYoy;
        private double cumulativeForecastWan;
        private Double cumulativeDiffRate;
    }
 
    @Data
    public static class EnterpriseRow {
        private String city;
        private String enterpriseName;
        private double forecastTurnoverWan;
        private double reportedTurnoverWan;
        private Double diffRate;
        private String status;
    }
 
    @Data
    public static class SourceCoverage {
        private String metric;
        private String source;
        private String periodRange;
        private Integer rowCount;
        private String note;
 
        public SourceCoverage() {
        }
 
        public SourceCoverage(String metric, String source, String periodRange, Integer rowCount, String note) {
            this.metric = metric;
            this.source = source;
            this.periodRange = periodRange;
            this.rowCount = rowCount;
            this.note = note;
        }
    }
}