Commit 86b6bd86 authored by 余海军's avatar 余海军

总订单量

parent 466a29fa
'use strict'; 'use strict';
module.exports = function(Teachers) { module.exports = function(Physical) {
}; };
{ {
"name": "Teachers", "name": "Physical",
"base": "PersistedModel", "base": "PersistedModel",
"idInjection": false, "idInjection": false,
"options": { "options": {
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
}, },
"mysql": { "mysql": {
"schema": "wordpress", "schema": "wordpress",
"table": "teachers" "table": "physical"
}, },
"properties": { "properties": {
"id": { "id": {
...@@ -25,18 +25,33 @@ ...@@ -25,18 +25,33 @@
"nullable": "Y" "nullable": "Y"
} }
}, },
"name": {
"type": "String",
"required": true,
"length": 4,
"precision": null,
"scale": null,
"mysql": {
"columnName": "name",
"dataType": "varchar",
"dataLength": 4,
"dataPrecision": null,
"dataScale": null,
"nullable": "N"
}
},
"value": { "value": {
"type": "Number", "type": "Number",
"required": false, "required": false,
"length": null, "length": null,
"precision": 23, "precision": 32,
"scale": null, "scale": 0,
"mysql": { "mysql": {
"columnName": "value", "columnName": "value",
"dataType": "double", "dataType": "decimal",
"dataLength": null, "dataLength": null,
"dataPrecision": 23, "dataPrecision": 32,
"dataScale": null, "dataScale": 0,
"nullable": "Y" "nullable": "Y"
} }
} }
......
This diff is collapsed.
...@@ -69,11 +69,11 @@ ...@@ -69,11 +69,11 @@
"dataSource": "ruipeng", "dataSource": "ruipeng",
"public": true "public": true
}, },
"Teachers": { "Revenue": {
"dataSource": "ruipeng", "dataSource": "ruipeng",
"public": true "public": true
}, },
"Revenue": { "Physical": {
"dataSource": "ruipeng", "dataSource": "ruipeng",
"public": true "public": true
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment