更新 knowledge.md
This commit is contained in:
124
knowledge.md
124
knowledge.md
@@ -1021,41 +1021,113 @@ meeting_with_room_and_agenda_wo示例:
|
||||
- **写方案设计元素表达:**
|
||||
```json
|
||||
{
|
||||
"type":"object",
|
||||
"description":"写方案定义",
|
||||
"properties":{
|
||||
"uuid":{"type":"string","description":"写方案唯一标识,创建时不传,更新时必传"},
|
||||
"name":{"type":"string","description":"写方案名称,英文+下划线,32字符内"},
|
||||
"description":{"type":"string","description":"写方案描述,256字符内"},
|
||||
"bo": {"type":"string","description":"聚合根名称"},
|
||||
"type": "object",
|
||||
"description": "写方案定义",
|
||||
"properties": {
|
||||
"uuid": {
|
||||
"type": "string",
|
||||
"description": "写方案唯一标识,创建时不传,更新时必传"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "写方案名称,英文+下划线,32字符内"
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"description": "写方案描述,256字符内"
|
||||
},
|
||||
"bo": {
|
||||
"type": "string",
|
||||
"description": "聚合根名称"
|
||||
},
|
||||
"operations": {
|
||||
"type":"array","description":"实体操作定义,包括操作类型和字段",
|
||||
"items":{
|
||||
"type": "object", "description":"具体实体操作定义",
|
||||
"properties":{
|
||||
"bo":{"type":"string","description":"操作的实体"},
|
||||
"action":{"type":"string","description":"实体操作类型"},
|
||||
"type": "array",
|
||||
"description": "实体操作定义,包括操作类型和字段",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"description": "具体实体操作定义",
|
||||
"properties": {
|
||||
"bo": {
|
||||
"type": "string",
|
||||
"description": "操作的实体"
|
||||
},
|
||||
"action": {
|
||||
"type": "string",
|
||||
"description": "实体操作类型"
|
||||
},
|
||||
"uniqueKey": {
|
||||
"type":"array",
|
||||
"description":"唯一键字段列表,用于确定数据记录",
|
||||
"items":{"type":"string","description":"字段名称"}
|
||||
"type": "array",
|
||||
"description": "唯一键字段列表,用于确定数据记录",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "字段名称"
|
||||
}
|
||||
},
|
||||
"fields":{
|
||||
"type":"array",
|
||||
"items":{"type":"string","description":"字段名称,必须来自bo对象"},
|
||||
"description":"操作字段列表"
|
||||
"fields": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "字段名称,必须来自bo对象"
|
||||
},
|
||||
"incrFields":{
|
||||
"type":"array",
|
||||
"items":{ "type":"string", "description":"增量字段名称"},
|
||||
"description":"增量操作字段列表"
|
||||
"description": "操作字段列表"
|
||||
},
|
||||
"required":["bo","action","fields"]
|
||||
"incrFields": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "增量字段名称"
|
||||
},
|
||||
"description": "增量操作字段列表"
|
||||
},
|
||||
"customField": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"description": "自定义字段名称",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "字段名称,英文下划线分割,不超过32字符"
|
||||
},
|
||||
"uuid": {
|
||||
"type": "string",
|
||||
"description": "字段类型为Enum或Eo时必填,对应的Enum或Eo标识符"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "字段类型:String,Integer,Long,Float,Double,Boolean,Date,Eo,Enum,BigDecimal,List"
|
||||
},
|
||||
"innerUuid": {
|
||||
"type": "string",
|
||||
"description": "当innerType为Eo或Enum时,对应的标识符"
|
||||
},
|
||||
"innerType": {
|
||||
"type": "string",
|
||||
"description": "List元素类型:String,Integer,Long,Float,Double,Boolean,Date,Eo,Enum,BigDecimal"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"type"
|
||||
]
|
||||
},
|
||||
"description": "自定义字段列表"
|
||||
},
|
||||
"required": [
|
||||
"bo",
|
||||
"action",
|
||||
"fields"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"required":["name","description","operations","bo"]
|
||||
"required": [
|
||||
"name",
|
||||
"description",
|
||||
"operations",
|
||||
"bo"
|
||||
]
|
||||
}
|
||||
```
|
||||
- **示例:**
|
||||
|
||||
Reference in New Issue
Block a user