云
2 天以前 bd9c8a5c560083bcb6d0a9c010f56e1f9cf83df6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package cn.iocoder.yudao.module.system.service.tenant.handler;
 
import cn.iocoder.yudao.module.system.dal.dataobject.tenant.TenantDO;
 
/**
 * 租户信息处理
 * 目的:尽量减少租户逻辑耦合到系统中
 *
 * @author 超级管理员
 */
public interface TenantInfoHandler {
 
    /**
     * 基于传入的租户信息,进行相关逻辑的执行
     * 例如说,创建用户时,超过最大账户配额
     *
     * @param tenant 租户信息
     */
    void handle(TenantDO tenant);
 
}