docs: Update the annotation format and field aliases

This commit is contained in:
jaysunxiao committed 2026-05-08 17:53:04 +08:00
1 parent 53ced0711c
commit ee54ea26c3
3 files changed
+3 -3

No files matched your search

@@ -44,7 +44,7 @@ public abstract class CellUtils {
} }
/** /**
* Get cell value<br> * Get cell value
* For numeric cells: return Long if no fractional part, otherwise Double * For numeric cells: return Long if no fractional part, otherwise Double
*/ */
private static Object getCellValue(Cell cell, CellType cellType) { private static Object getCellValue(Cell cell, CellType cellType) {
@@ -36,7 +36,7 @@ public class StudentResource {
@Index @Index
private String name; private String name;
@Index @Index
@AliasFieldName("Age") @AliasFieldName("年龄")
private int age; private int age;
private float score; private float score;
private String[] courses; private String[] courses;
@@ -30,7 +30,7 @@ public record TeacherResource(
String idCard, String idCard,
@Index @Index
String name, String name,
@AliasFieldName("Age") @AliasFieldName("年龄")
int age, int age,
float score, float score,
String[] courses, String[] courses,