com.github.dreamroute.starter.constraints.ApiExtResp Maven / Gradle / Ivy
package com.github.dreamroute.starter.constraints;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* 描述:用于标注DTO返回对象的属性
*
* @author w.dehi.2022-05-17
*/
@ApiExtMarker
@Target(FIELD)
@Retention(RUNTIME)
public @interface ApiExtResp {
/**
* 属性名称
*/
String value();
/**
* 是否隐藏
*/
boolean hidden() default false;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy