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

com.yixan.base.annotation.OperateRecord Maven / Gradle / Ivy

There is a newer version: 3.7.1
Show newest version
package com.yixan.base.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.yixan.base.common.enums.OperateType;

/**
 * 操作日志
* 写在Controller的方法上, 用于标记此方法所表示的操作描述
* * @author zhaohuihua * @version V1.0 2017年08月09日 */ @Target({ ElementType.TYPE, ElementType.METHOD, ElementType.ANNOTATION_TYPE }) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface OperateRecord { /** 启用/禁用 **/ boolean enable() default true; /** 操作描述 **/ String value() default ""; /** 操作类型 **/ OperateType type() default OperateType.OTHER; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy