package com.sandu.common.log;
|
|
import java.lang.annotation.ElementType;
|
import java.lang.annotation.Retention;
|
import java.lang.annotation.RetentionPolicy;
|
import java.lang.annotation.Target;
|
|
/**
|
* @author chenjiantian
|
*/
|
@Target(ElementType.METHOD)
|
@Retention(RetentionPolicy.RUNTIME)
|
public @interface Log {
|
/**
|
* 日志描述
|
* @return
|
*/
|
String value() default "";
|
|
/**
|
* 类型 0-后台 1-前台
|
* @return
|
*/
|
int type() default 0;
|
}
|