Skip to main content

VendureEntity

VendureEntity​

This is the base class from which all entities inherit. The type of the id property is defined by the EntityIdStrategy.

Signature
class VendureEntity {
constructor(input?: DeepPartial<VendureEntity>)
@PrimaryGeneratedId()
id: ID;
@CreateDateColumn() createdAt: Date;
@UpdateDateColumn() updatedAt: Date;
}

constructor​

method
(input?: DeepPartial<VendureEntity>) => VendureEntity

id​

property

createdAt​

property
Date

updatedAt​

property
Date