Creates a generic type T instance object
The item to assign to this instance
Version using default version key. See http://mongoosejs.com/docs/guide.html#versionKey If you're using another key, you will have to access it using []: doc[_myVersionKey]
The legal company address
Base Mongoose instance the model uses.
If this is a discriminator model, baseModelName is the name of the base model.
Return a clone with JSON.parse(JSON.stringify(this))
Collection the model uses.
Connection the model uses.
Registered discriminators for this model.
The record identifier
The name of the model
The name
The owners of this company
The registration date
Schema the model uses.
The status
The vat code (partita iva)
Signal that we desire an increment of this documents version.
Override whether mongoose thinks this doc is deleted or not
whether mongoose thinks this doc is deleted.
Returns another Model instance.
model name
Removes this document from the db.
optional callback
Saves this document.
options optional options
optional callback
Generated using TypeDoc
A company