All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.riversoft.weixin.common.menu.RuleMenu Maven / Gradle / Ivy

The newest version!
package com.riversoft.weixin.common.menu;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 个性化菜单
 * @author borball on 6/7/2016.
 */
public class RuleMenu extends Menu {

    @JsonProperty("matchrule")
    private Rule rule;

    public Rule getRule() {
        return rule;
    }

    public void setRule(Rule rule) {
        this.rule = rule;
    }

    @JsonProperty("menuid")
    private String id;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public RuleMenu rule(Rule rule) {
        this.setRule(rule);
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy