mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-03 07:13:51 +00:00
docs: Update the annotation format and field aliases
This commit is contained in:
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
|
||||
*/
|
||||
private static Object getCellValue(Cell cell, CellType cellType) {
|
||||
|
||||
@@ -36,7 +36,7 @@ public class StudentResource {
|
||||
@Index
|
||||
private String name;
|
||||
@Index
|
||||
@AliasFieldName("Age")
|
||||
@AliasFieldName("年龄")
|
||||
private int age;
|
||||
private float score;
|
||||
private String[] courses;
|
||||
|
||||
@@ -30,7 +30,7 @@ public record TeacherResource(
|
||||
String idCard,
|
||||
@Index
|
||||
String name,
|
||||
@AliasFieldName("Age")
|
||||
@AliasFieldName("年龄")
|
||||
int age,
|
||||
float score,
|
||||
String[] courses,
|
||||
|
||||
Reference in new issue
Block a user