JsMenu.java 764 Bytes
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);
    }
}