DatabaseTypeAnnotation 数据库存储类型
数据库存储类型
结构声明
- TS Declaration
- Java Class
- JSON Schema
interface DatabaseTypeAnnotation {
"concept": "DatabaseTypeAnnotation", // 产品概念
"typeName": string, // 类型名称
"arguments": Map<string, string>, // 类型参数
}
class DatabaseTypeAnnotationTreeNode {
ConceptEnum concept; // 产品概念
String typeName; // 类型名称
Object arguments; // 类型参数
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/DatabaseTypeAnnotation",
"definitions": {
"DatabaseTypeAnnotation": {
"type": "object",
"properties": {
"concept": {
"type": "string",
"const": "DatabaseTypeAnnotation"
},
"typeName": {
"type": "string"
},
"arguments": {
"type": "object",
"properties": {
"size": {
"type": "number"
}
},
"required": [
"size"
],
"additionalProperties": false
}
},
"required": [
"concept",
"typeName",
"arguments"
],
"additionalProperties": false
}
}
}