31 lines
807 B
Java
31 lines
807 B
Java
package com.adc.da.Log;
|
|
|
|
import org.apache.poi.ss.usermodel.DataValidationConstraint;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
import java.lang.annotation.*;
|
|
|
|
@Target({ElementType.PARAMETER, ElementType.METHOD})
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Documented
|
|
public @interface EpcLog {
|
|
|
|
/**
|
|
* 模块
|
|
*/
|
|
public String title() default "";
|
|
|
|
/**
|
|
* 功能
|
|
*/
|
|
public BusinessType businessType() default BusinessType.其他;
|
|
|
|
//描述接口 可以理解为 接口在哪个模块下简单描述
|
|
String description();
|
|
//某些个接口需要特殊的返回语法 所以需要在这注解写死的部分
|
|
String speclaiValue() default "";
|
|
//可以给接口一个特殊标志位能够 对数据进行特殊处理
|
|
String speclaiFlag() default "";
|
|
|
|
}
|