注解放置在参与索引的字段上。单列索引可以省略 columns(); 复合索引可以显式列出字段或列名,具体解释由数据库实现决定。
columns()
String[]
columns
String
name