loopback/test/fixtures/simple-integration-app/common/models/customer.json

16 lines
236 B
JSON
Raw Normal View History

{
"name": "customer",
"base": "PersistedModel",
"properties": {
"name": {
"type": "string",
"required": true
}
},
"relations": {
"profile": {
"type": "hasOne",
"model": "profile"
}
}
}