package com.bbd.bpm.domain;

import com.bbd.bpm.base.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * Created by cwd on 2019/03/07.
 * 菜单表
 * @Copyright  2018 BaiBangDa All rights reserved.
 */
@Data
@Table(name="bpm_menu")
public class Menu extends BaseEntity {

    /**
     *菜单名称
     */
    @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;

}
