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

org.zodiac.mybatisplus.binding.parser.FieldAnnotation Maven / Gradle / Ivy

There is a newer version: 1.6.8
Show newest version
package org.zodiac.mybatisplus.binding.parser;

import java.lang.annotation.Annotation;

/**
 * 字段名与注解的包装对象关系。
 *
 */
public class FieldAnnotation {

    /**
     * 字段名
     */
    private String fieldName;
    /**
     * 字段类型
     */
    private Class fieldClass;
    /**
     * 注解
     */
    private Annotation annotation;

    public FieldAnnotation(String fieldName, Class fieldClass, Annotation annotation) {
        this.fieldName = fieldName;
        this.fieldClass = fieldClass;
        this.annotation = annotation;
    }

    public String getFieldName() {
        return fieldName;
    }

    public Annotation getAnnotation() {
        return annotation;
    }

    public Class getFieldClass() {
        return fieldClass;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy