salix/services/loopback/common/models/account.json

36 lines
518 B
JSON

{
"name": "Account",
"base": "VnModel",
"options": {
"mysql": {
"table": "user"
}
},
"properties": {
"id": {
"type": "number",
"required": true
},
"name": {
"type": "string",
"required": true
},
"password": {
"type": "string",
"required": true
},
"active": {
"type": "boolean"
},
"email": {
"type": "string"
},
"created": {
"type": "date"
},
"updated": {
"type": "date"
}
}
}