package com.jiayue.ipfcst.common.data.entity;

import lombok.Data;
import org.springframework.core.annotation.Order;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * 菜单实体
 *
 * @author bizy
 * @version 1.0
 * @since 2018/10/22 11:29
 */
@Data
@Entity
public class SysMenu implements Serializable {
    @Id
    @Order(1)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    private String title;
    /*父路径*/
    private String path;
    /*子路径*/
    private String itemPath;

    private String url;
}
