@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface PrimaryKey
Marks a field as the primary key of an @Entity.
The @PrimaryKey annotation is allowed for only one Integer or Long field of an @Entity annotated class.
With the @PrimaryKey annotation the @Column annotation is also necessary and the @AutoIncrement annotation is allowed.