测试用户
2023-04-13 43393f2bb11cbf9e6af40077bbc5284660e8a754
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.common.annotation;
 
import com.common.core.domain.BaseModel;
import com.jfinal.plugin.activerecord.Model;
 
import java.lang.annotation.*;
 
/**
 * @author 廖振钦
 * @date 2017-08-01
 * */
 
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface Table {
 
    String tableName();
 
    Class<? extends BaseModel<?>> clazz();
 
    String primaryKey() default "id";
}