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

add

parent 7e71d098
'use strict';
module.exports = function(Billcategory) {
};
{ {
"name": "WarehousingCategory", "name": "BillCategory",
"base": "PersistedModel", "base": "PersistedModel",
"idInjection": false, "idInjection": false,
"options": { "options": {
...@@ -7,9 +7,24 @@ ...@@ -7,9 +7,24 @@
}, },
"mysql": { "mysql": {
"schema": "wordpress", "schema": "wordpress",
"table": "warehousing_category" "table": "bill_category"
}, },
"properties": { "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": { "name": {
"type": "String", "type": "String",
"required": false, "required": false,
...@@ -25,14 +40,14 @@ ...@@ -25,14 +40,14 @@
"nullable": "Y" "nullable": "Y"
} }
}, },
"sku": { "value1": {
"type": "Number", "type": "Number",
"required": false, "required": false,
"length": null, "length": null,
"precision": 45, "precision": 45,
"scale": 0, "scale": 0,
"mysql": { "mysql": {
"columnName": "sku", "columnName": "value1",
"dataType": "decimal", "dataType": "decimal",
"dataLength": null, "dataLength": null,
"dataPrecision": 45, "dataPrecision": 45,
...@@ -40,14 +55,14 @@ ...@@ -40,14 +55,14 @@
"nullable": "Y" "nullable": "Y"
} }
}, },
"diff": { "value2": {
"type": "String", "type": "String",
"required": true, "required": true,
"length": 2, "length": 2,
"precision": null, "precision": null,
"scale": null, "scale": null,
"mysql": { "mysql": {
"columnName": "diff", "columnName": "value2",
"dataType": "varchar", "dataType": "varchar",
"dataLength": 2, "dataLength": 2,
"dataPrecision": null, "dataPrecision": null,
...@@ -55,14 +70,14 @@ ...@@ -55,14 +70,14 @@
"nullable": "N" "nullable": "N"
} }
}, },
"percent": { "value3": {
"type": "String", "type": "String",
"required": false, "required": false,
"length": 55, "length": 55,
"precision": null, "precision": null,
"scale": null, "scale": null,
"mysql": { "mysql": {
"columnName": "percent", "columnName": "value3",
"dataType": "varchar", "dataType": "varchar",
"dataLength": 55, "dataLength": 55,
"dataPrecision": null, "dataPrecision": null,
......
'use strict';
module.exports = function(Billshop) {
};
{ {
"name": "WarehousingShop", "name": "BillShop",
"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": "warehousing_shop" "table": "bill_shop"
}, },
"properties": { "properties": {
"name": { "name": {
...@@ -25,14 +25,14 @@ ...@@ -25,14 +25,14 @@
"nullable": "Y" "nullable": "Y"
} }
}, },
"sku": { "value1": {
"type": "Number", "type": "Number",
"required": false, "required": false,
"length": null, "length": null,
"precision": 45, "precision": 45,
"scale": 0, "scale": 0,
"mysql": { "mysql": {
"columnName": "sku", "columnName": "value1",
"dataType": "decimal", "dataType": "decimal",
"dataLength": null, "dataLength": null,
"dataPrecision": 45, "dataPrecision": 45,
...@@ -40,14 +40,14 @@ ...@@ -40,14 +40,14 @@
"nullable": "Y" "nullable": "Y"
} }
}, },
"diff": { "value2": {
"type": "String", "type": "String",
"required": true, "required": true,
"length": 2, "length": 2,
"precision": null, "precision": null,
"scale": null, "scale": null,
"mysql": { "mysql": {
"columnName": "diff", "columnName": "value2",
"dataType": "varchar", "dataType": "varchar",
"dataLength": 2, "dataLength": 2,
"dataPrecision": null, "dataPrecision": null,
...@@ -55,14 +55,14 @@ ...@@ -55,14 +55,14 @@
"nullable": "N" "nullable": "N"
} }
}, },
"percent": { "value3": {
"type": "String", "type": "String",
"required": false, "required": false,
"length": 55, "length": 55,
"precision": null, "precision": null,
"scale": null, "scale": null,
"mysql": { "mysql": {
"columnName": "percent", "columnName": "value3",
"dataType": "varchar", "dataType": "varchar",
"dataLength": 55, "dataLength": 55,
"dataPrecision": null, "dataPrecision": null,
......
'use strict';
module.exports = function(Warehousingcategory) {
};
'use strict';
module.exports = function(Warehousingshop) {
};
...@@ -676,5 +676,9 @@ ...@@ -676,5 +676,9 @@
"HosRevenue": { "HosRevenue": {
"dataSource": "ruipeng", "dataSource": "ruipeng",
"public": true "public": true
},
"BillCategory": {
"dataSource": "ruipeng",
"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