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

com.aiwiown.face.internal.mapping.ApiField Maven / Gradle / Ivy

There is a newer version: 3.0.9
Show newest version
package com.aiwiown.face.internal.mapping;

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

/**
 * 数据结构属性注解。
 *
 * @author carver.gu
 * @since 1.0, Apr 11, 2010
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.FIELD})
public @interface ApiField {

    /**
     * JSON属性映射名称
     **/
    String value() default "";

    /**
     * 是否文件base64编码文件
     **/
    boolean isFile() default false;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy