Model businesscases


Permissions

User GroupCreate?Read?Update?Delete?
adminxxx
super_userxxxx
userxx
allx

Fields

NameTypeLinkMaps ToDefaultIndexed?Unique?Required?
__vNumber
_deletedBooleanfalsex
_idObjectID[Function]
_owner_idObjectID
_updated_by_idObjectIDUser_updated_byx
championString
close_dateDate1764918843770x
createdAtDate
current_lease_end_dateDate1764918843770x
date_createdDate1764918843770x
estimated_sign_off_dateDate1764918843770x
needsString
opportunity_idObjectIDOpportunity
organisationString
processString
reason_for_changeString
stakeholdersString
updatedAtDate

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": {},
  "validators": []
}

_updated_by_id

{
  "path": "_updated_by_id",
  "instance": "ObjectID",
  "options": {
    "link": "User",
    "map_to": "_updated_by",
    "index": true
  },
  "validators": []
}

champion

{
  "path": "champion",
  "instance": "String",
  "options": {},
  "validators": []
}

close_date

{
  "path": "close_date",
  "instance": "Date",
  "options": {
    "default": 1764918843770,
    "index": true
  },
  "validators": [],
  "defaultValue": 1764918843770
}

createdAt

{
  "path": "createdAt",
  "instance": "Date",
  "options": {
    "immutable": true
  },
  "validators": []
}

current_lease_end_date

{
  "path": "current_lease_end_date",
  "instance": "Date",
  "options": {
    "default": 1764918843770,
    "index": true
  },
  "validators": [],
  "defaultValue": 1764918843770
}

date_created

{
  "path": "date_created",
  "instance": "Date",
  "options": {
    "default": 1764918843770,
    "index": true
  },
  "validators": [],
  "defaultValue": 1764918843770
}

estimated_sign_off_date

{
  "path": "estimated_sign_off_date",
  "instance": "Date",
  "options": {
    "default": 1764918843770,
    "index": true
  },
  "validators": [],
  "defaultValue": 1764918843770
}

needs

{
  "path": "needs",
  "instance": "String",
  "options": {},
  "validators": []
}

opportunity_id

{
  "path": "opportunity_id",
  "instance": "ObjectID",
  "options": {
    "link": "Opportunity"
  },
  "validators": []
}

organisation

{
  "path": "organisation",
  "instance": "String",
  "options": {},
  "validators": []
}

process

{
  "path": "process",
  "instance": "String",
  "options": {},
  "validators": []
}

reason_for_change

{
  "path": "reason_for_change",
  "instance": "String",
  "options": {},
  "validators": []
}

stakeholders

{
  "path": "stakeholders",
  "instance": "String",
  "options": {},
  "validators": []
}

updatedAt

{
  "path": "updatedAt",
  "instance": "Date",
  "options": {},
  "validators": []
}