package org.dromara.system.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.system.domain.SysRolePermission;

import java.io.Serial;
import java.io.Serializable;


/**
 * 角色和菜单关联视图对象 sys_role_permission
 *
 * @author shihongwei
 * @date 2025-12-24
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = SysRolePermission.class)
public class SysRolePermissionVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 角色ID
     */
    @ExcelProperty(value = "角色ID")
    private Long roleId;

    /**
     * 菜单ID
     */
    @ExcelProperty(value = "菜单ID")
    private Long menuId;


}
