注释接口 StaticType
-
必需元素概要
所需元素 -
可选元素概要
可选元素修饰符和类型可选元素说明booleanHow to handle scalar fields that are not decorated by `@Static` explicitlyIf `topLevelName` is not empty, a top level static class will be generated; Otherwise, top level static class will not be generated, and it can only be referenced by other static classes
-
元素详细资料
-
alias
String aliasA short name for the static type, this name will only be used in mapping system internal, generated source code cannot be affected -
topLevelName
String topLevelNameIf `topLevelName` is not empty, a top level static class will be generated; Otherwise, top level static class will not be generated, and it can only be referenced by other static classes- 默认值:
""
-
autoScalarStrategy
AutoScalarStrategy autoScalarStrategyHow to handle scalar fields that are not decorated by `@Static` explicitly- 默认值:
ALL
-
allOptional
boolean allOptional- 默认值:
false
-