道路环境监测node后端和java后台代码
wangrong
2021-11-24 ac1a5f4542431c28b5865acbeb81985cefdbc2a8
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
package com.example.demo.model.roades;
 
import xyz.erupt.annotation.Erupt;
import xyz.erupt.annotation.EruptField;
import xyz.erupt.annotation.sub_field.Edit;
import xyz.erupt.annotation.sub_field.EditType;
import xyz.erupt.annotation.sub_field.View;
import xyz.erupt.annotation.sub_field.sub_edit.ChoiceType;
import xyz.erupt.annotation.sub_field.sub_edit.Search;
import xyz.erupt.annotation.sub_field.sub_edit.VL;
import xyz.erupt.jpa.model.BaseModel;
 
import javax.persistence.Entity;
 
@Erupt(name = "FlagParams"
)
@Entity
public class FlagParams extends BaseModel {
 
    @EruptField(
            views = @View(
                    title = "dustflag", width = "50px", sortable = true
            ),
            edit = @Edit(
                    title = "dustflag",
                    type = EditType.CHOICE, search = @Search,
                    choiceType = @ChoiceType(vl = {@VL(value = "N", label = "N"),@VL(value = "A", label = "A"),@VL(value = "B", label = "B"),@VL(value = "C", label = "C"),@VL(value = "D", label = "D"),@VL(value = "E", label = "E"),@VL(value = "F", label = "F"),@VL(value = "G", label = "G"),@VL(value = "H", label = "H"),@VL(value = "I", label = "I"),@VL(value = "J", label = "J"),@VL(value = "K", label = "K"),@VL(value = "L", label = "L"),@VL(value = "M", label = "M"),@VL(value = "O", label = "O"),@VL(value = "P", label = "P"),@VL(value = "Q", label = "Q"),@VL(value = "R", label = "R"),@VL(value = "S", label = "S"),@VL(value = "T", label = "T"),@VL(value = "U", label = "U"),@VL(value = "V", label = "V"),@VL(value = "W", label = "W"),@VL(value = "X", label = "X"),@VL(value = "Y", label = "Y"), @VL(value = "Z", label = "Z"), @VL(value = "null", label = "null")})
            )
    )
    private String dustflag;
 
    @EruptField(
            views = @View(
                    title = "no2flag", width = "50px", sortable = true
            ),
            edit = @Edit(
                    title = "no2flag",
                    type = EditType.CHOICE, search = @Search,
                    choiceType = @ChoiceType(vl = {@VL(value = "N", label = "N"),@VL(value = "A", label = "A"),@VL(value = "B", label = "B"),@VL(value = "C", label = "C"),@VL(value = "D", label = "D"),@VL(value = "E", label = "E"),@VL(value = "F", label = "F"),@VL(value = "G", label = "G"),@VL(value = "H", label = "H"),@VL(value = "I", label = "I"),@VL(value = "J", label = "J"),@VL(value = "K", label = "K"),@VL(value = "L", label = "L"),@VL(value = "M", label = "M"),@VL(value = "O", label = "O"),@VL(value = "P", label = "P"),@VL(value = "Q", label = "Q"),@VL(value = "R", label = "R"),@VL(value = "S", label = "S"),@VL(value = "T", label = "T"),@VL(value = "U", label = "U"),@VL(value = "V", label = "V"),@VL(value = "W", label = "W"),@VL(value = "X", label = "X"),@VL(value = "Y", label = "Y"), @VL(value = "Z", label = "Z"), @VL(value = "null", label = "null")})
            )
    )
    private String no2flag;
 
    @EruptField(
            views = @View(
                    title = "noflag", width = "50px", sortable = true
            ),
            edit = @Edit(
                    title = "noflag",
                    type = EditType.CHOICE, search = @Search,
                    choiceType = @ChoiceType(vl = {@VL(value = "N", label = "N"),@VL(value = "A", label = "A"),@VL(value = "B", label = "B"),@VL(value = "C", label = "C"),@VL(value = "D", label = "D"),@VL(value = "E", label = "E"),@VL(value = "F", label = "F"),@VL(value = "G", label = "G"),@VL(value = "H", label = "H"),@VL(value = "I", label = "I"),@VL(value = "J", label = "J"),@VL(value = "K", label = "K"),@VL(value = "L", label = "L"),@VL(value = "M", label = "M"),@VL(value = "O", label = "O"),@VL(value = "P", label = "P"),@VL(value = "Q", label = "Q"),@VL(value = "R", label = "R"),@VL(value = "S", label = "S"),@VL(value = "T", label = "T"),@VL(value = "U", label = "U"),@VL(value = "V", label = "V"),@VL(value = "W", label = "W"),@VL(value = "X", label = "X"),@VL(value = "Y", label = "Y"), @VL(value = "Z", label = "Z"), @VL(value = "null", label = "null")})
            )
    )
    private String noflag;
 
    @EruptField(
            views = @View(
                    title = "coflag", width = "50px", sortable = true
            ),
            edit = @Edit(
                    title = "coflag",
                    type = EditType.CHOICE, search = @Search,
                    choiceType = @ChoiceType(vl = {@VL(value = "N", label = "N"),@VL(value = "A", label = "A"),@VL(value = "B", label = "B"),@VL(value = "C", label = "C"),@VL(value = "D", label = "D"),@VL(value = "E", label = "E"),@VL(value = "F", label = "F"),@VL(value = "G", label = "G"),@VL(value = "H", label = "H"),@VL(value = "I", label = "I"),@VL(value = "J", label = "J"),@VL(value = "K", label = "K"),@VL(value = "L", label = "L"),@VL(value = "M", label = "M"),@VL(value = "O", label = "O"),@VL(value = "P", label = "P"),@VL(value = "Q", label = "Q"),@VL(value = "R", label = "R"),@VL(value = "S", label = "S"),@VL(value = "T", label = "T"),@VL(value = "U", label = "U"),@VL(value = "V", label = "V"),@VL(value = "W", label = "W"),@VL(value = "X", label = "X"),@VL(value = "Y", label = "Y"), @VL(value = "Z", label = "Z"), @VL(value = "null", label = "null")})
            )
    )
    private String coflag;
 
    public String getDustflag() {
        return dustflag;
    }
 
    public void setDustflag(String dustflag) {
        this.dustflag = dustflag;
    }
 
    public String getNo2flag() {
        return no2flag;
    }
 
    public void setNo2flag(String no2flag) {
        this.no2flag = no2flag;
    }
 
    public String getNoflag() {
        return noflag;
    }
 
    public void setNoflag(String noflag) {
        this.noflag = noflag;
    }
 
    public String getCoflag() {
        return coflag;
    }
 
    public void setCoflag(String coflag) {
        this.coflag = coflag;
    }
 
 
}