Model businesscases
Permissions
User Group | Create? | Read? | Update? | Delete? |
---|
admin | x | x | x | |
super_user | x | x | x | x |
user | x | x | | |
all | x | | | |
Fields
Name | Type | Link | Maps To | Default | Indexed? | Unique? |
---|
__v | Number | | | | | |
_deleted | Boolean | | | false | x | |
_id | ObjectID | | | function defaultId() {
return new oid();
} | | |
_owner_id | ObjectID | | | | | |
_updated_by_id | ObjectID | User | _updated_by | | x | |
champion | String | | | | | |
close_date | Date | | | 1732136461260 | x | |
createdAt | Date | | | | | |
current_lease_end_date | Date | | | 1732136461260 | x | |
date_created | Date | | | 1732136461260 | x | |
estimated_sign_off_date | Date | | | 1732136461260 | x | |
needs | String | | | | | |
opportunity_id | ObjectID | Opportunity | | | | |
organisation | String | | | | | |
process | String | | | | | |
reason_for_change | String | | | | | |
stakeholders | String | | | | | |
updatedAt | Date | | | | | |
Raw definition
{
"path": "__v",
"instance": "Number",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"__v"
],
"options": {},
"_index": null
}
{
"path": "_deleted",
"instance": "Boolean",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"_deleted"
],
"options": {
"default": false,
"index": true
},
"_index": true,
"defaultValue": false
}
{
"path": "_id",
"instance": "ObjectID",
"validators": [],
"getters": [],
"setters": [
null
],
"_presplitPath": [
"_id"
],
"options": {
"auto": true,
"type": "ObjectId"
},
"_index": null
}
{
"path": "_owner_id",
"instance": "ObjectID",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"_owner_id"
],
"options": {},
"_index": null
}
{
"path": "_updated_by_id",
"instance": "ObjectID",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"_updated_by_id"
],
"options": {
"link": "User",
"map_to": "_updated_by",
"index": true
},
"_index": true
}
{
"enumValues": [],
"regExp": null,
"path": "champion",
"instance": "String",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"champion"
],
"options": {},
"_index": null
}
{
"path": "close_date",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"close_date"
],
"options": {
"default": 1732136461260,
"index": true
},
"_index": true,
"defaultValue": 1732136461260
}
{
"path": "createdAt",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [
null,
null
],
"_presplitPath": [
"createdAt"
],
"options": {
"immutable": true
},
"_index": null,
"$immutable": true
}
{
"path": "current_lease_end_date",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"current_lease_end_date"
],
"options": {
"default": 1732136461260,
"index": true
},
"_index": true,
"defaultValue": 1732136461260
}
{
"path": "date_created",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"date_created"
],
"options": {
"default": 1732136461260,
"index": true
},
"_index": true,
"defaultValue": 1732136461260
}
{
"path": "estimated_sign_off_date",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"estimated_sign_off_date"
],
"options": {
"default": 1732136461260,
"index": true
},
"_index": true,
"defaultValue": 1732136461260
}
{
"enumValues": [],
"regExp": null,
"path": "needs",
"instance": "String",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"needs"
],
"options": {},
"_index": null
}
{
"path": "opportunity_id",
"instance": "ObjectID",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"opportunity_id"
],
"options": {
"link": "Opportunity"
},
"_index": null
}
{
"enumValues": [],
"regExp": null,
"path": "organisation",
"instance": "String",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"organisation"
],
"options": {},
"_index": null
}
{
"enumValues": [],
"regExp": null,
"path": "process",
"instance": "String",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"process"
],
"options": {},
"_index": null
}
{
"enumValues": [],
"regExp": null,
"path": "reason_for_change",
"instance": "String",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"reason_for_change"
],
"options": {},
"_index": null
}
{
"enumValues": [],
"regExp": null,
"path": "stakeholders",
"instance": "String",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"stakeholders"
],
"options": {},
"_index": null
}
{
"path": "updatedAt",
"instance": "Date",
"validators": [],
"getters": [],
"setters": [],
"_presplitPath": [
"updatedAt"
],
"options": {},
"_index": null
}