jzheng2017/resultset-mapper

View on GitHub
src/main/java/nl/jiankai/annotations/Column.java

Summary

Maintainability
A
0 mins
Test Coverage
package nl.jiankai.annotations;

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

/**
 * This annotation can be used to override the {@link nl.jiankai.mapper.strategies.FieldNamingStrategy}.
 */
@Target(value = {ElementType.FIELD})
@Retention(value = RetentionPolicy.RUNTIME)
public @interface Column {
    String name();
}