org.jfaster.badger.query.annotations.Id Maven / Gradle / Ivy
The newest version!
package org.jfaster.badger.query.annotations;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* 主键标示
* @author yanpengfang
* create 2019-01-04 8:48 PM
*/
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Id {
boolean updatable() default false;
boolean insertable() default false;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy