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

com.wizarius.orm.database.annotations.DBField Maven / Gradle / Ivy

There is a newer version: 0.0.27.3
Show newest version
package com.wizarius.orm.database.annotations;

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

/**
 * @author Vladyslav Shyshkin on 21.01.17.
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface DBField {
    String fieldName();

    boolean isAutoIncrement() default false;

    int maxLenght() default 3;

    int minLenght() default Integer.MAX_VALUE;

    boolean isCustomType() default false;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy