refactor(models): convert to json format per database-table-definition-spec

This commit is contained in:
yumoqing 2026-05-27 13:23:22 +08:00
parent cb52542567
commit af10e4a810
7 changed files with 18 additions and 9 deletions

View File

@ -30,7 +30,8 @@
"name": "balance",
"title": "账户余额",
"type": "float",
"length": 20
"length": 20,
"dec": 2
}
]
}

View File

@ -52,13 +52,15 @@
"name": "amount",
"title": "记账金额",
"type": "float",
"length": 18
"length": 18,
"dec": 2
},
{
"name": "balance",
"title": "账户余额",
"type": "float",
"length": 18
"length": 18,
"dec": 2
},
{
"name": "acclogid",

View File

@ -54,7 +54,8 @@
"name": "balance",
"title": "余额",
"type": "float",
"length": 20
"length": 20,
"dec": 2
}
],
"indexes": [

View File

@ -47,7 +47,8 @@
"name": "amount",
"title": "记账金额",
"type": "float",
"length": 18
"length": 18,
"dec": 2
},
{
"name": "billid",

View File

@ -55,7 +55,8 @@
"name": "amount",
"title": "金额",
"type": "float",
"length": 18
"length": 18,
"dec": 2
},
{
"name": "bill_date",

View File

@ -61,7 +61,8 @@
"name": "amount",
"title": "账单金额",
"type": "float",
"length": 18
"length": 18,
"dec": 2
}
]
}

View File

@ -36,13 +36,15 @@
"name": "d_balance",
"title": "借方余额",
"type": "float",
"length": 18
"length": 18,
"dec": 2
},
{
"name": "c_balance",
"title": "贷方余额",
"type": "float",
"length": 18
"length": 18,
"dec": 2
}
]
}