net.n2oapp.framework.api.metadata.header.Header Maven / Gradle / Ivy
package net.n2oapp.framework.api.metadata.header;
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.application.Logo;
/**
* Клиентская модель заголовока приложения
*/
@Getter
@Setter
public class Header extends Component {
@JsonProperty
private Logo logo;
@JsonProperty
private SimpleMenu menu;
@JsonProperty
private SimpleMenu extraMenu;
@JsonProperty
private SearchBar search;
@JsonProperty
private SidebarSwitcher sidebarSwitcher;
@JsonProperty
private String datasource;
@Getter
@Setter
public static class SidebarSwitcher implements Compiled {
@JsonProperty("defaultIcon")
private String icon;
@JsonProperty
private String toggledIcon;
}
}