59 lines
1.3 KiB
JSON
59 lines
1.3 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "currency",
|
|
"title": "币种",
|
|
"primary": ["id"]
|
|
}
|
|
],
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"title": "币种代码",
|
|
"type": "str",
|
|
"length": 3
|
|
},
|
|
{
|
|
"name": "name",
|
|
"title": "币种名称",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "symbol",
|
|
"title": "货币符号",
|
|
"type": "str",
|
|
"length": 8
|
|
},
|
|
{
|
|
"name": "decimal_places",
|
|
"title": "小数位数",
|
|
"type": "short",
|
|
"default": 2
|
|
},
|
|
{
|
|
"name": "is_base",
|
|
"title": "是否本位币",
|
|
"type": "str",
|
|
"length": 1,
|
|
"default": "0"
|
|
},
|
|
{
|
|
"name": "status",
|
|
"title": "状态",
|
|
"type": "str",
|
|
"length": 16,
|
|
"default": "active"
|
|
}
|
|
],
|
|
"codes": [
|
|
{
|
|
"field": "status",
|
|
"table": "appcodes_kv",
|
|
"valuefield": "k",
|
|
"textfield": "v",
|
|
"cond": "parentid='currency_status'"
|
|
}
|
|
]
|
|
}
|