package com.style24.persistence.domain;

import java.util.Collection;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.style24.persistence.TscBaseDomain;

import lombok.Data;

/**
 * 메뉴 Domain
 * 
 * @author gagamel
 * @since 2020. 10. 5
 */
@SuppressWarnings("serial")
@Data
@JsonSerialize
@JsonIgnoreProperties(ignoreUnknown = true)
public class Menu extends TscBaseDomain {

	public Menu() {

	}

	private String menuId;
	private String menuNm;
	private String menuGb;
	private String menuDesc;
	private String menuUrl;
	private int dispOrd;
	private String useYn;
	private String pmenuId;
	private String pmenuNm;
	private String navigation;
	private int menuLvl;
	private int leafLvl;
	private String treePath; // AG-GRID트리패스(ag-Grid에서 트리를 표시하기 위한 패스. ag-Grid미사용시 필요 없음)

	private Collection<MenuRole> menuRoleList;
	private String roleCds;
	private String roleNms;

}
