You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
570 B
Java
29 lines
570 B
Java
package com.engine.organization.annotation;
|
|
|
|
import com.engine.organization.enums.LogModuleNameEnum;
|
|
import com.engine.organization.enums.OperateTypeEnum;
|
|
|
|
import java.lang.annotation.*;
|
|
|
|
|
|
@Target({ElementType.PARAMETER, ElementType.METHOD})
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Documented
|
|
public @interface Log {
|
|
|
|
/**
|
|
* 操作类型
|
|
*/
|
|
OperateTypeEnum operateType();
|
|
|
|
/**
|
|
* 操作说明
|
|
*/
|
|
String operateDesc() default "";
|
|
|
|
/**
|
|
* 操作模块
|
|
*/
|
|
LogModuleNameEnum operateModule() default LogModuleNameEnum.OTHER;
|
|
}
|