0% found this document useful (0 votes)
8 views

FULL TABLE OF DBDUMP

The document outlines the structure and fields for various database tables related to customer details, transactions, wallets, and KYC documentation. It includes specifications for customer information, payment notifications, vehicle records, and agent-related data. Each table is described with its attributes, data types, and constraints, providing a comprehensive schema for managing customer and transaction data.

Uploaded by

pbantony4
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

FULL TABLE OF DBDUMP

The document outlines the structure and fields for various database tables related to customer details, transactions, wallets, and KYC documentation. It includes specifications for customer information, payment notifications, vehicle records, and agent-related data. Each table is described with its attributes, data types, and constraints, providing a comprehensive schema for managing customer and transaction data.

Uploaded by

pbantony4
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 47

customer_details

customer_details
├── id (INT, Primary Key)
├── customer_id (VARCHAR) - Unique identifier for the customer
├── customerType (VARCHAR) - Type of customer (e.g., Individual,
Business)
├── gender (VARCHAR) - Gender of the customer (e.g., Male, Female)
├── dob (DATE) - Date of birth of the customer
├── gstNo (VARCHAR) - GST Number (for business customers)
├── phoneNo (VARCHAR) - Customer's phone number
├── usrConsent (BOOLEAN) - User consent for data processing
├── address1 (VARCHAR) - First line of customer's address
├── address2 (VARCHAR) - Second line of customer's address (optional)
├── address3 (VARCHAR) - Third line of customer's address (optional)
├── city (VARCHAR) - Customer's city
├── district (VARCHAR) - District where customer resides
├── state (VARCHAR) - State of the customer
├── country (VARCHAR) - Country of the customer
├── pincode (VARCHAR) - Postal code of customer's address
├── kycFlag (BOOLEAN) - Flag if customer completed KYC
├── status (VARCHAR) - Current customer status (e.g., Active, Inactive)
└── created (TIMESTAMP) - Timestamp when customer was created or
registered
Customers

├── id (INT, Primary Key)


├── idfc_customer_id (VARCHAR) - Unique customer ID
├── firstName (VARCHAR) - Customer's first name
├── middleName (VARCHAR) - Customer's middle name
(optional)
├── lastName (VARCHAR) - Customer's last name
├── gender (VARCHAR) - Customer's gender
├── dob (DATE) - Customer's date of birth
├── gstNo (VARCHAR) - GST number (if applicable)
├── mobileNo (VARCHAR) - Customer's mobile number
├── phoneNo (VARCHAR) - Customer's phone number
├── emailId (VARCHAR) - Customer's email address
├── password (VARCHAR) - Customer's password (hashed)
├── usrConsent (BOOLEAN) - User consent for data processing
├── address1 (VARCHAR) - First line of the customer's address
├── address2 (VARCHAR) - Second line of the customer's
address
├── address3 (VARCHAR) - Third line of the customer's address
(optional)
├── district (VARCHAR) - Customer's district
├── city (VARCHAR) - Customer's city
├── country (VARCHAR) - Customer's country
├── state (VARCHAR) - Customer's state
├── pincode (VARCHAR) - Customer's postal code
├── uploadType (VARCHAR) - Type of upload (profile pic,
documents)
├── agent (VARCHAR) - Agent associated with the customer
├── assistant (VARCHAR) - Assistant associated with the
customer
├── authorization_token (VARCHAR) - Token for customer
authorization
├── otp (VARCHAR) - One-time password for verification
├── otp_generated_at (TIMESTAMP) - OTP generation timestamp
├── profile_pic (VARCHAR) - Profile picture URL or path
├── kycFlag (BOOLEAN) - KYC completion status
├── is_active (BOOLEAN) - Customer's account status (active or
inactive)
├── update_mobile (VARCHAR) - Mobile number update status
└── created (TIMESTAMP) - Account creation timestamp
country

