package com.eactive.eai.rms.common.acl.sitemap.ui;

import java.util.ArrayList;
import java.util.List;

import com.eactive.eai.rms.data.entity.man.menu.Menu;

import lombok.Data;

@Data
public class SitemapNode {

	private String menuId;

	private String menuName;

	private String menuUrl;

	private List<SitemapNode> children = new ArrayList<>();

	public SitemapNode(Menu menu) {
		this.menuId = menu.getMenuId();
		this.menuName = menu.getMenuName();
		this.menuUrl = menu.getMenuUrl();
	}

	public SitemapNode() {
	}
}
