wangrong
2021-11-24 749179ef60bca3074f8e12325b92b0d406d9246c
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
package com.example.demo.model;/*
 * Copyright © 2020-2035 erupt.xyz All rights reserved.
 * Author: YuePeng (erupts@126.com)
 */
 
import javax.persistence.*;
import xyz.erupt.annotation.*;
import xyz.erupt.annotation.sub_erupt.*;
import xyz.erupt.annotation.sub_field.*;
import xyz.erupt.annotation.sub_field.sub_edit.*;
import xyz.erupt.upms.model.base.HyperModel;
import xyz.erupt.jpa.model.BaseModel;
import java.util.Set;
import java.util.Date;
 
@Erupt(name = "天气",
//        power = @Power(importable = true, export = true),
        orderBy = "id desc"
)
@Table(name = "t_weather")
@Entity
public class Weather extends BaseModel {
 
        @EruptField(
                views = @View(
                        title = "天气"
                ),
                edit = @Edit(
                        title = "天气",
                        type = EditType.INPUT, search = @Search, notNull = true,
                        inputType = @InputType
                )
        )
        private String weather;
 
        @EruptField(
                views = @View(
                        title = "温度"
                ),
                edit = @Edit(
                        title = "温度",
                        type = EditType.INPUT, search = @Search, notNull = true,
                        inputType = @InputType
                )
        )
        private String temperature;
 
        @EruptField(
                views = @View(
                        title = "湿度"
                ),
                edit = @Edit(
                        title = "湿度",
                        type = EditType.INPUT, search = @Search, notNull = true,
                        inputType = @InputType
                )
        )
        private String humidity;
 
        @EruptField(
                views = @View(
                        title = "风向"
                ),
                edit = @Edit(
                        title = "风向",
                        type = EditType.INPUT, search = @Search, notNull = true,
                        inputType = @InputType
                )
        )
        private String winddirection;
 
        @EruptField(
                views = @View(
                        title = "风力"
                ),
                edit = @Edit(
                        title = "风力",
                        type = EditType.INPUT, search = @Search, notNull = true,
                        inputType = @InputType
                )
        )
        private String windpower;
 
        @EruptField(
                views = @View(
                        title = "省份"
                ),
                edit = @Edit(
                        title = "省份",
                        type = EditType.INPUT, search = @Search, notNull = true,
                        inputType = @InputType
                )
        )
        private String province;
 
        @EruptField(
                views = @View(
                        title = "城市"
                ),
                edit = @Edit(
                        title = "城市",
                        type = EditType.INPUT, search = @Search, notNull = true,
                        inputType = @InputType
                )
        )
        private String city;
 
        @EruptField(
                views = @View(
                        title = "城市编码"
                ),
                edit = @Edit(
                        title = "城市编码",
                        type = EditType.INPUT, search = @Search, notNull = true,
                        inputType = @InputType
                )
        )
        private String adcode;
 
        @EruptField(
                views = @View(
                        title = "上报时间"
                ),
                edit = @Edit(
                        title = "上报时间",
                        type = EditType.INPUT, search = @Search, notNull = true,
                        inputType = @InputType
                )
        )
        private String reporttime;
 
        @EruptField(
                views = @View(
                        title = "日期"
                ),
                edit = @Edit(
                        title = "日期",
                        type = EditType.INPUT, search = @Search, notNull = true,
                        inputType = @InputType
                )
        )
        private String wdate;
 
        @EruptField(
                views = @View(
                        title = "小时"
                ),
                edit = @Edit(
                        title = "小时",
                        type = EditType.INPUT, search = @Search, notNull = true,
                        inputType = @InputType
                )
        )
        private String whour;
 
        @EruptField(
                views = @View(
                        title = "json"
                ),
                edit = @Edit(
                        title = "json",
                        type = EditType.INPUT, search = @Search, notNull = true,
                        inputType = @InputType
                )
        )
        private String weatherjson;
 
 
        public String getWeather() {
                return weather;
        }
 
        public void setWeather(String weather) {
                this.weather = weather;
        }
 
        public String getTemperature() {
                return temperature;
        }
 
        public void setTemperature(String temperature) {
                this.temperature = temperature;
        }
 
        public String getHumidity() {
                return humidity;
        }
 
        public void setHumidity(String humidity) {
                this.humidity = humidity;
        }
 
        public String getWinddirection() {
                return winddirection;
        }
 
        public void setWinddirection(String winddirection) {
                this.winddirection = winddirection;
        }
 
        public String getWindpower() {
                return windpower;
        }
 
        public void setWindpower(String windpower) {
                this.windpower = windpower;
        }
 
        public String getProvince() {
                return province;
        }
 
        public void setProvince(String province) {
                this.province = province;
        }
 
        public String getCity() {
                return city;
        }
 
        public void setCity(String city) {
                this.city = city;
        }
 
        public String getAdcode() {
                return adcode;
        }
 
        public void setAdcode(String adcode) {
                this.adcode = adcode;
        }
 
        public String getReporttime() {
                return reporttime;
        }
 
        public void setReporttime(String reporttime) {
                this.reporttime = reporttime;
        }
 
        public String getWdate() {
                return wdate;
        }
 
        public void setWdate(String wdate) {
                this.wdate = wdate;
        }
 
        public String getWhour() {
                return whour;
        }
 
        public void setWhour(String whour) {
                this.whour = whour;
        }
 
        public String getWeatherjson() {
                return weatherjson;
        }
 
        public void setWeatherjson(String weatherjson) {
                this.weatherjson = weatherjson;
        }
}