package cn.qinys.platform.entity.upms;

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;

import java.io.Serializable;
/**
 * 角色权限码关系表(UpmsRolePermission)实体类
 *
 * @author makejava
 * @since 2024-02-28 14:40:35
 */

@Data
@TableName("upms_role_permission")
public class UpmsRolePermission implements Serializable {

    /**
    * 主键
    * 自增 => @TableId(type = IdType.AUTO)
    */    
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
    * 角色id
    */    
    @TableField("role_id")
    private String roleId;
    /**
    * 菜单id
    */    
    @TableField("menu_id")
    private Integer menuId;

    /**
     * 菜单id
     */
    @TableField("permission_id")
    private Integer permissionId;

}
