69 lines
1.5 KiB
JSON
69 lines
1.5 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "accounting_log",
|
|
"title": "账务流水表",
|
|
"primary": [
|
|
"id"
|
|
]
|
|
}
|
|
],
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"title": "id",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "accountid",
|
|
"title": "账户id",
|
|
"type": "str",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "acc_date",
|
|
"title": "记账日期",
|
|
"type": "date"
|
|
},
|
|
{
|
|
"name": "acc_timestamp",
|
|
"title": "记账时间戳",
|
|
"type": "timestamp"
|
|
},
|
|
{
|
|
"name": "acc_dir",
|
|
"title": "记账方向",
|
|
"type": "str",
|
|
"length": 1
|
|
},
|
|
{
|
|
"name": "summary",
|
|
"title": "摘要",
|
|
"type": "str",
|
|
"length": 255
|
|
},
|
|
{
|
|
"name": "amount",
|
|
"title": "记账金额",
|
|
"type": "float",
|
|
"length": 18,
|
|
"dec": 2
|
|
},
|
|
{
|
|
"name": "billid",
|
|
"title": "账单id",
|
|
"type": "str",
|
|
"length": 32
|
|
}
|
|
],
|
|
"codes": [
|
|
{
|
|
"field": "acc_dir",
|
|
"table": "appcodes_kv",
|
|
"valuefield": "k",
|
|
"textfield": "v",
|
|
"cond": "parentid='accounting_dir'"
|
|
}
|
|
]
|
|
} |