package com.bbd.bpm.vo;

import lombok.Data;

import javax.persistence.Column;
import java.util.List;

/**
 * Created by cwd on 2019/3/7
 * @Copyright  2018 BaiBangDa All rights reserved.
 */
@Data
public class MenuVO {

    private Long id;
    /**
     *菜单名称
     */
    @Column(name = "menu_name")
    private String menuName;

    /**
     * 菜单地址
     */
    @Column(name = "menu_url")
    private String menuUrl;

    /**
     * 菜单父id
     */
    @Column(name = "parent_id")
    private Long parentId;

    /**
     * 菜单顺序
     */
    @Column(name = "sequence")
    private Long sequence;

    /**
     * 子菜单
     */
    private List<MenuVO> child;

}
