HistoryEntry
HistoryEntry
An abstract entity representing an entry in the history of an Order (OrderHistoryEntry) or a Customer (CustomerHistoryEntry).
Signature
class HistoryEntry extends VendureEntity implements HasCustomFields {
@Index()
@ManyToOne(type => Administrator)
administrator?: Administrator;
@Column({ nullable: false, type: 'varchar' })
readonly type: HistoryEntryType;
@Column()
isPublic: boolean;
@Column('simple-json')
data: any;
@Column(type => CustomHistoryEntryFields)
customFields: CustomHistoryEntryFields;
}
-
Extends:
VendureEntity
-
Implements:
HasCustomFields