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

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
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
@TableName("t_sys_menu")
@ApiModel(value = "t_sys_menu")
public class SysMenu implements Serializable {
    @Id
    @Order(1)
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    private String icon;
    private String title;
    private String path;
    private String parentId;
    private Integer sort;
}
