All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.wangshuaitong.library.module.logger.annotation.OperateLog Maven / Gradle / Ivy

There is a newer version: 1.0.4
Show newest version
package cn.wangshuaitong.library.module.logger.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/***
 *@author wangt
 *@date 2018/8/16 16:42
 *@describe 表示记录日志注解
 **/
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface OperateLog {

    /**
     * 操作内容
     * @return
     */
    String operationContent() default "";

    /**
     * 操作模块编号
     * @return
     */
    short operationModuleNo();

    /**
     * 操作模块名称
     * @return
     */
    String operationModuleName() default "";

    /**
     * 模块类型
     * @return
     */
    short operationTypeNo();

    /**
     * 操作类型名称
     * @return
     */
    String operationTypeName() default "";

    /**
     * 是否登录接口
     * @return
     */
    boolean isLogin() default false;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy