org.smart.data.repository.annotaion.ColumnName Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smart-data-repository Show documentation
Show all versions of smart-data-repository Show documentation
ORM that simplifies database interactions.
package org.smart.data.repository.annotaion;
import org.smart.data.repository.annotaion.service.DateFormatType;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* @author Ranzy Blessings (2017/05/30)
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface ColumnName {
/**
* @return column name
*/
String value();
/**
* @return the date format
*/
DateFormatType dateFormat() default DateFormatType.DATE;
}