package com.lesingle.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 租户菜单关联实体
 */
@Data
@TableName("t_sys_tenant_menu")
@Schema(description = "租户菜单关联实体")
public class SysTenantMenu implements Serializable {

    @Schema(description = "主键ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    @Schema(description = "租户ID")
    @TableField("tenant_id")
    private Long tenantId;

    @Schema(description = "菜单ID")
    @TableField("menu_id")
    private Long menuId;
}
