Model rfvs


Permissions

User GroupCreate?Read?Update?Delete?
adminxxxx
ownerxxxx
userxx
all

Fields

NameTypeLinkMaps ToDefaultIndexed?Unique?Required?
__vNumber
_deletedBooleanfalsex
_idObjectID[Function]
_owner_idObjectIDUser_ownerx
_updated_by_idObjectIDUser_updated_byx
createdAtDate
dateDatex
emailStringx
frequencyNumber
frequency_quantile_rankNumber
frequency_scoreNumberx
monetary_valueNumber
monetary_value_scoreNumberx
reader_idObjectIDreaderx
recencyDate
recency_quantile_rankNumber
recency_scoreNumberx
total_lifetime_valueNumber
total_lifetime_value_scoreNumberx
updatedAtDate
volumeNumber
volume_quantile_rankNumber
volume_scoreNumberx

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

createdAt

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

date

{
  "path": "date",
  "instance": "Date",
  "options": {
    "index": true
  },
  "validators": []
}

email

{
  "path": "email",
  "instance": "String",
  "options": {
    "index": true
  },
  "validators": []
}

frequency

{
  "path": "frequency",
  "instance": "Number",
  "options": {},
  "validators": []
}

frequency_quantile_rank

{
  "path": "frequency_quantile_rank",
  "instance": "Number",
  "options": {},
  "validators": []
}

frequency_score

{
  "path": "frequency_score",
  "instance": "Number",
  "options": {
    "index": true
  },
  "validators": []
}

monetary_value

{
  "path": "monetary_value",
  "instance": "Number",
  "options": {},
  "validators": []
}

monetary_value_score

{
  "path": "monetary_value_score",
  "instance": "Number",
  "options": {
    "index": true
  },
  "validators": []
}

reader_id

{
  "path": "reader_id",
  "instance": "ObjectID",
  "options": {
    "link": "reader",
    "index": true
  },
  "validators": []
}

recency

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

recency_quantile_rank

{
  "path": "recency_quantile_rank",
  "instance": "Number",
  "options": {},
  "validators": []
}

recency_score

{
  "path": "recency_score",
  "instance": "Number",
  "options": {
    "index": true
  },
  "validators": []
}

total_lifetime_value

{
  "path": "total_lifetime_value",
  "instance": "Number",
  "options": {},
  "validators": []
}

total_lifetime_value_score

{
  "path": "total_lifetime_value_score",
  "instance": "Number",
  "options": {
    "index": true
  },
  "validators": []
}

updatedAt

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

volume

{
  "path": "volume",
  "instance": "Number",
  "options": {},
  "validators": []
}

volume_quantile_rank

{
  "path": "volume_quantile_rank",
  "instance": "Number",
  "options": {},
  "validators": []
}

volume_score

{
  "path": "volume_score",
  "instance": "Number",
  "options": {
    "index": true
  },
  "validators": []
}