Country
├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) - Unique
identifier for the country record
├── country (VARCHAR(255)) - Name of the country
├── status (ENUM('Active', 'Inactive')) - Status of the country
(defaults to 'Active')
├── created (TIMESTAMP) - Timestamp when the record was
created (defaults to CURRENT_TIMESTAMP)
cashfree_payment_notification

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the payment notification record
├── orderId (INT, UNSIGNED) - The order ID associated with the
payment
├── orderAmount (DECIMAL(10, 2)) - The total order amount (e.g.,
100.00)
├── referenceId (VARCHAR(100)) - The reference ID for the
transaction (nullable)
├── paymentMode (VARCHAR(100)) - Payment method used (e.g.,
Credit Card, UPI) (nullable)
├── txMsg (VARCHAR(100)) - Transaction message or status
description (nullable)
├── txTime (VARCHAR(30)) - Timestamp or time of the transaction
(nullable)
├── txStatus (VARCHAR(20)) - Status of the transaction (defaults to
'PENDING')
├── is_verified (TINYINT(1)) - Flag indicating whether the payment
has been verified (defaults to 0)
├── created (TIMESTAMP) - Timestamp when the record was
created (defaults to CURRENT_TIMESTAMP)
bbps_transactions_recharge_failed

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the record
├── order_id (INT, UNSIGNED) - The order ID associated with the
transaction
├── request_id (VARCHAR(40)) - A unique request ID for the failed
transaction
├── error_code (VARCHAR(10)) - Code representing the error, if
any (nullable)
├── error_message (VARCHAR(250)) - Detailed error message, if any
(nullable)
├── status (ENUM('pending', 'processed')) - Current processing
status of the transaction (defaults to 'pending')
├── final_status (ENUM('SUCCESS', 'PENDING', 'Refunded')) - Final
status of the transaction (nullable)
├── transaction_time (DATETIME) - Timestamp for the transaction
time (nullable)
├── created (TIMESTAMP) - Timestamp when the record was
created (defaults to CURRENT_TIMESTAMP)
bbps_transactions

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the record
├── request_id (VARCHAR(40)) - Unique request ID for the
transaction
├── vehicle_id (INT, UNSIGNED) - Reference to the vehicle
associated with the transaction
├── bbps_biller_id (VARCHAR(32)) - ID of the biller for the
transaction
├── order_id (INT, UNSIGNED) - The associated order ID
(nullable)
├── xml (TEXT) - XML data related to the transaction (nullable)
├── max_recharge_amount (DECIMAL(10,2)) - Maximum amount
allowed for the recharge (defaults to 0.00)
├── txnRefId (VARCHAR(30)) - Transaction reference ID
(nullable)
├── approvalRefNumber (VARCHAR(30)) - Reference number for the
approval (nullable)
├── status (ENUM('bill_fetch_success', 'bill_fetch_failed',
'bill_pay_success', 'bill_pay_pending', 'pending', 'cancelled')) - Current
status of the transaction (defaults to 'pending')
├── created (TIMESTAMP) - Timestamp when the record was
created (defaults to CURRENT_TIMESTAMP)
bbps_fastag_vehicle_list

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the record
├── tbl_biller_id (INT(8), UNSIGNED) - Reference to the biller ID
associated with the vehicle
├── customer_id (INT, UNSIGNED) - Customer ID associated with
the vehicle
├── vehicle_number (VARCHAR(15)) - Vehicle number (license plate)
├── is_deleted (TINYINT(1)) - Flag indicating whether the record
is deleted (defaults to 0, not deleted)
├── modified (DATETIME) - Timestamp when the record was
last modified (nullable)
├── created (TIMESTAMP) - Timestamp when the record was
created (defaults to CURRENT_TIMESTAMP)
bbps_fastag_billers

