12 lines
343 B
Java
12 lines
343 B
Java
package androidx.room;
|
|
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
@Target({ElementType.FIELD, ElementType.METHOD})
|
|
@Retention(RetentionPolicy.CLASS)
|
|
public @interface PrimaryKey {
|
|
boolean autoGenerate() default false;
|
|
}
|