yangys
2024-05-18 040976de6f9934b99f30268a28e2ecf42260e217
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.qianwen.core.tenant.annotation;
 
import com.baomidou.dynamic.datasource.annotation.DS;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import com.qianwen.core.tenant.dynamic.DsTenantIdProcessor;
 
@DS(DsTenantIdProcessor.TENANT_ID_KEY)
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
 
public @interface TenantDS {
}