Abstract Class: RecoverableBaseEntity
Defined in: service-core/src/models/RecoverableBaseEntity.ts:15
The RecoverableBaseEntity provides an entity base class for those classes wishing to implement
soft delete capability. A soft delete means that a delete operation does not remove the entity
from the database but instead simply marks it as deleted. To completely remove the entity from
the database the user must explicitly specify the entity to be purged.
Extends
Extended by
Constructors
Constructor
new RecoverableBaseEntity(
other?):RecoverableBaseEntity
Defined in: service-core/src/models/RecoverableBaseEntity.ts:22
Parameters
other?
Partial<RecoverableBaseEntity>
Returns
RecoverableBaseEntity
Overrides
Properties
dateCreated
dateCreated:
Date
Defined in: service-core/src/models/BaseEntity.ts:35
The date and time that the entity was created.
Inherited from
dateModified
dateModified:
Date
Defined in: service-core/src/models/BaseEntity.ts:43
The date and time that the entity was last modified.
Inherited from
deleted
deleted:
boolean=false
Defined in: service-core/src/models/RecoverableBaseEntity.ts:20
Indicates if the document has been soft deleted.
uid
uid:
string
Defined in: service-core/src/models/BaseEntity.ts:27
The universally unique identifier of the entity.
Inherited from
version
version:
number=0
Defined in: service-core/src/models/BaseEntity.ts:50
The optimistic lock version.