├── id (INT(8), Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the biller record
├── bbps_biller_id (VARCHAR(32)) - Unique identifier for the BBPS
biller
├── biller_name (VARCHAR(200)) - Name of the biller
├── category_name (VARCHAR(50)) - Category of the biller (e.g.,
Fastag, Utilities)
├── biller_logo (VARCHAR(200)) - URL or path to the biller's logo
(nullable)
├── billerInputParamName (VARCHAR(250)) - Name for the input
parameter used by the biller (nullable)
├── is_active (TINYINT(1)) - Flag indicating if the biller is active
(defaults to '0', inactive)
├── modified (DATETIME) - Timestamp when the record was
last modified (nullable)
├── created (TIMESTAMP) - Timestamp when the record was
created (defaults to CURRENT_TIMESTAMP)
agent_wallet_transactions

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the transaction record
├── wallet_id (INT) - Reference to the wallet ID associated with the
transaction
├── user_id (INT, UNSIGNED) - User ID of the agent who made the
transaction
├── transaction_type (ENUM('Tag Issuance', 'Tag Recharge', 'Tag
Replacement', 'Wallet Recharge')) - Type of transaction
├── credit_debit (ENUM('Credit', 'Debit')) - Indicates whether the
transaction was a credit or debit
├── amount (DECIMAL(10, 2)) - Amount of the transaction
├── current_balance (DECIMAL(10, 2)) - Wallet balance after the
transaction
├── created (TIMESTAMP) - Timestamp when the transaction
record was created (defaults to CURRENT_TIMESTAMP)
agent_assistant_authorization

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the authorization record
├── assistant_id (INT, UNSIGNED) - Reference to the assistant ID
associated with the authorization
├── authorization_token (VARCHAR(100)) - Token used for
authorization (nullable)
├── otp (VARCHAR(10)) - One-Time Password (OTP)
associated with the authorization (nullable)
├── otp_generated_at (DATETIME) - Timestamp when the OTP was
generated (nullable)
├── profile_pic (VARCHAR(100)) - URL or path to the assistant's
profile picture (nullable)
├── created (TIMESTAMP) - Timestamp when the record was
created (defaults to CURRENT_TIMESTAMP)
agent_assistant_map

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the mapping record
├── agent_id (INT, UNSIGNED) - Reference to the agent ID associated
with the mapping
├── assistant_id (INT, UNSIGNED) - Reference to the assistant ID
associated with the mapping
├── created (TIMESTAMP) - Timestamp when the record was
created (defaults to CURRENT_TIMESTAMP)
customer_kyc_docs

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the KYC document record
├── customer_id (INT, UNSIGNED) - Reference to the customer ID
associated with the KYC document
├── docType (VARCHAR(100)) - Type of document (e.g., ID proof,
address proof)
├── docName (VARCHAR(100)) - Name of the document (e.g.,
Aadhaar, Passport)
├── docNo (VARCHAR(100)) - Document number (e.g., Aadhaar
number, Passport number)
├── uploadFileFront (VARCHAR(255)) - File path/URL for the front side
of the uploaded document (nullable)
├── uploadFileBack (VARCHAR(255)) - File path/URL for the back side
of the uploaded document (nullable)
├── created (TIMESTAMP) - Timestamp when the KYC document
record was created (defaults to CURRENT_TIMESTAMP)
customer_vehicles

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the vehicle record
├── customer_id (INT, UNSIGNED) - Reference to the customer ID
associated with the vehicle
├── tagId (VARCHAR(100)) - Tag ID associated with the vehicle
(nullable)
├── chasisNo (VARCHAR(100)) - Chassis number of the vehicle
(nullable)
├── barcode (VARCHAR(100)) - Barcode of the vehicle (nullable)
├── engineNo (VARCHAR(100)) - Engine number of the vehicle
(nullable)
├── vehicleMakeModel (VARCHAR(100)) - Make and model of the
vehicle (nullable)
├── vehicleColor (VARCHAR(50)) - Color of the vehicle (nullable)
├── vehicleRegAvlbl (ENUM('N','Y')) - Availability of vehicle
registration (default 'Y')
├── vrn (VARCHAR(25)) - Vehicle registration number (nullable)
├── regDate (VARCHAR(25)) - Registration date of the vehicle
(nullable)
├── issFee (DECIMAL(10,2)) - Issuance fee for the vehicle tag
(nullable)
├── security (DECIMAL(10,2)) - Security amount for the vehicle
(nullable)
├── initial (DECIMAL(10,2)) - Initial payment for the vehicle
(nullable)
├── minBal (DECIMAL(10,2)) - Minimum balance for the vehicle
(nullable)
├── exempted (ENUM('N','Y')) - Flag indicating whether the vehicle
is exempted (default 'N')
├── exemptedCatg (VARCHAR(100)) - Exemption category if the
vehicle is exempted (nullable)
├── commVeh (ENUM('N','Y')) - Flag indicating whether the
vehicle is a commercial vehicle (default 'N')
├── tag_issue_status (VARCHAR(255)) - Status of the tag issue process
(default 'Pending')
├── modified (DATETIME) - Timestamp when the vehicle record
was last modified (nullable)
├── created (TIMESTAMP) - Timestamp when the vehicle record
was created (defaults to CURRENT_TIMESTAMP)
customer_vehicle_docs

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the vehicle document record
├── customer_id (INT, UNSIGNED) - Reference to the customer ID
associated with the vehicle
├── customer_vehicle_id (INT, UNSIGNED) - Reference to the vehicle ID
associated with the customer
├── docName (VARCHAR(100)) - Name of the document
(nullable)
├── docNo (VARCHAR(100)) - Document number (nullable)
├── uploadFile (VARCHAR(255)) - File path/URL for the uploaded
document (nullable)
├── docName2 (VARCHAR(100)) - Name of the second document
(not nullable)
├── docNo2 (VARCHAR(100)) - Document number of the
second document (not nullable)
├── uploadFile2 (VARCHAR(250)) - File path/URL for the second
uploaded document (not nullable)
├── created (TIMESTAMP) - Timestamp when the vehicle
document record was created (defaults to CURRENT_TIMESTAMP)
customer_wallets

├── wallet_id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the wallet
├── customer_id (INT, UNSIGNED) - Reference to the customer ID
associated with the wallet
├── balance (DECIMAL(10,2)) - The current balance in the wallet
(default '0.00')
├── is_active (TINYINT(1)) - Status of the wallet (active or inactive;
default '0' for inactive)
├── created (TIMESTAMP) - Timestamp when the wallet record
was created (defaults to CURRENT_TIMESTAMP)
Districts

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) - Unique


identifier for the district record
├── state_id (INT, UNSIGNED) - Reference to the state ID to which the
district belongs
├── district (VARCHAR(255)) - Name of the district
├── status (ENUM('Active', 'Inactive')) - Status of the district (default
'Active')
├── created (TIMESTAMP) - Timestamp when the district record was
created (defaults to CURRENT_TIMESTAMP)
Faq

├── id (INT, Primary Key, AUTO_INCREMENT) - Unique identifier


for the FAQ record
├── title (VARCHAR(100)) - Title of the FAQ
├── description (TEXT) - Detailed description or content of the FAQ
├── status (TINYINT(4)) - Status of the FAQ (0 for inactive, 1 for
active)
├── created (TIMESTAMP) - Timestamp when the FAQ record was
created (defaults to CURRENT_TIMESTAMP)
agent_wallet

├── wallet_id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the wallet record
├── agent_id (INT, UNSIGNED) - Reference to the agent ID
associated with the wallet
├── balance (DECIMAL(10, 2)) - Current balance of the wallet
(defaults to 0.00)
├── is_active (TINYINT(1)) - Flag indicating if the wallet is active
(defaults to 1, active)
├── updated (DATETIME) - Timestamp of when the wallet was
last updated (nullable)
├── created (TIMESTAMP) - Timestamp when the wallet record
was created (defaults to CURRENT_TIMESTAMP)
Faq

├── id (INT, Primary Key, AUTO_INCREMENT) - Unique identifier


for the FAQ record
├── title (VARCHAR(100)) - Title of the FAQ
├── description (TEXT) - Detailed description or content of the FAQ
├── status (TINYINT(4)) - Status of the FAQ (0 for inactive, 1 for
active)
├── created (TIMESTAMP) - Timestamp when the FAQ record was
created (defaults to CURRENT_TIMESTAMP)
fastag_inventory

├── id (INT, Primary Key, AUTO_INCREMENT) - Unique identifier


for the fastag inventory record
├── fastag_id (VARCHAR(250)) - ID of the Fastag
├── barcode (VARCHAR(250)) - Barcode associated with the Fastag
├── vehicle_class (VARCHAR(250)) - Vehicle class related to the Fastag
├── status (VARCHAR(250)) - Status of the Fastag (default 'New')
├── date (DATETIME) - Date associated with the Fastag record
├── file_name (VARCHAR(250)) - Name of the file associated with the
Fastag
├── created_at (TIMESTAMP) - Timestamp when the Fastag inventory
record was created (defaults to CURRENT_TIMESTAMP)
fastag_recharge_failed

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the failed recharge record
├── order_id (INT, UNSIGNED) - Order ID related to the recharge
transaction
├── txnId (VARCHAR(20)) - Transaction ID associated with the
failed recharge attempt
├── rechargeAmount (VARCHAR(20)) - Amount that was attempted to
be recharged
├── tagId (VARCHAR(30)) - ID of the Fastag involved in the failed
recharge
├── resCode (VARCHAR(20)) - Response code received for the
recharge attempt
├── resMsg (VARCHAR(100)) - Response message providing details
on the failed recharge
├── status (VARCHAR(10)) - Status of the recharge attempt (default
'PENDING')
├── created (TIMESTAMP) - Timestamp when the failed recharge
record was created (defaults to CURRENT_TIMESTAMP)
fastag_recharge_idfc_response

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the recharge response record
├── order_id (INT, UNSIGNED) - Order ID related to the recharge
transaction
├── txnId (VARCHAR(20)) - Transaction ID associated with the
recharge attempt
├── rechargeAmount (VARCHAR(20)) - Amount that was recharged on
the Fastag
├── tagId (VARCHAR(30)) - ID of the Fastag involved in the
recharge
├── resCode (VARCHAR(20)) - Response code received for the
recharge attempt
├── resMsg (VARCHAR(100)) - Response message detailing the
status of the recharge
├── status (VARCHAR(10)) - Status of the recharge response
(default 'PENDING')
├── created (TIMESTAMP) - Timestamp when the recharge response
record was created (defaults to CURRENT_TIMESTAMP)
fastag_transactions

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the transaction record
├── txnNo (VARCHAR(25)) - Transaction number (unique identifier
for the transaction)
├── txnDt (VARCHAR(22)) - Date and time of the transaction
├── processingDt (VARCHAR(22)) - Date and time when the transaction
was processed
├── clientTxnID (VARCHAR(25)) - Client-specific transaction ID
├── plazaId (VARCHAR(15)) - ID of the plaza where the transaction
took place
├── txnType (VARCHAR(5)) - Type of transaction (e.g., 'recharge',
'payment')
├── tagId (VARCHAR(32)) - ID of the Fastag involved in the
transaction
├── creditAmt (VARCHAR(10)) - Credit amount for the transaction (if
applicable)
├── debitAmt (VARCHAR(10)) - Debit amount for the transaction (if
applicable)
├── balance (VARCHAR(10)) - Balance remaining after the
transaction
├── txnDetails (VARCHAR(150)) - Additional details or description
about the transaction
├── org_txn_id (VARCHAR(25)) - Original transaction ID, if the current
transaction is a modification or reversal
├── reasonCodeDA (VARCHAR(10)) - Reason code for the
debit/adjustment (if applicable)
├── laneDirection (VARCHAR(10)) - Direction of the lane (e.g., 'entry',
'exit')
├── created (TIMESTAMP) - Timestamp when the transaction record
was created (defaults to CURRENT_TIMESTAMP)
fastag_transactions_customers

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the record
├── tbl_transaction_id (INT, UNSIGNED) - Foreign Key referencing the
`id` of the related transaction from the `fastag_transactions` table
├── customer_id (INT, UNSIGNED) - ID of the customer associated
with the transaction
├── details (VARCHAR(150)) - Additional details about the
transaction (optional)
├── vrn (VARCHAR(20)) - Vehicle Registration Number (VRN)
associated with the transaction
├── txnNo (VARCHAR(25)) - Transaction number (unique
identifier for the transaction)
├── transactionType (VARCHAR(5)) - Type of transaction (e.g.,
'recharge', 'payment', 'adjustment')
├── amount (DECIMAL(10,2)) - Amount of money involved in the
transaction
├── transaction_date (DATETIME) - Date and time of the transaction
├── customer_idx (INDEX, customer_id, vrn) - Index on
`customer_id` and `vrn` for quicker lookups
fastag_txn_push

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) - Unique


identifier for the record
├── filename (VARCHAR(100)) - Name of the file associated with the
transaction push
├── status (VARCHAR(20)) - Status of the transaction push (e.g.,
'Pending', 'Processed', etc.)
├── txnCount (INT(5)) - The number of transactions in the push
├── created (TIMESTAMP) - Date and time when the record was
created
fastag_vrn_map

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) - Unique


identifier for the record
├── customer_id (INT, UNSIGNED) - Reference to the customer
associated with the record (optional)
├── tagId (VARCHAR(32)) - Tag ID associated with the vehicle
├── vrn (VARCHAR(15)) - Vehicle Registration Number (VRN) of the
vehicle
├── accntNum (VARCHAR(25)) - Account number linked to the vehicle
and tag
mobile_notifications

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the notification record
├── notification_type (ENUM('info', 'warning', 'promotion')) - Type of
notification (info, warning, or promotion)
├── title (VARCHAR(150)) - Title of the notification
├── description (VARCHAR(250)) - Description or message of the
notification
├── is_active (TINYINT(1)) - Status of the notification (0 for inactive,
1 for active)
├── created (TIMESTAMP) - Timestamp when the notification was
created (auto-generated)
mobile_notification_map

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the record
├── notification_id (INT, UNSIGNED) - Foreign key referencing the
notification from `mobile_notifications`
├── to_user_id (INT, UNSIGNED, NULLABLE) - ID of the user
receiving the notification
├── user_type (ENUM('Customers', 'Users'), NULLABLE) - Type of
user ('Customers' or 'Users') receiving the notification
├── is_read (TINYINT(1)) - Flag indicating whether the notification
has been read (0 = No, 1 = Yes)
├── is_deleted (TINYINT(1)) - Flag indicating whether the
notification has been deleted (0 = No, 1 = Yes)
├── modified (DATETIME, NULLABLE) - Timestamp when the
notification record was last modified
├── created (TIMESTAMP) - Timestamp when the notification
record was created (auto-generated)
mobile_sliders

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the slider record
├── image_url (VARCHAR(100)) - URL of the image to be
displayed in the slider
├── title (VARCHAR(150), NULLABLE) - Title of the slider
(optional)
├── description (VARCHAR(250), NULLABLE) - Description of the
slider (optional)
├── is_active (TINYINT(1)) - Flag indicating whether the slider is
active (0 = No, 1 = Yes)
├── is_active_outside_url (TINYINT(1)) - Flag indicating if the slider links
to an outside URL (0 = No, 1 = Yes)
├── outside_url (VARCHAR(250), NULLABLE) - External URL the
slider links to, if applicable
├── sequence (MEDIUMINT(9)) - Sequence order of the slider
(used to sort the sliders)
├── created (TIMESTAMP) - Timestamp when the slider record
was created (auto-generated)
mobile_sliders

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the slider record
├── image_url (VARCHAR(100)) - URL of the image to be
displayed in the slider
├── title (VARCHAR(150), NULLABLE) - Title of the slider
(optional)
├── description (VARCHAR(250), NULLABLE) - Description of the
slider (optional)
├── is_active (TINYINT(1)) - Flag indicating whether the slider is
active (0 = No, 1 = Yes)
├── is_active_outside_url (TINYINT(1)) - Flag indicating if the slider links
to an outside URL (0 = No, 1 = Yes)
├── outside_url (VARCHAR(250), NULLABLE) - External URL the
slider links to, if applicable
├── sequence (MEDIUMINT(9)) - Sequence order of the slider
(used to sort the sliders)
├── created (TIMESTAMP) - Timestamp when the slider record
was created (auto-generated)
Orders

