@sourceloop/core / Exports / BaseEntity
Class: BaseEntity<T>¶
Type parameters¶
Name | Type |
---|---|
T |
DataObject <Model > |
Hierarchy¶
-
SoftDeleteEntity
↳
BaseEntity
Table of contents¶
Constructors¶
Properties¶
Constructors¶
constructor¶
• new BaseEntity<T
>(data?
)
Type parameters¶
Name | Type |
---|---|
T |
DataObject <Model > |
Parameters¶
Name | Type |
---|---|
data? |
Partial <T > |
Overrides¶
SoftDeleteEntity.constructor
Defined in¶
packages/core/src/models/base-entity.model.ts:25
Properties¶
createdOn¶
• Optional
createdOn: Date
Defined in¶
packages/core/src/models/base-entity.model.ts:16
modifiedOn¶
• Optional
modifiedOn: Date