Model parkingcenters


Permissions

User GroupCreate?Read?Update?Delete?
setupxxxx
super_userxxxx
adminx
userx
allx

Fields

NameTypeLinkMaps ToDefaultIndexed?Unique?Required?
__vNumber
_deletedBooleanfalsex
_idObjectID[Function]
_owner_idObjectIDUser_ownerx
_updated_by_idObjectIDUser_updated_byx
addressArray of String[Function]
billing_interval_in_minutesNumber
cost_per_intervalNumber
createdAtDate
grace_period_in_minutesNumber
nameString
number_of_baysNumber
remote_center_idNumber
updatedAtDate
zonesArray 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"
}