net.n2oapp.framework.api.metadata.header.MenuItem Maven / Gradle / Ivy
package net.n2oapp.framework.api.metadata.header;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import net.n2oapp.framework.api.metadata.Compiled;
import net.n2oapp.framework.api.metadata.Component;
import net.n2oapp.framework.api.metadata.aware.IdAware;
import net.n2oapp.framework.api.metadata.aware.PropertiesAware;
import net.n2oapp.framework.api.metadata.global.view.action.control.Target;
import net.n2oapp.framework.api.metadata.global.view.widget.table.ShapeType;
import net.n2oapp.framework.api.metadata.meta.ModelLink;
import net.n2oapp.framework.api.metadata.meta.action.Action;
import net.n2oapp.framework.api.metadata.meta.badge.Badge;
import java.util.ArrayList;
import java.util.Map;
@Getter
@Setter
public class MenuItem extends Component implements Compiled, PropertiesAware, IdAware {
@JsonProperty
private String id;
@JsonProperty
private String title;
@JsonProperty
private String icon;
@JsonProperty
private String imageSrc;
@JsonProperty
private ShapeType imageShape;
@JsonProperty
private String datasource;
@JsonProperty("items")
private ArrayList