001package io.ebean.config;
002
003/**
004 * Provides the Tenant Id for the current request based on the current user.
005 */
006@FunctionalInterface
007public interface CurrentTenantProvider {
008
009 /**
010 * Return the Tenant Id for the current user.
011 */
012 Object currentId();
013}