Commit dbfda5e8 authored by 黄卓然's avatar 黄卓然

fix

parent 2af536e7
'use strict';
module.exports = function(Hosgoods) {
};
{
"name": "HosGoods",
"base": "PersistedModel",
"idInjection": false,
"options": {
"validateUpsert": true
},
"mysql": {
"schema": "wordpress",
"table": "hos_goods"
},
"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": 6,
"precision": null,
"scale": null,
"mysql": {
"columnName": "name",
"dataType": "varchar",
"dataLength": 6,
"dataPrecision": null,
"dataScale": null,
"nullable": "N"
}
},
"value": {
"type": "Number",
"required": false,
"length": null,
"precision": 32,
"scale": 0,
"mysql": {
"columnName": "value",
"dataType": "decimal",
"dataLength": null,
"dataPrecision": 32,
"dataScale": 0,
"nullable": "Y"
}
},
"area": {
"type": "String",
"required": false,
"length": 101,
"precision": null,
"scale": null,
"mysql": {
"columnName": "area",
"dataType": "varchar",
"dataLength": 101,
"dataPrecision": null,
"dataScale": null,
"nullable": "Y"
}
}
},
"validations": [],
"relations": {},
"acls": [],
"methods": {}
}
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