mitao
2024-04-17 d68c61517a3a6d4ec4d47844c21bdc143f99cbab
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
package com.ruoyi.common.annotation;
 
import com.ruoyi.common.enums.BusinessType;
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;
 
/**
 * 自定义操作日志记录注解
 *
 * @author ruoyi
 */
@Target({ElementType.PARAMETER, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface FinancialLog {
 
    /**
     * 模块
     */
    public String title() default "";
 
    /**
     * 功能
     */
    public BusinessType businessType() default BusinessType.OTHER;
    
}