VendureEntity

VendureEntity

Documentation generated from base.entity.ts on Feb 19 2019 at 16:20

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>)
  @PrimaryGeneratedColumn(keyType) id: ID;
  @CreateDateColumn() createdAt: Date;
  @UpdateDateColumn() updatedAt: Date;
}

Members

constructor

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

id

property
type:
ID

createdAt

property
type:
Date

updatedAt

property
type:
Date
alpha