package com.ruzhoukj.sms.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; @TableName("sys_permission") @Data public class SysPermissionEntity { @TableId(type = IdType.AUTO) private Integer id; @TableField("name") private String name; @TableField("parent_id") private Integer parentId; @TableField("path") private String path; @TableField("level") private Integer level; }