package com.crm.rely.backend.core.pojo.table;

import com.crm.rely.backend.core.pojo.BaseTable;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "sys_node")
public class SysNodeTable extends BaseTable {
    private String code;

    private String name;

    private Long pid;
    /**
     * 前端路由
     */
    private String link;
    /**
     * 前端节点图标
     */
    private String icon;
    /**
     * 0:无效,1:有效
     */
    private Integer valid;
    /**
     * 权重 用于排序
     */
    private Integer subIndex;
}
