2021与蓝度共同重构项目,服务端
liuhaonan
2022-08-03 28bf6e5a47b7235d829b5f1021cfbec1cb1811d6
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
package com.sandu.ximon.admin.dto.nova;
 
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
 
import java.util.List;
 
/**
 * @author LiuHaoNan
 * @date 2022/8/1
 */
@NoArgsConstructor
@Data
public class WeatherDto {
 
    private String name;
 
    private List<WidgetsDTO> widgets;
 
    @NoArgsConstructor
    @Data
    public static class WidgetsDTO {
 
        private Integer zIndex;
 
        private String type;
 
        private String address;
 
        private Double latitude;
 
        private Double longitude;
 
        private Integer width;
 
        private Integer height;
 
        private Integer refreshPeriod;
 
        private Integer fontSize;
 
        private Boolean bold;
 
        private Boolean italic;
 
        private Boolean underline;
 
        private String color;
 
        private Integer tempUnit;
 
        private Integer unitSymbol;
 
        private Boolean weatherEnable;
 
        private Boolean tempEnable;
 
        private Boolean windEnable;
 
        private Boolean humidEnable;
 
        private Boolean currentTempEnable;
 
        private Boolean isShowInOneLine;
 
        private Integer duration;
 
        private LayoutDTO layout;
 
        @NoArgsConstructor
        @Data
        public static class LayoutDTO {
 
            private String x;
 
            private String y;
 
            private String width;
 
            private String height;
        }
    }
}