├── order_id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the order
├── customer_id (INT, UNSIGNED) - The customer associated with
the order
├── order_type (ENUM) - Type of the order, could be wallet
recharge, tag recharge, etc.
├── order_type_value (VARCHAR(100), NULLABLE) - A specific value
for the order type (could refer to a tag or service)
├── amount (DECIMAL(10,2)) - Total amount for the order
├── paid_amount (DECIMAL(10,2)) - Amount paid for the order
├── referenceId (VARCHAR(100), NULLABLE) - A reference ID
associated with the order
├── paymentMode (VARCHAR(100), NULLABLE) - Payment mode
used (e.g., Credit Card, UPI)
├── txMsg (VARCHAR(100), NULLABLE) - Transaction message
(e.g., success message)
├── txTime (VARCHAR(30), NULLABLE) - Timestamp of when the
transaction occurred
├── cf_order_id (VARCHAR(50), NULLABLE) - ID from an external
system (if applicable)
├── order_token (VARCHAR(50), NOT NULL) - A unique token for
the order
├── vrn (VARCHAR(20), NULLABLE) - Vehicle Registration
Number (if related to a vehicle)
├── status (VARCHAR(20), DEFAULT 'PENDING') - Current status
of the order (e.g., PENDING, COMPLETED)
├── end_status (VARCHAR(20), DEFAULT 'PENDING') - Final status
of the order after processing
├── created (TIMESTAMP) - Timestamp when the order was
created
order_recharge_attempts

├── id (INT, UNSIGNED, AUTO_INCREMENT) - Unique identifier


for the recharge attempt
├── order_id (INT, UNSIGNED) - Associated order ID (foreign key
to `orders`)
├── number_of_attempts (INT, Default: 0) - Number of recharge
attempts
├── last_attempt (DATETIME, NULLABLE) - Timestamp of the last
recharge attempt
promo_code

── id (INT, UNSIGNED, AUTO_INCREMENT) - Unique identifier for


the promo code
├── promo_code (VARCHAR, 20) - The promo code string
├── max_claims (INT) - Maximum number of times the promo code
can be claimed
├── claims (INT) - Current number of claims for the promo code
├── status (ENUM: 'Active', 'Inactive', 'Expired') - Current status of
the promo code
├── valid_from (DATETIME) - The start date and time when the promo
code is valid
├── valid_till (DATETIME, NULLABLE) - The expiration date and time of
the promo code (nullable)
├── created (TIMESTAMP) - Timestamp when the promo code was
created
service_request

├── id (INT, UNSIGNED, AUTO_INCREMENT) - Unique identifier


for the service request
├── customer_id (INT, UNSIGNED) - Customer associated with the
service request (foreign key relation)
├── request_type (ENUM: 'FASTag Blacklisted', 'Update Mobile
number', 'Update Vehicle number', 'Purchase new FASTag', 'Other') -
Type of request
├── request_value (VARCHAR, 100) - Value related to the request (e.g.,
new mobile number, new vehicle number)
├── description (TEXT) - Detailed description of the service request
├── request_status (ENUM: 'Pending', 'Processing', 'Closed', 'Invalid') -
Current status of the service request
├── admin_user_id (INT, UNSIGNED) - Admin who is handling the
request (foreign key relation)
├── admin_remarks (TEXT) - Admin remarks for the service request
├── modified (DATETIME, NULLABLE) - Date and time when the
service request was last modified
├── created (TIMESTAMP) - Timestamp when the service request
was created
States

├── id (INT, UNSIGNED, AUTO_INCREMENT) - Unique identifier


for the state
├── country_id (INT, UNSIGNED) - The associated country ID (foreign
key relation with `countries` table)
├── state (VARCHAR, 255) - Name of the state
├── status (ENUM: 'Active', 'Inactive') - Current status of the state
├── created (TIMESTAMP) - Timestamp when the state record was
created
sync_fastag_transactions

├── id (INT, UNSIGNED, AUTO_INCREMENT) - Unique


identifier for the sync transaction record
├── customer_id (INT, UNSIGNED) - The associated customer ID
├── tagId (VARCHAR, 32) - The unique tag ID associated with
the transaction
├── vrn (VARCHAR, 20) - The vehicle registration number
(VRN)
├── last_transaction_id (INT, UNSIGNED) - The last transaction ID
processed for the customer
sync_vehicles_customer_list

├── id (INT, UNSIGNED, AUTO_INCREMENT) - Unique identifier


for the sync vehicle customer record
├── customer_id (INT, UNSIGNED) - The associated customer ID
├── mobileNo (VARCHAR, 15) - The mobile number of the
customer
├── last_updated_on (DATETIME, NULLABLE) - The timestamp of the
last update made to the record
├── created (TIMESTAMP) - The timestamp when the record was
created
tag_issue

├── id (INT, UNSIGNED, AUTO_INCREMENT) - Unique


identifier for the tag issue record
├── idfc_customer_id (INT) - The ID of the customer associated with
the IDFC account (nullable)
├── customer_vehicle_id (INT) - The ID of the vehicle associated with
the customer (nullable)
├── tag_issue_status (ENUM: 'Pending', 'Completed', 'Rejected') - The
status of the tag issue
├── tag_issued_by (INT) - The ID of the user who issued the tag
(nullable)
├── tag_issued_at (DATETIME) - The timestamp when the tag was
issued (nullable)
├── created (TIMESTAMP) - The timestamp when the record was
created
toll_plaza_list:

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the toll plaza entry
├── plaza_code (VARCHAR(15)) - The code representing the toll
plaza
├── type (VARCHAR(20)) - Type of toll plaza (e.g., toll, bypass)
├── plaza_type (VARCHAR(20)) - Specific type of the plaza (e.g.,
main, auxiliary)
├── plaza_city (VARCHAR(100)) - City where the toll plaza is
located
├── plaza_state (VARCHAR(100)) - State where the toll plaza is
located
├── concessionaire (VARCHAR(100)) - The concessionaire operating
the toll plaza
├── plaza_name (VARCHAR(100)) - Name of the toll plaza
transactions:

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the transaction
├── transaction_by (ENUM('Wallet','Customer','Agent','Assistant'))
- The entity performing the transaction
├── transaction_by_id (INT, UNSIGNED) - ID of the entity performing
the transaction (foreign key to relevant entity)
├── vechile_no (VARCHAR(25)) - Vehicle number involved in the
transaction
├── transaction_type (ENUM('Recharge','Toll Payment','Issue Tag')) -
Type of transaction (recharge, toll payment, or tag issue)
├── amount (DECIMAL(10,2)) - The amount of the transaction
├── transaction_details (VARCHAR(255)) - Additional details about the
transaction
├── created (TIMESTAMP) - Timestamp when the transaction
was created
transactions_idfc:

├── transaction_id (INT, Primary Key, AUTO_INCREMENT,


UNSIGNED) - Unique identifier for the transaction
├── transaction_type
(ENUM('customer_onboarding','issue_tag','tag_recharge')) - Type of
transaction (customer onboarding, issue tag, or tag recharge)
├── meta_name (VARCHAR(20)) - Name of the meta data
associated with the transaction
├── meta_value (VARCHAR(40)) - Value of the meta data
associated with the transaction
├── status (VARCHAR(20)) - The status of the transaction (e.g.,
Pending, Completed)
├── created (TIMESTAMP) - Timestamp when the transaction
was created
update_kyc_details:

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the KYC update request
├── customer_id (INT, UNSIGNED) - The ID of the customer whose
KYC details are being updated
├── docType (VARCHAR(100)) - Type of document (e.g.,
Aadhaar, Passport)
├── docName (VARCHAR(100)) - Name of the document (e.g.,
Aadhaar Card)
├── docNo (VARCHAR(100)) - Document number (e.g.,
Aadhaar number)
├── uploadFileFront (VARCHAR(255)) - Path to the uploaded front
image of the document
├── uploadFileBack (VARCHAR(255)) - Path to the uploaded back
image of the document (if applicable)
├── status (VARCHAR(10)) - Status of the KYC update request
(e.g., Pending, Approved, Rejected)
├── modified (DATETIME) - Timestamp when the details were
last modified
├── created (TIMESTAMP) - Timestamp when the KYC update
request was created
update_vehicle_rc:

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the vehicle RC update request
├── customer_id (INT, UNSIGNED) - The ID of the customer whose
vehicle RC is being updated
├── tagId (VARCHAR(100)) - The ID of the tag associated with
the vehicle (optional)
├── vrn (VARCHAR(25)) - Vehicle Registration Number
(optional)
├── rcFront (VARCHAR(250)) - Path to the uploaded front image
of the vehicle RC
├── rcBack (VARCHAR(250)) - Path to the uploaded back image
of the vehicle RC
├── status (VARCHAR(10)) - Status of the RC update request
(e.g., Pending, Approved, Rejected)
├── modified (DATETIME) - Timestamp when the details were
last modified
├── created (TIMESTAMP) - Timestamp when the RC update
request was created
users:

├── id (INT, Primary Key, AUTO_INCREMENT, UNSIGNED) -


Unique identifier for the user
├── firstname (VARCHAR(100)) - First name of the user
├── lastname (VARCHAR(100)) - Last name of the user (optional)
├── mobile (VARCHAR(50)) - Mobile number of the user
(optional)
├── email (VARCHAR(100)) - Email address of the user
(optional)
├── password (VARCHAR(100)) - Hashed password for the user
account
├── is_active (TINYINT(1)) - Flag indicating if the user is active (1)
or inactive (0)
├── role (ENUM('Admin', 'Agent', 'Assistant')) - Role assigned
to the user
├── authorization_token (VARCHAR(100)) - Authorization token for
user authentication (optional)
├── auth_issued_on (DATETIME) - Timestamp when the
authorization token was issued (optional)
├── created (TIMESTAMP) - Timestamp when the user account
was created

You might also like