Model parkingcenters
Permissions
| User Group | Create? | Read? | Update? | Delete? |
|---|
| setup | x | x | x | x |
| super_user | x | x | x | x |
| admin | | x | | |
| user | | x | | |
| all | | x | | |
Fields
| Name | Type | Link | Maps To | Default | Indexed? | Unique? | Required? |
|---|
| __v | Number | | | | | | |
| _deleted | Boolean | | | false | x | | |
| _id | ObjectID | | | [Function] | | | |
| _owner_id | ObjectID | User | _owner | | x | | |
| _updated_by_id | ObjectID | User | _updated_by | | x | | |
| address | Array of String | | | [Function] | | | |
| billing_interval_in_minutes | Number | | | | | | |
| cost_per_interval | Number | | | | | | |
| createdAt | Date | | | | | | |
| grace_period_in_minutes | Number | | | | | | |
| name | String | | | | | | |
| number_of_bays | Number | | | | | | |
| remote_center_id | Number | | | | | | |
| updatedAt | Date | | | | | | |
| zones | Array of String | | | [Function] | | | |
Field Details
__v
{
"path": "__v",
"instance": "Number",
"options": {},
"validators": []
}_deleted
{
"path": "_deleted",
"instance": "Boolean",
"options": {
"default": false,
"index": true
},
"validators": [],
"defaultValue": false
}_id
{
"path": "_id",
"instance": "ObjectID",
"options": {
"auto": true,
"type": "ObjectId"
},
"validators": [],
"defaultValue": "[Function]"
}_owner_id
{
"path": "_owner_id",
"instance": "ObjectID",
"options": {
"link": "User",
"map_to": "_owner",
"index": true
},
"validators": []
}_updated_by_id
{
"path": "_updated_by_id",
"instance": "ObjectID",
"options": {
"link": "User",
"map_to": "_updated_by",
"index": true
},
"validators": []
}address
{
"path": "address",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "String"
}billing_interval_in_minutes
{
"path": "billing_interval_in_minutes",
"instance": "Number",
"options": {},
"validators": []
}cost_per_interval
{
"path": "cost_per_interval",
"instance": "Number",
"options": {},
"validators": []
}createdAt
{
"path": "createdAt",
"instance": "Date",
"options": {
"immutable": true
},
"validators": []
}grace_period_in_minutes
{
"path": "grace_period_in_minutes",
"instance": "Number",
"options": {},
"validators": []
}name
{
"path": "name",
"instance": "String",
"options": {},
"validators": []
}number_of_bays
{
"path": "number_of_bays",
"instance": "Number",
"options": {},
"validators": []
}remote_center_id
{
"path": "remote_center_id",
"instance": "Number",
"options": {},
"validators": []
}updatedAt
{
"path": "updatedAt",
"instance": "Date",
"options": {},
"validators": []
}zones
{
"path": "zones",
"instance": "Array",
"options": {
"type": [
null
]
},
"validators": [],
"defaultValue": "[Function]",
"arrayType": "String"
}