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; } }