2022-04-28 09:46:52 +08:00
|
|
|
package com.engine.organization.annotation;
|
|
|
|
|
|
2022-04-28 13:52:09 +08:00
|
|
|
import com.engine.organization.enums.OperateTypeEnum;
|
|
|
|
|
|
2022-04-28 09:46:52 +08:00
|
|
|
import java.lang.annotation.*;
|
|
|
|
|
|
|
|
|
|
/**
|
2022-05-10 10:54:41 +08:00
|
|
|
* @Author dxfeng
|
2022-04-28 09:46:52 +08:00
|
|
|
* @Description: TODO
|
2022-05-10 10:54:41 +08:00
|
|
|
* @Date 2022/5/9
|
2022-04-28 09:46:52 +08:00
|
|
|
* @Version V1.0
|
|
|
|
|
**/
|
|
|
|
|
@Target({ElementType.PARAMETER, ElementType.METHOD})
|
|
|
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
|
|
|
@Documented
|
|
|
|
|
public @interface Log {
|
|
|
|
|
|
|
|
|
|
/**
|
2022-04-28 13:52:09 +08:00
|
|
|
* 操作类型
|
2022-04-28 09:46:52 +08:00
|
|
|
*/
|
2022-04-28 13:52:09 +08:00
|
|
|
OperateTypeEnum operateType();
|
2022-04-28 09:46:52 +08:00
|
|
|
|
|
|
|
|
/**
|
2022-04-28 13:52:09 +08:00
|
|
|
* 操作说明
|
2022-04-28 09:46:52 +08:00
|
|
|
*/
|
2022-04-28 13:52:09 +08:00
|
|
|
String operateDesc() default "";
|
2022-04-28 09:46:52 +08:00
|
|
|
}
|