package com.wms.entity.table;

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;

@Data
@TableName(value = "tbl_sys_permission", autoResultMap = true)
public class Permission {
    /**
     * 权限id
     */
    @TableId(value = "permission_id", type = IdType.AUTO)
    private Integer permissionId;
    /**
     * 菜单id
     */
    @TableField("menu_id")
    private String menuId;
    /**
     * 角色id
     */
    @TableField("role_id")
    private Integer roleId;
}
