This commit is contained in:
redkale
2024-05-27 14:05:27 +08:00
parent a77180a0ba
commit bb14060517
642 changed files with 137396 additions and 137396 deletions

View File

@@ -41,24 +41,24 @@ import java.lang.annotation.*;
@Retention(RUNTIME)
public @interface Index {
/**
* (Optional) The name of the index; defaults to a provider-generated name.
*
* @return String
*/
String name() default "";
/**
* (Optional) The name of the index; defaults to a provider-generated name.
*
* @return String
*/
String name() default "";
/**
* (Required) The names of the columns to be included in the index, in order.
*
* @return String
*/
String columnList();
/**
* (Required) The names of the columns to be included in the index, in order.
*
* @return String
*/
String columnList();
/**
* (Optional) Whether the index is unique.
*
* @return boolean
*/
boolean unique() default false;
/**
* (Optional) Whether the index is unique.
*
* @return boolean
*/
boolean unique() default false;
}