package com.ema.admin.modules.system.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 系统角色和菜单关联表 实体类。
 *
 * @author LIJIAN
 * @since 2026-03-23
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("系统角色和菜单关联表")
@Table("sys_role_menu")
public class SysRoleMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色ID
     */
    @Id
    @ApiModelProperty("角色ID")
    private String roleId;

    /**
     * 菜单ID
     */
    @Id
    @ApiModelProperty("菜单ID")
    private String menuId;

}
