package com.zhgd.xmgl.modules.basicdata.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

/**
 * @Description: 角色菜单
 * @author： pds
 * @date： 2023-02-16
 * @version： V1.0
 */
@Data
@TableName("system_role_menu")
@ApiModel(value = "SystemRoleMenu实体类", description = "SystemRoleMenu")
public class SystemRoleMenu implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 角色权限id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "角色权限id(主键ID)")
    private Integer id;
    /**
     * 角色id
     */
    @Excel(name = "角色id", width = 15)
    @ApiModelProperty(value = "角色id")
    private Long roleId;
    /**
     * 菜单id
     */
    @Excel(name = "菜单id", width = 15)
    @ApiModelProperty(value = "菜单id")
    private Long menuId;
    /**
     * 权限id
     */
    @Excel(name = "权限id", width = 15)
    @ApiModelProperty(value = "权限id")
    private Long actionId;

    /**
     * 模块id
     */
    @Excel(name = "模块id", width = 15)
    @ApiModelProperty(value = "模块id")
    private Long moduleId;
}
