JsMenu.java
764 Bytes
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
package com.polysoft.nafmii.bean;
import com.alibaba.fastjson.annotation.JSONField;
public class JsMenu {
public static final String SHOW = "1";
public static final String HIDE = "2";
public static final String CHANGE = "3";
@JSONField(name = "type")
private String type;
@JSONField(name = "name")
private String name;
@JSONField(name = "url")
private String url;
public String getName() {
return this.name;
}
public String getUrl() {
return this.url;
}
public boolean isShow() {
return SHOW.equals(this.type);
}
public boolean isHide() {
return HIDE.equals(this.type);
}
public boolean isChange() {
return CHANGE.equals(this.type);
}
}