Commit b72beb6c authored by 余海军's avatar 余海军

添加

parent 86b6bd86
'use strict';
module.exports = function(Eachrevenue) {
};
{
"name": "Eachrevenue",
"base": "PersistedModel",
"idInjection": false,
"options": {
"validateUpsert": true
},
"mysql": {
"schema": "wordpress",
"table": "eachrevenue"
},
"properties": {
"id": {
"type": "String",
"required": false,
"length": 36,
"precision": null,
"scale": null,
"mysql": {
"columnName": "id",
"dataType": "varchar",
"dataLength": 36,
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
}
},
"name": {
"type": "String",
"required": true,
"length": 5,
"precision": null,
"scale": null,
"mysql": {
"columnName": "name",
"dataType": "varchar",
"dataLength": 5,
"dataPrecision": null,
"dataScale": null,
"nullable": "N"
}
},
"value": {
"type": "Number",
"required": false,
"length": null,
"precision": 22,
"scale": null,
"mysql": {
"columnName": "value",
"dataType": "double",
"dataLength": null,
"dataPrecision": 22,
"dataScale": null,
"nullable": "Y"
}
}
},
"validations": [],
"relations": {},
"acls": [],
"methods": {}
}
'use strict'; 'use strict';
module.exports = function(Physical) { module.exports = function(Order) {
}; };
{ {
"name": "Physical", "name": "Order",
"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": "physical" "table": "order"
}, },
"properties": { "properties": {
"id": { "id": {
......
...@@ -28,13 +28,13 @@ ...@@ -28,13 +28,13 @@
"name": { "name": {
"type": "String", "type": "String",
"required": true, "required": true,
"length": 5, "length": 4,
"precision": null, "precision": null,
"scale": null, "scale": null,
"mysql": { "mysql": {
"columnName": "name", "columnName": "name",
"dataType": "varchar", "dataType": "varchar",
"dataLength": 5, "dataLength": 4,
"dataPrecision": null, "dataPrecision": null,
"dataScale": null, "dataScale": null,
"nullable": "N" "nullable": "N"
...@@ -44,14 +44,14 @@ ...@@ -44,14 +44,14 @@
"type": "Number", "type": "Number",
"required": false, "required": false,
"length": null, "length": null,
"precision": 22, "precision": 32,
"scale": null, "scale": 0,
"mysql": { "mysql": {
"columnName": "value", "columnName": "value",
"dataType": "double", "dataType": "decimal",
"dataLength": null, "dataLength": null,
"dataPrecision": 22, "dataPrecision": 32,
"dataScale": null, "dataScale": 0,
"nullable": "Y" "nullable": "Y"
} }
} }
......
'use strict';
module.exports = function(Teachers) {
};
{
"name": "Teachers",
"base": "PersistedModel",
"idInjection": false,
"options": {
"validateUpsert": true
},
"mysql": {
"schema": "wordpress",
"table": "teachers"
},
"properties": {
"id": {
"type": "String",
"required": false,
"length": 36,
"precision": null,
"scale": null,
"mysql": {
"columnName": "id",
"dataType": "varchar",
"dataLength": 36,
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
}
},
"value": {
"type": "Number",
"required": false,
"length": null,
"precision": 23,
"scale": null,
"mysql": {
"columnName": "value",
"dataType": "double",
"dataLength": null,
"dataPrecision": 23,
"dataScale": null,
"nullable": "Y"
}
}
},
"validations": [],
"relations": {},
"acls": [],
"methods": {}
}
This diff is collapsed.
...@@ -69,11 +69,19 @@ ...@@ -69,11 +69,19 @@
"dataSource": "ruipeng", "dataSource": "ruipeng",
"public": true "public": true
}, },
"Order": {
"dataSource": "ruipeng",
"public": true
},
"Revenue": { "Revenue": {
"dataSource": "ruipeng", "dataSource": "ruipeng",
"public": true "public": true
}, },
"Physical": { "Eachrevenue": {
"dataSource": "ruipeng",
"public": true
},
"Teachers": {
"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