package com.jwipc.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 系统菜单
 * </p>
 *
 * @author zhangjie
 * @since 2024-01-27
 */
@Getter
@Setter
@TableName("sp_resources")
public class Resources implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String name;

    private String enName;

    private Long parentId;

    /**
     * 菜单主键key
     */
    private String resKey;

    private String type;

    /**
     * 菜单路由
     */
    private String resUrl;

    private Integer level;

    private String icon;

    private Integer hideFlag;

    /**
     * 菜单描述
     */
    private String description;

    private Integer sort;

    /**
     * 快捷菜单 0 否  1 是
     */
    private Integer shortcutMenu;

    /**
     * 菜单类型 1：pc端 2小程序端 默认pc端
     */
    private Integer menuType;

    /**
     * 待办指标编码
     */
    private String indicatorCode;
}
