RolePermissionMappingDO.java 752 Bytes
package com.subsidy.model;

import com.subsidy.util.BaseModel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 系统用户角色表
 * </p>
 *
 * @author DengMin
 * @since 2021-10-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("role_permission_mapping")
public class RolePermissionMappingDO extends BaseModel {

    private static final long serialVersionUID = 1L;

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

    /**
     * 权限ID
     */
    private Long roleId;

    /**
     * 角色ID
     */
    private Long permissionId;


}