package com.jwipc.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 角色 按钮权限分配
 * </p>
 *
 * @author zhangjie
 * @since 2024-01-30
 */
@Getter
@Setter
@TableName("sp_role_res_button")
public class RoleResButton implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 司机id
     */
    private Long roleId;

    /**
     * 资源id
     */
    private Long resId;

    /**
     * 权限按钮id
     */
    private Long buttonId;
}
