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

xin.xihc.jba.annotation.Table Maven / Gradle / Ivy

There is a newer version: 1.8.12
Show newest version
/**
 *
 */
package xin.xihc.jba.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * 声明表对象
 *
 * @author Leo.Xi
 * @date 2018年1月12日
 * @since
 */
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface Table {

    /**
     * 表名
     */
    String value() default "";

    /**
     * 备注
     */
    String remark() default "";

    /**
     * 表创建or更新的顺序,默认9999
     *
     * @since 1.5.0
     */
    int order() default 9999;

    /**
     * 是否忽略这张表
     *
     * @since 1.5.0
     */
    boolean ignore() default false;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy