Back to Schema

Database Tables

Connected

Database Overview

58
Total Tables
Online
Connection Status
canaccom
Database Name

Table: booking_commissions

0 rows

Structure

Field Type Null Key Default Extra
id int NO PRI NULL auto_increment
booking_id int NO MUL NULL
invoice_id int YES MUL NULL
commission_type enum('percentage','fixed_amount') YES percentage
commission_rate decimal(5,2) YES NULL
commission_amount decimal(10,2) YES NULL
calculated_commission decimal(10,2) NO NULL
commission_paid tinyint(1) YES MUL 0
commission_paid_date date YES MUL NULL
commission_payment_method varchar(100) YES NULL
commission_payment_reference varchar(100) YES NULL
commission_notes text YES NULL
created_at timestamp YES CURRENT_TIMESTAMP DEFAULT_GENERATED
updated_at timestamp YES CURRENT_TIMESTAMP DEFAULT_GENERATED on update CURRENT_TIMESTAMP