refactor(models): convert to json format per database-table-definition-spec
This commit is contained in:
parent
7aaa98d407
commit
1a2e6c5ec6
@ -39,7 +39,8 @@
|
|||||||
"name": "discount",
|
"name": "discount",
|
||||||
"title": "折扣",
|
"title": "折扣",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"length": 18
|
"length": 18,
|
||||||
|
"dec": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "step_type",
|
"name": "step_type",
|
||||||
|
|||||||
@ -26,19 +26,22 @@
|
|||||||
"name": "minamt",
|
"name": "minamt",
|
||||||
"title": "最低金额",
|
"title": "最低金额",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"length": 18
|
"length": 18,
|
||||||
|
"dec": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "maxamt",
|
"name": "maxamt",
|
||||||
"title": "最大金额",
|
"title": "最大金额",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"length": 18
|
"length": 18,
|
||||||
|
"dec": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "discount",
|
"name": "discount",
|
||||||
"title": "折扣值",
|
"title": "折扣值",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"length": 18
|
"length": 18,
|
||||||
|
"dec": 2
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -48,7 +48,8 @@
|
|||||||
"name": "amount",
|
"name": "amount",
|
||||||
"title": "金额",
|
"title": "金额",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"length": 18
|
"length": 18,
|
||||||
|
"dec": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "userid",
|
"name": "userid",
|
||||||
|
|||||||
@ -41,13 +41,15 @@
|
|||||||
"name": "list_amount",
|
"name": "list_amount",
|
||||||
"title": "原价",
|
"title": "原价",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"length": 18
|
"length": 18,
|
||||||
|
"dec": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "trans_amount",
|
"name": "trans_amount",
|
||||||
"title": "交易金额",
|
"title": "交易金额",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"length": 18
|
"length": 18,
|
||||||
|
"dec": 2
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"codes": [
|
"codes": [
|
||||||
|
|||||||
@ -37,7 +37,8 @@
|
|||||||
"name": "amount",
|
"name": "amount",
|
||||||
"title": "金额",
|
"title": "金额",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"length": 18
|
"length": 18,
|
||||||
|
"dec": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "enable_date",
|
"name": "enable_date",
|
||||||
|
|||||||
@ -37,7 +37,8 @@
|
|||||||
"name": "amount",
|
"name": "amount",
|
||||||
"title": "金额",
|
"title": "金额",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"length": 18
|
"length": 18,
|
||||||
|
"dec": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "act_date",
|
"name": "act_date",
|
||||||
|
|||||||
@ -43,7 +43,8 @@
|
|||||||
"name": "mintransamt",
|
"name": "mintransamt",
|
||||||
"title": "最低交易金额",
|
"title": "最低交易金额",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"length": 18
|
"length": 18,
|
||||||
|
"dec": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "use_multiple",
|
"name": "use_multiple",
|
||||||
|
|||||||
@ -25,7 +25,8 @@
|
|||||||
"name": "fee_rate",
|
"name": "fee_rate",
|
||||||
"title": "费率",
|
"title": "费率",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"length": 18
|
"length": 18,
|
||||||
|
"dec": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "enable_date",
|
"name": "enable_date",
|
||||||
|
|||||||
@ -38,13 +38,15 @@
|
|||||||
"name": "pr_amount",
|
"name": "pr_amount",
|
||||||
"title": "供销金额",
|
"title": "供销金额",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"length": 18
|
"length": 18,
|
||||||
|
"dec": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "list_amount",
|
"name": "list_amount",
|
||||||
"title": "报价",
|
"title": "报价",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"length": 18
|
"length": 18,
|
||||||
|
"dec": 2
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"codes": [
|
"codes": [
|
||||||
|
|||||||
@ -45,7 +45,8 @@
|
|||||||
"name": "unit_amt",
|
"name": "unit_amt",
|
||||||
"title": "价格值",
|
"title": "价格值",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"length": 18
|
"length": 18,
|
||||||
|
"dec": 2
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"codes": [
|
"codes": [
|
||||||
|
|||||||
@ -37,13 +37,15 @@
|
|||||||
"name": "recharge_amt",
|
"name": "recharge_amt",
|
||||||
"title": "充值金额",
|
"title": "充值金额",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"length": 18
|
"length": 18,
|
||||||
|
"dec": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "fee_rate",
|
"name": "fee_rate",
|
||||||
"title": "充值费率",
|
"title": "充值费率",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"length": 18
|
"length": 18,
|
||||||
|
"dec": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "fee_amt",
|
"name": "fee_amt",
|
||||||
|
|||||||
@ -26,7 +26,8 @@
|
|||||||
"name": "transrate",
|
"name": "transrate",
|
||||||
"title": "交易费率",
|
"title": "交易费率",
|
||||||
"type": "float",
|
"type": "float",
|
||||||
"length": 18
|
"length": 18,
|
||||||
|
"dec": 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "enable_date",
|
"name": "enable_date",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user