stack

Home > @infiniteobjects/models > QrCodeModel

QrCodeModel class

Qr Code

Signature:

export declare class QrCodeModel extends BaseFirebaseEntity implements IQrCodeSchema, IQrCode 

Extends: BaseFirebaseEntity

Implements: IQrCodeSchema, IQrCode

Properties

Property Modifiers Type Description
id   string Unique identifier of the document on the collection
printId?   string (Optional) Video Print Associated with this Code
redirectUrl   string Redirect URL
schemaVersion   QrCodeSchemaVersion Schema Version
url readonly string Full URL of the code ${QR_CODE_DOMAIN}/${this.id}

Methods

Method Modifiers Description
toCsv()   Serializes this class as a csv row
toEmbedded()   Serializes this class as an simplified object
toModel()   Serializes this class back to the model
toSchema()   Serializes this class to the Schema type