Skip to content

@sourceloop/core / Exports / BaseEntity

Class: BaseEntity<T>

Type parameters

Name Type
T DataObject<Model>

Hierarchy

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

Defined in

packages/core/src/models/base-entity.model.ts:23