64 lines
1.4 KiB
JSON
64 lines
1.4 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "modeltype",
|
|
"title": "模型类型",
|
|
"primary": [
|
|
"id"
|
|
]
|
|
}
|
|
],
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"title": "id",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "name",
|
|
"title": "类型名",
|
|
"type": "str",
|
|
"length": 100
|
|
},
|
|
{
|
|
"name": "description",
|
|
"title": "类型说明",
|
|
"type": "str",
|
|
"length": 500
|
|
},
|
|
{
|
|
"name": "is_multiple",
|
|
"title": "是否多模态",
|
|
"type": "str",
|
|
"length": 1
|
|
},
|
|
{
|
|
"name": "input_fields",
|
|
"title": "输入字段",
|
|
"type": "str",
|
|
"length": 4000
|
|
},
|
|
{
|
|
"name": "input_view",
|
|
"title": "输入显示",
|
|
"type": "str",
|
|
"length": 4000
|
|
},
|
|
{
|
|
"name": "output_view",
|
|
"title": "输出显示",
|
|
"type": "str",
|
|
"length": 4000
|
|
}
|
|
],
|
|
"codes": [
|
|
{
|
|
"field": "is_multiple",
|
|
"table": "appcodes_kv",
|
|
"valuefield": "k",
|
|
"textfield": "v",
|
|
"cond": "parentid='yesno'"
|
|
}
|
|
]
|
|
} |