package io.gisbi.api.menu.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MenuVO implements Serializable {

    @Serial
    private static final long serialVersionUID = -2515621871016825978L;

    @JsonIgnore
    private Long id;

    private String path;

    private String component;

    private boolean hidden;

    private boolean isPlugin;

    private String name;

    private boolean inLayout;

    private String redirect;

    private MenuMeta meta;

    private List<MenuVO> children;
}
