@@ -0,0 +1,993 @@
+/*%0A * Copyright 2015, Yahoo Inc.%0A * Copyrights licensed under the Apache 2.0 License.%0A * See the accompanying LICENSE file for terms.%0A */%0Apackage com.yahoo.squidb.annotations;%0A%0Aimport java.lang.annotation.ElementType;%0Aimport java.lang.annotation.Target;%0A%0A/**%0A * Used to specify that a field in a model spec should be used as the primary key for the table. This annotation%0A * is only relevant for table models, i.e. models using %7B@link TableModelSpec%7D. At this time, only a single primary%0A * key of type long is supported. You can use this annotation in combination with %7B@link ColumnSpec%7D to customize%0A * your primary key column, including giving it a custom column name or specifying whether or not the column%0A * should autoincrement (using %7B@link ColumnSpec#constraints()%7D.%0A * %3Cp/%3E%0A * If a PrimaryKey annotation is not present in a TableModelSpec class, a default ID property for the table will%0A * automatically be generated.%0A */%0A@Target(ElementType.FIELD)%0Apublic @interface PrimaryKey %7B%0A%0A%7D%0A

Add a PrimaryKey annotation that will be used to customize the primary key for a table