awaiting_payment
This commit is contained in:
@@ -14,6 +14,7 @@ import { UserEntity } from './user.entity';
|
||||
|
||||
export enum BookingStatus {
|
||||
PENDING = 'pending',
|
||||
AWAITING_PAYMENT = 'awaiting_payment',
|
||||
CONFIRMED = 'confirmed',
|
||||
CANCELLED = 'cancelled',
|
||||
COMPLETED = 'completed',
|
||||
@@ -69,6 +70,16 @@ export class BookingEntity {
|
||||
@Column({ type: 'text', nullable: true })
|
||||
cancellationReason!: string | null;
|
||||
|
||||
/** Shared token for paying a booking group (or single booking). */
|
||||
@Column({ type: 'varchar', nullable: true, length: 64 })
|
||||
paymentToken!: string | null;
|
||||
|
||||
@Column({ type: 'decimal', precision: 12, scale: 0, nullable: true })
|
||||
paymentAmount!: string | null;
|
||||
|
||||
@Column({ type: 'varchar', nullable: true, length: 64 })
|
||||
paymentAuthority!: string | null;
|
||||
|
||||
@CreateDateColumn()
|
||||
createdAt!: Date;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user