com.gccloud.starter.common.annation.SysLog Maven / Gradle / Ivy
package com.gccloud.starter.common.annation;
import com.gccloud.starter.common.constant.GlobalConst;
import java.lang.annotation.*;
/**
* @author liuchengbiao
* @date 2020-06-19 09:47
*/
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface SysLog {
/**
* 日志中文描述
*
* @return
*/
String value() default "";
/**
* 日志类型
*/
int type() default GlobalConst.Log.Type.SELECT;
/**
* 操作的模块
*
* @return
*/
String module() default "";
}