admin
2021-10-12 664cc2fd39177fd3daa6d3988396c704d130882c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package org.yeshi.utils.generater.annotation.admin;
 
import java.lang.annotation.*;
 
/**
 * @author Administrator
 * @title: AdminController
 * @projectName utils
 * @description: 后台接口controller
 * @date 2021/9/2315:10
 */
@Documented
@Target(ElementType.TYPE)
@Inherited
@Retention(RetentionPolicy.RUNTIME)
public @interface AdminController {
 
    //接口
    String mapping();
 
    String title();
 
    //是否开启工具栏
    boolean toolbar() default true;
 
    //是否开启操作栏
    boolean operate() default true;
 
    //默认开启删除
    boolean delete() default true;
 
    //默认开启编辑
    boolean edit() default true;
 
    //默认开启分页
    boolean page() default true;
 
    boolean jsonp() default false;
 
    Class searchForm() default Void.class;
 
}