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
85
86
87
88
89
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 NormalProgramDto {
 
 
    private String name;
 
    private List<SchedulesDTO> schedules;
 
    private List<WidgetsDTO> widgets;
 
    @NoArgsConstructor
    @Data
    public static class SchedulesDTO {
 
        private String startDate;
 
        private String endDate;
 
        private List<PlansDTO> plans;
 
        @NoArgsConstructor
        @Data
        public static class PlansDTO {
 
            private List<Integer> weekDays;
 
            private String startTime;
 
            private String endTime;
        }
    }
 
    @NoArgsConstructor
    @Data
    public static class WidgetsDTO {
 
        private Integer zIndex;
 
        private String type;
 
        private Integer size;
 
        private String md5;
 
        private Integer duration;
 
        private String url;
 
        private LayoutDTO layout;
 
        private InAnimationDTO inAnimation;
 
        @NoArgsConstructor
        @Data
        public static class LayoutDTO {
 
            private String x;
 
            private String y;
 
            private String width;
 
            private String height;
        }
 
        @NoArgsConstructor
        @Data
        public static class InAnimationDTO {
 
            private String type;
 
            private Integer duration;
        }
    }
}