-- Data for Name: notification_log; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.notification_log (id, type, recipient, subject, message, status, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: notification_queue; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.notification_queue (id, tenant_id, branch_id, user_id, entity, record_id, event_type, payload, status, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: numbering_sequences; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.numbering_sequences (org_id, type, year, next_seq) FROM stdin;
\.


--
-- Data for Name: ohs_action_signoffs; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_action_signoffs (id, item_id, item_type, user_id, signature, document_id, signed_at, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_actions; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_actions (id, incident_id, description, responsible_user_id, target_date, status, completed_at, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_assignment_rules; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_assignment_rules (id, location, type, severity, location_id, investigator_id, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_compliance_logs; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_compliance_logs (id, task_id, log_date, notes, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_compliance_tasks; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_compliance_tasks (id, regulation_id, title, due_date, assigned_to, status, reminder_sent, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_emergency_contacts; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_emergency_contacts (id, employee_id, contact_name, phone, relation, tenant_id, branch_id, pendingsync, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_emergency_drills; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_emergency_drills (id, drill_type, scheduled_for, conducted_by, notes, tenant_id, branch_id, reminder_sent, pendingsync, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_fault_trees; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_fault_trees (id, incident_id, tree_data, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
1	0	{"name": "Top Event", "children": [{"name": "Cause A"}, {"name": "Cause B"}]}	\N	\N	f	2025-10-20 22:31:30.728007+00
\.


--
-- Data for Name: ohs_field_incidents; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_field_incidents (id, incident_type, location, description, document_ids, gps, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_five_whys; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_five_whys (id, incident_id, whys, updatedat, isdeleted) FROM stdin;
\.


--
-- Data for Name: ohs_hazard_types; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_hazard_types (id, name, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
1	Physical	\N	\N	f	2025-10-20 22:31:29.413681+00
2	Chemical	\N	\N	f	2025-10-20 22:31:29.413681+00
3	Biological	\N	\N	f	2025-10-20 22:31:29.413681+00
4	Psychosocial	\N	\N	f	2025-10-20 22:31:29.413681+00
5	Ergonomic	\N	\N	f	2025-10-20 22:31:29.413681+00
\.


--
-- Data for Name: ohs_hazards; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_hazards (id, description, location, hazard_type_id, severity, probability, risk_level, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_health_checks; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_health_checks (id, employee_id, check_type, result, check_date, notes, tenant_id, branch_id, pendingsync, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_incident_custom_fields; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_incident_custom_fields (id, tenant_id, branch_id, field_name, field_type, is_required, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_incident_files; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_incident_files (id, incident_id, file_path, uploaded_by, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_incident_logs; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_incident_logs (id, incident_id, action, details, user_id, logged_at, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_incident_signoffs; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_incident_signoffs (id, incident_id, user_id, signature, document_id, signed_at, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_incident_statuses; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_incident_statuses (id, name, purpose, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
1	Reported / Logged	Capture the initial incident details	\N	\N	f	2025-10-20 22:31:29.487743+00
2	Under Review / Triage	Assess seriousness and need for investigation	\N	\N	f	2025-10-20 22:31:29.487743+00
3	Investigation in Progress	Conduct full investigation and identify root causes	\N	\N	f	2025-10-20 22:31:29.487743+00
4	Action Required	Implement corrective and preventive measures	\N	\N	f	2025-10-20 22:31:29.487743+00
5	Awaiting Review	Final review before closure	\N	\N	f	2025-10-20 22:31:29.487743+00
6	Closed / Resolved	All actions complete, incident formally closed	\N	\N	f	2025-10-20 22:31:29.487743+00
7	Reopened	Reevaluate due to new info or recurrence	\N	\N	f	2025-10-20 22:31:29.487743+00
8	Deferred / On Hold	Temporarily paused due to dependencies	\N	\N	f	2025-10-20 22:31:29.487743+00
\.


--
-- Data for Name: ohs_incident_types; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_incident_types (id, name, form_id, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
1	Injury	20	\N	\N	f	2025-10-20 22:31:29.439235+00
2	Property Damage	13	\N	\N	f	2025-10-20 22:31:29.439235+00
3	Environmental	14	\N	\N	f	2025-10-20 22:31:29.439235+00
4	Near Miss	15	\N	\N	f	2025-10-20 22:31:29.439235+00
5	First Aid	16	\N	\N	f	2025-10-20 22:31:29.439235+00
6	Medical Treatment	17	\N	\N	f	2025-10-20 22:31:29.439235+00
7	LTI	18	\N	\N	f	2025-10-20 22:31:29.439235+00
8	Fatality	19	\N	\N	f	2025-10-20 22:31:29.439235+00
9	Field Incident	105	\N	\N	f	2025-10-20 22:31:29.439235+00
\.


--
-- Data for Name: ohs_incidents; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_incidents (id, date, "time", location, nature, short_description, classification, severity, investigator_id, reviewer_id, status, submitted_by, form_data, tenant_id, branch_id, updatedat, isdeleted) FROM stdin;
\.


--
-- Data for Name: ohs_inspection_audits; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_inspection_audits (id, inspection_id, action, changed_fields, user_id, performed_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_inspection_items; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_inspection_items (id, inspection_id, question, response, notes, corrective_action, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_inspection_templates; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_inspection_templates (id, template_name, name, form_id, description, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_inspection_types; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_inspection_types (id, name, form_id, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
1	General Site	91	\N	\N	f	2025-10-20 22:31:29.557134+00
2	Plant & Equipment	92	\N	\N	f	2025-10-20 22:31:29.557134+00
3	Confined Space Entry	93	\N	\N	f	2025-10-20 22:31:29.557134+00
4	Field Work	94	\N	\N	f	2025-10-20 22:31:29.557134+00
5	Vehicle	95	\N	\N	f	2025-10-20 22:31:29.557134+00
\.


--
-- Data for Name: ohs_inspections; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_inspections (id, date, location, short_description, inspector_id, inspection_type_id, form_data, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_issues; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_issues (id, description, type, category, impact, risk_or_opportunity, action_taken, owner, review_date, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_jsa_reviewers; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_jsa_reviewers (id, jsa_id, user_id, reviewed_at, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_jsa_signoffs; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_jsa_signoffs (id, jsa_id, user_id, signed_at, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_jsa_step_files; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_jsa_step_files (id, jsa_step_id, document_id, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_jsa_steps; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_jsa_steps (id, jsa_id, step_order, step, hazard_id, responsible_user_id, likelihood, severity, risk_before, risk_after, controls, control_type, ppe_required, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_jsa_training; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_jsa_training (id, jsa_id, employee_id, trained_at, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_jsa_versions; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_jsa_versions (id, jsa_id, version_no, data_json, updated_by, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_jsas; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_jsas (id, title, description, doc_path, location, department_id, analysis_date, review_date, prepared_by, team_member_ids, permit_requirements, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_medicals; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_medicals (id, incident_id, health_check_id, surname, first_name, other_initials, sex, address, dob, job_title, occ_years, occ_months, occ_days, employment_status, incident_date, incident_time, incident_type, agency, incident_description, damage_location, corrective_action, action_date, medical_treatment, medical_practitioner, date_notified, incapacity_years, incapacity_months, incapacity_days, employer_signature, employer_date, employee_signature, employee_date, tenant_id, branch_id, pendingsync, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_needs_expectations; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_needs_expectations (id, interested_party, needs, expectations, compliance_required, source, status, notes, review_date, review_by, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_regulations; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_regulations (id, title, description, effective_date, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_risk_matrices; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_risk_matrices (id, tenant_id, severity, probability, risk_value, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_risk_reviews; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_risk_reviews (id, hazard_id, reviewer_id, review_date, residual_risk, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_root_causes; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_root_causes (id, incident_id, method, analysis_notes, checklist, five_whys_id, fishbone_file_id, fault_tree_id, created_by, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_severities; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_severities (id, name, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
1	Minor	\N	\N	f	2025-10-20 22:31:29.510099+00
2	Moderate	\N	\N	f	2025-10-20 22:31:29.510099+00
3	Major	\N	\N	f	2025-10-20 22:31:29.510099+00
4	Severe	\N	\N	f	2025-10-20 22:31:29.510099+00
5	Critical	\N	\N	f	2025-10-20 22:31:29.510099+00
\.


--
-- Data for Name: ohs_stakeholders; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_stakeholders (id, stakeholder_name, category, role_influence, needs_expectations, impact, communication_method, review_date, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: ohs_training_requirements; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ohs_training_requirements (id, role_id, location_id, project_id, course_id, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: one_time_service_costs; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.one_time_service_costs (one_time_service_cost_id, reference_table, reference_id, date, vendor_id, invoice_number, amount, vat_rate, description, status, comments, approved, billed_to_client, added_to_cost_schedule, billable, user_id, document_ids, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: one_time_tokens; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.one_time_tokens (token_id, user_id, email, purpose, token_hash, expires_at, used_at) FROM stdin;
\.


--
-- Data for Name: open_positions; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.open_positions (open_position_id, title, description, branch_id, "position", applicant_type, open_date, close_date, department, qualifications, salary, status, createdby, custom_open_positions, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: orgs; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.orgs (org_id, parent_org_id, root_org_id, name, kind, path, custom_domain, dashboard_name, product_name, logo, isdeleted, updatedat) FROM stdin;
0194a8b2-5678-7123-8123-123456789abd	\N	0194a8b2-5678-7123-8123-123456789abd	Karunaratne Lawyers	company	t0194a8b2567871238123123456789abd	mycase.cybexpte.com	Karunaratne Lawyers	Karunaratne Lawyers	\N	f	2025-10-20 22:31:38.276305+00
0194a8b2-9abc-7123-8123-123456789abe	\N	0194a8b2-9abc-7123-8123-123456789abe	WAF	company	t0194a8b29abc71238123123456789abe	waf.cybexpte.com	Water Authority of Fiji OHS Demo	Water Authority of Fiji OHS Demo	\N	f	2025-10-20 22:31:38.276305+00
0194a8b2-def0-7123-8123-123456789abf	\N	0194a8b2-def0-7123-8123-123456789abf	Ministry of Employment	company	t0194a8b2def071238123123456789abf	employment.cybexpte.com	Ministry of Employment WORKCOM Demo	Ministry of Employment WORKCOM Demo	\N	f	2025-10-20 22:31:38.276305+00
0194a8b2-1234-7123-8123-123456789abc	\N	0194a8b2-1234-7123-8123-123456789abc	Cybex PTE LTD	company	t0194a8b2123471238123123456789abc	\N	Reserve Bank of Fiji Procurement Demo	Reserve Bank of Fiji Procurement Demo	\N	f	2025-10-21 00:07:17.972533+00
\.


--
-- Data for Name: overtime_rules; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.overtime_rules (id, scope, country_id, tenant_id, branch_id, shift_hours, first4_rate, after4_rate, holiday_rate, sixth_day_rate, seventh_day_rate, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: page_configs; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.page_configs (id, tenant_id, branch_id, page, header_title, cards, layout_type, isdeleted, updatedat) FROM stdin;
019a03bf-cc83-7336-8652-97249c57cd96	\N	\N	dashboard	Dashboard	[{"text": "RFQ Template Builder", "modal": "rfq_template_builder"}]	grid	f	2025-10-20 22:31:32.738356+00
\.


--
-- Data for Name: payment_items; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.payment_items (payment_item_id, payment_id, method, amount, customer_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: payment_providers; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.payment_providers (provider_id, org_id, provider_name, provider_config, is_active, is_default, supported_currencies, minimum_amount, maximum_amount, transaction_fee_type, transaction_fee_value, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: payment_reminder_config; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.payment_reminder_config (config_id, org_id, enabled, max_reminders_per_invoice, min_amount_threshold, stages, from_name, from_email, reply_to_email, cc_emails, email_templates, sms_templates, twilio_enabled, twilio_account_sid, twilio_auth_token, twilio_from_number, exclude_customer_ids, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: payment_reminders; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.payment_reminders (reminder_id, org_id, invoice_id, customer_id, reminder_stage, channel, sent_at, delivered_at, opened_at, clicked_at, status, error_message, template_used, subject, message_preview, recipient_email, recipient_phone, metadata, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: payment_request; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.payment_request (id, invoice_id, request_id, cashier_id, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: payment_transactions; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.payment_transactions (transaction_id, payment_id, invoice_id, quotation_id, client_user_id, org_id, provider_id, provider_transaction_id, amount, currency, transaction_fee, net_amount, status, payment_method_details, provider_response, error_message, retry_count, metadata, created_at, completed_at, refunded_at) FROM stdin;
\.


--
-- Data for Name: payment_types; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.payment_types (id, name, description, tenant_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: payment_webhooks; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.payment_webhooks (webhook_id, provider_name, event_type, payload, headers, processed, transaction_id, error_message, retry_count, created_at, processed_at) FROM stdin;
\.


--
-- Data for Name: payments; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.payments (payment_id, client_id, org_id, invoice_id, reference_id, reference_table, payment_date, total_amount, payment_method, payments, document_ids, screenshot_ids, notes, status, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: payroll_anomalies; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.payroll_anomalies (id, payroll_run_id, employee_id, message, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: payslip_deductions; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.payslip_deductions (payslip_deduction_id, payslip_id, deduction_type_id, amount, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: payslips; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.payslips (payslip_id, user_id, time_clock_aggregate_id, gross_pay, net_pay, isdeleted, updatedat, org_id) FROM stdin;
\.


--
-- Data for Name: performance_goals; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.performance_goals (id, employee_id, description, kpi_id, due_date, status, progress_pct, score_type, milestone, completed_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: performance_reviews; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.performance_reviews (id, employee_id, cycle_id, self_rating, manager_rating, comments, status, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: permissions; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.permissions (id, resource_id, resource_type_id, resource_name, subject_type, subject_id, tenant_id, branch_id, department_id, district_id, can_view, can_edit, can_create, can_delete, can_delegate, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: permit_applications; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.permit_applications (id, permit_type_id, applicant_id, tenant_id, branch_id, status, start_date, end_date, fee_amount, description, work_location, equipment, hazard_assessment, control_measures, ppe_required, control_items, ppe_items, loto_instructions, emergency_response, issuer_id, supervisor_id, issuer_signed_at, supervisor_signed_at, holder_signed_at, signed_off_at, expires_at, archived_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: permit_documents; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.permit_documents (id, permit_application_id, tenant_id, branch_id, file_name, file_type, file_path, uploaded_by, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: permit_inspections; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.permit_inspections (id, permit_application_id, tenant_id, branch_id, inspector_id, scheduled_for, result, notes, hours_logged, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: permit_signatures; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.permit_signatures (id, permit_application_id, tenant_id, branch_id, role, user_id, file_path, signed_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: permit_types; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.permit_types (id, name, description, control_options, ppe_options, required_training_ids, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: policies; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.policies (policy_id, title, content, content_type, policy_type, pdf_url, language_code, expiry_date, renewal_status, visible_to_roles, visible_to_group, visible_to_all, created_by, updated_by, version, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: policy_acknowledgments; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.policy_acknowledgments (id, policy_id, user_id, policy_version, acknowledged_at, ip_address, browser, user_agent, duration_seconds, scrolled_to_bottom, checkbox_confirmed, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: policy_approvals; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.policy_approvals (id, document_id, step_order, approver_role, status, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: policy_targets; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.policy_targets (id, policy_id, group_id, location_id, job_id, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: policy_templates; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.policy_templates (id, name, description, content, content_type, pdf_url, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: pos_settings; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.pos_settings (pos_settings_id, org_id, branch_id, password, pin, isdeleted, createdat, updatedat, sdc_endpoint, sdc_pin_url) FROM stdin;
019a03bf-c230-7d19-9926-35d2edc7e3a0	0194a8b2-1234-7123-8123-123456789abc	\N	2CBP6HMW	3840	f	2025-10-20 22:31:30.091889+00	2025-10-20 22:31:30.194442+00	http://devesdc.sandbox.vms.frcs.org.fj:8888/20f351f3-9b39-4c63-b9e0-d8a00b6e93fb/api	http://devesdc.sandbox.vms.frcs.org.fj:8888/20f351f3-9b39-4c63-b9e0-d8a00b6e93fb/api/v3/pin
\.


--
-- Data for Name: procurement_requests; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.procurement_requests (procurement_request_id, org_id, description, justification, estimated_cost, quantity, preferred_vendor, needed_by, project_id, inventory_item_id, location_id, status, requester_id, isdeleted, updatedat) FROM stdin;
019a03bf-e768-7660-9975-9a9db4824ee0	0194a8b2-1234-7123-8123-123456789abc	Vehicle Fleet Maintenance Supplies	Quarterly stock of maintenance parts and fluids	5500.00	100	\N	2025-10-01	\N	\N	2	Approved	3	f	2025-10-20 22:31:39.622033+00
019a03bf-e768-7d36-bcb0-908b2e673157	0194a8b2-1234-7123-8123-123456789abc	Catering Services for Annual Conference	Corporate event catering for 200 attendees	18000.00	1	\N	2025-11-20	\N	\N	1	Draft	4	f	2025-10-20 22:31:39.622033+00
019a03bf-e768-746c-b7d8-da6e19ae28b9	0194a8b2-1234-7123-8123-123456789abc	Cloud Storage Subscription Upgrade	Increase storage capacity for document management	3600.00	1	Coral Tech Traders	2025-10-01	\N	\N	1	Approved	1	f	2025-10-20 22:31:39.622033+00
019a03bf-e768-7390-b75c-994297cd1f50	0194a8b2-1234-7123-8123-123456789abc	Medical Supplies for First Aid Stations	Quarterly restocking of workplace first aid kits	850.00	25	Island Supplies Ltd	2025-09-25	\N	\N	1	Completed	5	f	2025-10-20 22:31:39.622033+00
019a03bf-e768-7bcf-aa03-5f449639f35a	0194a8b2-1234-7123-8123-123456789abc	Professional Development Training	Technical certification courses for IT staff	9500.00	8	Pacific IT Solutions	2025-11-30	\N	\N	1	Pending	1	f	2025-10-20 22:31:39.622033+00
019a03bf-e768-7835-a192-181d77624e01	0194a8b2-1234-7123-8123-123456789abc	Backup Generator Maintenance	Annual service contract for emergency power systems	7200.00	1	\N	2025-10-15	\N	\N	2	Approved	3	f	2025-10-20 22:31:39.622033+00
019a03bf-e768-7674-8937-98bedc44c86f	0194a8b2-1234-7123-8123-123456789abc	Software Development Tools	IDE licenses and development environment setup	6800.00	15	Coral Tech Traders	2025-10-10	\N	\N	1	Draft	1	f	2025-10-20 22:31:39.622033+00
019a03bf-e768-77ce-98ed-e385a7825338	0194a8b2-1234-7123-8123-123456789abc	Cleaning and Janitorial Supplies	Monthly supplies for facility maintenance	1200.00	50	Island Supplies Ltd	2025-09-28	\N	\N	1	Completed	5	f	2025-10-20 22:31:39.622033+00
019a03bf-e768-7cc0-8dc1-ba5a808c1eb2	0194a8b2-1234-7123-8123-123456789abc	Legal Consultation Services	Contract review and compliance advisory	5000.00	20	\N	2025-11-01	\N	\N	1	Pending	2	f	2025-10-20 22:31:39.622033+00
019a03bf-e768-7081-824e-df008251c74e	0194a8b2-1234-7123-8123-123456789abc	Data Center Cooling System Upgrade	Replace aging HVAC units in server room	35000.00	2	Pacific IT Solutions	2025-12-01	\N	\N	2	In Review	1	f	2025-10-20 22:31:39.622033+00
019a03bf-e768-7011-b5da-7bf4c8a81dc0	0194a8b2-1234-7123-8123-123456789abc	Marketing Materials and Brochures	Q4 marketing campaign materials printing	4200.00	5000	\N	2025-10-30	\N	\N	1	in progress	4	f	2025-10-20 22:31:40.067262+00
019a03bf-e767-7658-b75e-58166a912b7f	0194a8b2-1234-7123-8123-123456789abc	Office Furniture - Ergonomic Chairs	Improve workplace ergonomics and employee comfort	8000.00	20	Island Supplies Ltd	2025-09-30	\N	\N	1	ordered	2	f	2025-10-20 22:31:40.093898+00
019a03bf-e767-72bb-8f9d-7a61a032af42	0194a8b2-1234-7123-8123-123456789abc	Laptop Computers for Development Team	Replace aging hardware for improved productivity	25000.00	10	Pacific IT Solutions	2025-10-15	\N	\N	1	ordered	1	f	2025-10-20 22:31:40.106916+00
019a03bf-e767-7f88-b5ac-c749d34c5c5c	0194a8b2-1234-7123-8123-123456789abc	Network Security Software Licenses	Annual renewal of enterprise security suite	15000.00	1	Coral Tech Traders	2025-11-01	\N	\N	1	in progress	1	f	2025-10-20 22:31:40.120111+00
019a03bf-e768-7645-a29d-84f6b2c5de1a	0194a8b2-1234-7123-8123-123456789abc	Conference Room AV Equipment	Upgrade presentation systems in meeting rooms	12000.00	4	Pacific IT Solutions	2025-12-15	\N	\N	1	Pending	2	f	2025-10-20 22:31:40.132195+00
\.


--
-- Data for Name: procurements; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.procurements (procurement_id, vendor_id, quotation_number, invoice_number, requested_by_date, product_barcode, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: product_batch_number; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.product_batch_number (product_batch_number_id, product_id, expiry_date, batch_number, isdeleted, updatedat) FROM stdin;
019a03bf-e48e-7cce-8d9b-0790a3c7cf66	019a03bf-dff1-731d-bfda-a45427dac159	2026-01-01	BATCH-001	f	2025-10-20 22:31:38.883889+00
019a03bf-e48e-7ae5-bdbf-077859adbd62	019a03bf-dffd-7ce7-81ac-f14244f73838	2026-06-01	BATCH-002	f	2025-10-20 22:31:38.883889+00
019a03bf-e48e-7dc4-b391-138ed128028f	019a03bf-e008-7bb3-908d-fa7fbf72bd1b	2027-01-01	BATCH-003	f	2025-10-20 22:31:38.883889+00
019a040a-ae3e-7b87-9bcf-8e2a14e81079	019a03bf-dff1-731d-bfda-a45427dac159	2026-10-20	BATCH-CC500M-001	f	2025-10-20 23:53:20.189203+00
019a040a-ae3e-7159-85c5-8035d5d01dc0	019a03bf-dffd-7ce7-81ac-f14244f73838	2026-10-20	BATCH-FMF-RI-001	f	2025-10-20 23:53:20.189203+00
019a040a-ae3e-7aa1-866a-6530e8259898	019a03bf-e008-7bb3-908d-fa7fbf72bd1b	2026-10-20	BATCH-COOKOI-001	f	2025-10-20 23:53:20.189203+00
019a040a-ae3e-7b98-a97d-e7e021d76e6e	019a03e2-b87f-7ec9-8dad-08388478b63f	2026-10-20	BATCH-CC500M-001	f	2025-10-20 23:53:20.189203+00
019a040a-ae3e-7c5e-b7b7-45f9a3247a9b	019a03e2-b88b-70b0-9e82-7330f936bb50	2026-10-20	BATCH-FMF-RI-001	f	2025-10-20 23:53:20.189203+00
019a040a-ae3e-77aa-a083-197582b2aa7b	019a03e2-b897-75b3-a406-2127f06efbd2	2026-10-20	BATCH-COOKOI-001	f	2025-10-20 23:53:20.189203+00
019a040a-ae3e-7689-9c2c-b989de9b1191	019a040a-ad0f-7320-aae9-9efcd0e3035a	2026-10-20	BATCH-CC500M-001	f	2025-10-20 23:53:20.189203+00
019a040a-ae3e-71ff-8562-1fe9b91b7aae	019a040a-ad29-788d-a3d0-eefa9e1ccd91	2026-10-20	BATCH-FMF-RI-001	f	2025-10-20 23:53:20.189203+00
019a040a-ae3e-77ee-9375-9f56538c72ee	019a040a-ad34-7f19-b949-6221054ab4b8	2026-10-20	BATCH-COOKOI-001	f	2025-10-20 23:53:20.189203+00
\.


--
-- Data for Name: product_categories; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.product_categories (category_id, name, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: product_daily_rec; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.product_daily_rec (product_daily_rec_id, date, change, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: product_discounts; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.product_discounts (discount_id, product_id, discount_amount, start_date, end_date, org_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: products; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.products (product_id, name, description, price, quantity, org_id, barcode, category_id, brand, product_number, tax_rates, size, base_unit, master_unit, units_per_master, master_unit_2, units_per_master_2, isdeleted, updatedat) FROM stdin;
019a03bf-dff1-731d-bfda-a45427dac159	Coca Cola 500ml	Coca Cola soft drink 500ml bottles	1.50	\N	0194a8b2-1234-7123-8123-123456789abc	CC500ML	\N	Coca-Cola	\N	{"stt": "", "vat": "G"}	\N	BOTTLE	CARTON	24	PALLET	48	f	2025-10-20 22:31:37.71254+00
019a03bf-dffd-7ce7-81ac-f14244f73838	FMF Sungrown Rice	Premium quality rice 10kg bags	12.75	\N	0194a8b2-1234-7123-8123-123456789abc	FMF-RICE-10KG	\N	FMF	\N	{"stt": "", "vat": "G"}	\N	KG	BAG	10	PALLET	100	f	2025-10-20 22:31:37.725302+00
019a03bf-e008-7bb3-908d-fa7fbf72bd1b	Vegetable Cooking Oil 1L	Pure vegetable cooking oil	4.50	\N	0194a8b2-1234-7123-8123-123456789abc	COOKOIL-1L	\N	PacificCook	\N	{"stt": "", "vat": "G"}	\N	BOTTLE	CARTON	12	PALLET	60	f	2025-10-20 22:31:37.736317+00
019a03bf-e014-7f74-8a77-f866877f5633	SuperClean Detergent	Laundry detergent powder sachets	0.75	\N	0194a8b2-1234-7123-8123-123456789abc	DETERG-50G	\N	SuperClean	\N	{"stt": "", "vat": "G"}	\N	SACHET	BOX	100	PALLET	50	f	2025-10-20 22:31:37.747581+00
019a03bf-e01f-7292-b2b9-898c62d0ffe1	Quick Noodles Chicken Flavor	Instant noodles with chicken seasoning	0.50	\N	0194a8b2-1234-7123-8123-123456789abc	NOODLE-CHKN	\N	QuickMeal	\N	{"stt": "", "vat": "G"}	\N	PACK	CARTON	40	PALLET	80	f	2025-10-20 22:31:37.759183+00
019a03bf-e475-7c6a-910c-e2529fa701a2	Apple	Fresh red apples	2.75	\N	0194a8b2-1234-7123-8123-123456789abc	111	\N	FreshFarms	\N	{"stt": "", "vat": "G"}	\N	PIECE	\N	\N	\N	\N	f	2025-10-20 22:31:38.867712+00
019a03bf-e476-73cc-827b-f40b91446902	Banana	Organic bananas	5.00	\N	0194a8b2-1234-7123-8123-123456789abc	112	\N	TropiFruit	\N	{"stt": "", "vat": "G"}	\N	PIECE	\N	\N	\N	\N	f	2025-10-20 22:31:38.867712+00
019a03bf-e476-744f-a038-09d6b14f50bd	Milk	Full cream milk 1L	3.95	\N	0194a8b2-1234-7123-8123-123456789abc	211	\N	DairyPure	\N	{"stt": "", "vat": "G"}	\N	PIECE	\N	\N	\N	\N	f	2025-10-20 22:31:38.867712+00
019a03bf-e476-7a46-9674-f06a4d3372c7	Bread	Whole wheat bread	2.50	\N	0194a8b2-1234-7123-8123-123456789abc	311	\N	BakeHouse	\N	{"stt": "", "vat": "G"}	\N	PIECE	\N	\N	\N	\N	f	2025-10-20 22:31:38.867712+00
019a03bf-e476-75f8-bd39-708b40a7545a	Eggs	Free range eggs (dozen)	13.00	\N	0194a8b2-1234-7123-8123-123456789abc	212	\N	FarmFresh	\N	{"stt": "", "vat": "G"}	\N	PIECE	\N	\N	\N	\N	f	2025-10-20 22:31:38.867712+00
019a03bf-e476-78d4-855f-e613cfe24c54	Bongo	Crunchy bongo snacks	1.50	\N	0194a8b2-1234-7123-8123-123456789abc	401	\N	SnackCo	\N	{"stt": "", "vat": "G"}	\N	PIECE	\N	\N	\N	\N	f	2025-10-20 22:31:38.867712+00
019a03bf-e476-787b-bc8b-e86a6d65fb3e	Chips	Potato chips	2.00	\N	0194a8b2-1234-7123-8123-123456789abc	402	\N	SnackCo	\N	{"stt": "", "vat": "G"}	\N	PIECE	\N	\N	\N	\N	f	2025-10-20 22:31:38.867712+00
019a03bf-e476-7854-b6f9-5814cbba45dc	Carrot	Fresh carrots	1.20	\N	0194a8b2-1234-7123-8123-123456789abc	501	\N	VeggieFarm	\N	{"stt": "", "vat": "G"}	\N	PIECE	\N	\N	\N	\N	f	2025-10-20 22:31:38.867712+00
019a03bf-e476-72b5-89ba-76738f23255d	Lettuce	Green lettuce	1.80	\N	0194a8b2-1234-7123-8123-123456789abc	502	\N	VeggieFarm	\N	{"stt": "", "vat": "G"}	\N	PIECE	\N	\N	\N	\N	f	2025-10-20 22:31:38.867712+00
019a03bf-e476-754f-b5f3-a59c4a4d2b50	Crest Chicken #18	Crest Chicken #18	20.55	\N	0194a8b2-1234-7123-8123-123456789abc	601	\N	MeatMaster	\N	{"stt": "", "vat": "G"}	\N	PIECE	\N	\N	\N	\N	f	2025-10-20 22:31:38.867712+00
019a03bf-e476-73ad-9ae8-f1e59f2048f8	Beef	Beef steak	12.00	\N	0194a8b2-1234-7123-8123-123456789abc	602	\N	MeatMaster	\N	{"stt": "", "vat": "G"}	\N	PIECE	\N	\N	\N	\N	f	2025-10-20 22:31:38.867712+00
019a03bf-e476-7633-bbbf-c73698f772c3	Salmon	Fresh salmon fillet	15.00	\N	0194a8b2-1234-7123-8123-123456789abc	701	\N	SeaBest	\N	{"stt": "", "vat": "G"}	\N	PIECE	\N	\N	\N	\N	f	2025-10-20 22:31:38.867712+00
019a03bf-e476-70bf-ad97-b269fbb59bd0	Shrimp	Frozen shrimp	13.50	\N	0194a8b2-1234-7123-8123-123456789abc	702	\N	SeaBest	\N	{"stt": "", "vat": "G"}	\N	PIECE	\N	\N	\N	\N	f	2025-10-20 22:31:38.867712+00
019a03bf-e476-77c4-9bfd-87812c27fdb4	Ice Cream	Vanilla ice cream	6.00	\N	0194a8b2-1234-7123-8123-123456789abc	801	\N	Frosty	\N	{"stt": "", "vat": "G"}	\N	PIECE	\N	\N	\N	\N	f	2025-10-20 22:31:38.867712+00
019a03bf-e476-7f0b-a7fd-c256c55c0947	Frozen Pizza	Cheese frozen pizza	7.50	\N	0194a8b2-1234-7123-8123-123456789abc	802	\N	Frosty	\N	{"stt": "", "vat": "G"}	\N	PIECE	\N	\N	\N	\N	f	2025-10-20 22:31:38.867712+00
019a03bf-e476-7d28-9752-569b29b3bbd4	FMF Sungrown Rice 10kg	FMF Sungrown Rice 10kg	12.75	\N	0194a8b2-1234-7123-8123-123456789abc	901	\N	PantryPro	\N	{"stt": "", "vat": "G"}	\N	PIECE	\N	\N	\N	\N	f	2025-10-20 22:31:38.867712+00
019a03bf-e476-7671-a04b-1698b8ec2f33	Pasta	Spaghetti pasta	2.50	\N	0194a8b2-1234-7123-8123-123456789abc	902	\N	PantryPro	\N	{"stt": "", "vat": "G"}	\N	PIECE	\N	\N	\N	\N	f	2025-10-20 22:31:38.867712+00
019a03bf-e476-7de5-929e-8a60b27f7bfc	Soap	Bath soap	1.80	\N	0194a8b2-1234-7123-8123-123456789abc	1001	\N	CarePlus	\N	{"stt": "", "vat": "G"}	\N	PIECE	\N	\N	\N	\N	f	2025-10-20 22:31:38.867712+00
019a03bf-e476-709a-be19-1b35e4b7d058	Shampoo	Hair shampoo	4.20	\N	0194a8b2-1234-7123-8123-123456789abc	1002	\N	CarePlus	\N	{"stt": "", "vat": "G"}	\N	PIECE	\N	\N	\N	\N	f	2025-10-20 22:31:38.867712+00
019a03bf-e476-7eb9-aa41-5771e043b807	Detergent	Laundry detergent	5.50	\N	0194a8b2-1234-7123-8123-123456789abc	1101	\N	HomeClean	\N	{"stt": "", "vat": "G"}	\N	PIECE	\N	\N	\N	\N	f	2025-10-20 22:31:38.867712+00
019a03bf-e476-77b8-9418-e3ca6ba3a5cd	Paper Towels	Kitchen paper towels	3.80	\N	0194a8b2-1234-7123-8123-123456789abc	1102	\N	HomeClean	\N	{"stt": "", "vat": "G"}	\N	PIECE	\N	\N	\N	\N	f	2025-10-20 22:31:38.867712+00
019a03e2-b87f-7ec9-8dad-08388478b63f	Coca Cola 500ml	Coca Cola soft drink 500ml bottles	1.50	\N	0194a8b2-1234-7123-8123-123456789abc	CC500ML	\N	Coca-Cola	\N	{"stt": "", "vat": "G"}	\N	BOTTLE	CARTON	24	PALLET	48	f	2025-10-20 23:09:41.37502+00
019a03e2-b88b-70b0-9e82-7330f936bb50	FMF Sungrown Rice	Premium quality rice 10kg bags	12.75	\N	0194a8b2-1234-7123-8123-123456789abc	FMF-RICE-10KG	\N	FMF	\N	{"stt": "", "vat": "G"}	\N	KG	BAG	10	PALLET	100	f	2025-10-20 23:09:41.387169+00
019a03e2-b897-75b3-a406-2127f06efbd2	Vegetable Cooking Oil 1L	Pure vegetable cooking oil	4.50	\N	0194a8b2-1234-7123-8123-123456789abc	COOKOIL-1L	\N	PacificCook	\N	{"stt": "", "vat": "G"}	\N	BOTTLE	CARTON	12	PALLET	60	f	2025-10-20 23:09:41.399039+00
019a03e2-b8a2-7a25-bfc6-cfbd4af2bf85	SuperClean Detergent	Laundry detergent powder sachets	0.75	\N	0194a8b2-1234-7123-8123-123456789abc	DETERG-50G	\N	SuperClean	\N	{"stt": "", "vat": "G"}	\N	SACHET	BOX	100	PALLET	50	f	2025-10-20 23:09:41.410029+00
019a03e2-b8b0-74fb-addb-67cd742d4cba	Quick Noodles Chicken Flavor	Instant noodles with chicken seasoning	0.50	\N	0194a8b2-1234-7123-8123-123456789abc	NOODLE-CHKN	\N	QuickMeal	\N	{"stt": "", "vat": "G"}	\N	PACK	CARTON	40	PALLET	80	f	2025-10-20 23:09:41.423269+00
019a040a-ad0f-7320-aae9-9efcd0e3035a	Coca Cola 500ml	Coca Cola soft drink 500ml bottles	1.50	\N	0194a8b2-1234-7123-8123-123456789abc	CC500ML	\N	Coca-Cola	\N	{"stt": "", "vat": "G"}	\N	BOTTLE	CARTON	24	PALLET	48	f	2025-10-20 23:53:19.885177+00
019a040a-ad29-788d-a3d0-eefa9e1ccd91	FMF Sungrown Rice	Premium quality rice 10kg bags	12.75	\N	0194a8b2-1234-7123-8123-123456789abc	FMF-RICE-10KG	\N	FMF	\N	{"stt": "", "vat": "G"}	\N	KG	BAG	10	PALLET	100	f	2025-10-20 23:53:19.913106+00
019a040a-ad34-7f19-b949-6221054ab4b8	Vegetable Cooking Oil 1L	Pure vegetable cooking oil	4.50	\N	0194a8b2-1234-7123-8123-123456789abc	COOKOIL-1L	\N	PacificCook	\N	{"stt": "", "vat": "G"}	\N	BOTTLE	CARTON	12	PALLET	60	f	2025-10-20 23:53:19.924155+00
019a040a-ad4a-7def-a3e9-da3174364a3b	SuperClean Detergent	Laundry detergent powder sachets	0.75	\N	0194a8b2-1234-7123-8123-123456789abc	DETERG-50G	\N	SuperClean	\N	{"stt": "", "vat": "G"}	\N	SACHET	BOX	100	PALLET	50	f	2025-10-20 23:53:19.94631+00
019a040a-ad6a-7898-b4a4-02c5be20c977	Quick Noodles Chicken Flavor	Instant noodles with chicken seasoning	0.50	\N	0194a8b2-1234-7123-8123-123456789abc	NOODLE-CHKN	\N	QuickMeal	\N	{"stt": "", "vat": "G"}	\N	PACK	CARTON	40	PALLET	80	f	2025-10-20 23:53:19.977572+00
\.


--
-- Data for Name: products_2_categories; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.products_2_categories (product_category_id, product_id, category_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: products_2_taxcodes; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.products_2_taxcodes (product_tax_code_id, product_id, taxcode_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: products_to_vendors; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.products_to_vendors (products_to_vendor_id, product_id, vendor_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: program_default_group_permissions; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.program_default_group_permissions (program_default_permission_id, program_default_group_id, module_id, permission_type, action, isdeleted, updatedat) FROM stdin;
019a03bf-e424-7f86-8c02-0504e12ae334	019a03bf-e417-7bed-b4e2-466bca1eacfe	0194a8b2-7777-7123-8123-123456789ac6	module	allow	f	2025-10-20 22:31:38.787873+00
019a03bf-e431-74d1-83e7-cd03d43e4150	019a03bf-e417-7bed-b4e2-466bca1eacfe	0194a8b2-9999-7123-8123-123456789ac8	module	allow	f	2025-10-20 22:31:38.801264+00
019a03bf-e43d-7058-9abc-a8069b86f7b8	019a03bf-e417-7bed-b4e2-466bca1eacfe	0194a8b2-cccc-7123-8123-123456789acb	module	allow	f	2025-10-20 22:31:38.813119+00
\.


--
-- Data for Name: program_default_groups; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.program_default_groups (program_default_group_id, program_id, group_name, group_description, is_auto_create, isdeleted, updatedat) FROM stdin;
019a03bf-e417-7bed-b4e2-466bca1eacfe	0194a8b2-5555-7123-8123-123456789ac4	Managers	Case Management Managers with full access to employee and time tracking modules	t	f	2025-10-20 22:31:38.775308+00
\.


--
-- Data for Name: program_enrollments; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.program_enrollments (program_enrollment_id, program_id, org_id, status, enrolled_at, updatedat, isdeleted) FROM stdin;
019a03bf-e275-77e4-bf1d-c9a1f020436d	0194a8b2-5555-7123-8123-123456789ac4	0194a8b2-5678-7123-8123-123456789abd	active	2025-10-20 22:31:38.356559+00	2025-10-20 22:31:38.356559+00	f
019a03bf-e275-7e86-88df-23b87af2f604	0194a8b2-dddd-7123-8123-123456789acd	0194a8b2-1234-7123-8123-123456789abc	active	2025-10-20 22:31:38.356559+00	2025-10-20 22:31:38.356559+00	f
019a03bf-e548-7b57-8888-2d49ecce9394	0194a8b2-def0-7123-8123-123456789abc	0194a8b2-1234-7123-8123-123456789abc	active	2025-10-20 22:31:39.080385+00	2025-10-20 22:31:39.080385+00	f
\.


--
-- Data for Name: program_modules; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.program_modules (program_module_id, program_id, module_id, config_json, isdeleted, updatedat) FROM stdin;
019a03bf-e25b-7535-9b2e-4d9d6863ec5a	0194a8b2-5555-7123-8123-123456789ac4	0194a8b2-8888-7123-8123-123456789ac7	\N	f	2025-10-20 22:31:38.33046+00
019a03bf-e25b-7e56-8512-5f0322bb14e3	0194a8b2-5555-7123-8123-123456789ac4	0194a8b2-aaaa-7123-8123-123456789ac9	\N	f	2025-10-20 22:31:38.33046+00
019a03bf-e25b-7084-8e34-370617eb796a	0194a8b2-5555-7123-8123-123456789ac4	0194a8b2-bbbb-7123-8123-123456789aca	\N	f	2025-10-20 22:31:38.33046+00
019a03bf-e53d-7327-93a5-8b096e915384	0194a8b2-def0-7123-8123-123456789abc	0194a8b2-0032-7123-8123-123456789abc	\N	f	2025-10-20 22:31:39.069598+00
019a03bf-e554-72e8-be58-c01dc2f8e673	0194a8b2-2222-7123-8123-123456789af0	0194a8b2-acd0-7123-8123-123456789acd	\N	f	2025-10-20 22:31:39.091874+00
019a03bf-e55f-7e20-b8f0-0fb1829e2c89	0194a8b2-2222-7123-8123-123456789af0	c6d16f2c-4c20-42f7-a637-07f683e4e4d1	\N	f	2025-10-20 22:31:39.102758+00
019a03bf-e56b-7b1a-953b-9d38a1282c45	0194a8b2-2222-7123-8123-123456789af0	0194a8b2-0020-7123-8123-123456789abc	\N	f	2025-10-20 22:31:39.115054+00
019a03bf-e577-7f54-9a8d-0cff80fd153a	0194a8b2-2222-7123-8123-123456789af0	0194a8b2-0021-7123-8123-123456789abc	\N	f	2025-10-20 22:31:39.127189+00
019a03bf-e585-734b-a2e4-87ad586e09e6	0194a8b2-2222-7123-8123-123456789af0	0194a8b2-0030-7123-8123-123456789abc	\N	f	2025-10-20 22:31:39.140781+00
019a03bf-e591-7c66-b4d6-219441e9f8e4	0194a8b2-2222-7123-8123-123456789af0	0194a8b2-0031-7123-8123-123456789abc	\N	f	2025-10-20 22:31:39.153285+00
019a03bf-e59d-7c09-bf23-0e54e67f35c0	0194a8b2-2222-7123-8123-123456789af0	0194a8b2-0018-7123-8123-123456789abc	\N	f	2025-10-20 22:31:39.165062+00
019a03bf-e5a9-7954-9dae-af49de69d492	0194a8b2-2222-7123-8123-123456789af0	01940882-1001-7123-8123-123456789001	\N	f	2025-10-20 22:31:39.177561+00
019a03bf-e5b5-71c0-aca5-19f9f0271851	0194a8b2-2222-7123-8123-123456789af0	01940882-1002-7123-8123-123456789002	\N	f	2025-10-20 22:31:39.189745+00
019a03bf-e5c1-78d6-a3bc-7234ce72b46d	0194a8b2-2222-7123-8123-123456789af0	01940882-1003-7123-8123-123456789003	\N	f	2025-10-20 22:31:39.201696+00
019a03bf-e5ce-766b-a5ff-b67fa085f387	0194a8b2-2222-7123-8123-123456789af0	01940882-1004-7123-8123-123456789004	\N	f	2025-10-20 22:31:39.213843+00
019a03bf-e5d9-7c2b-98c7-20a11d6da4c3	0194a8b2-2222-7123-8123-123456789af0	01940882-1005-7123-8123-123456789005	\N	f	2025-10-20 22:31:39.22552+00
019a03bf-e5e6-7c44-9012-b36bdec65b4b	0194a8b2-2222-7123-8123-123456789af0	0194a8b2-0032-7123-8123-123456789abc	\N	f	2025-10-20 22:31:39.237548+00
019a03bf-e5f2-78a1-be03-b79530a9f5dc	0194a8b2-2222-7123-8123-123456789af0	0194a8b2-1035-7123-8123-123456789abc	\N	f	2025-10-20 22:31:39.249943+00
019a03bf-e5fe-78e6-a6cc-4ab983bf31f1	0194a8b2-2222-7123-8123-123456789af0	0194a8b2-8888-7123-8123-123456789ac6	\N	f	2025-10-20 22:31:39.261738+00
\.


--
-- Data for Name: programs; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.programs (program_id, name, owner_root_org_id, is_private, owner_access, isdeleted, updatedat) FROM stdin;
0194a8b2-5555-7123-8123-123456789ac4	Case Management	\N	t	none	f	2025-10-20 22:31:38.317458+00
0194a8b2-dddd-7123-8123-123456789acd	Dev Program	\N	t	none	f	2025-10-20 22:31:38.317458+00
0194a8b2-2222-7123-8123-123456789af0	Procurement	\N	t	none	f	2025-10-20 22:31:38.344881+00
0194a8b2-def0-7123-8123-123456789abc	dev	0194a8b2-1234-7123-8123-123456789abc	t	none	f	2025-10-20 22:31:38.924757+00
\.


--
-- Data for Name: projects; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.projects (id, tenant_id, branch_id, name, description, start_date, end_date, status, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: properties; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.properties (id, counselid, propertyid, assessmentnumber, ratepayerid, zone, address, street, ward, legaldescription, noofflats, isactive, createdby, propertyholdersname, ucv, ratesstrick, arrears, advancepayment, garbagefee, garbagearrears, advancepay, legalfee, updatedat, isdeleted) FROM stdin;
\.


--
-- Data for Name: property_rates; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.property_rates (id, zone, subzone, category, baserate, rateper100, ratetype, ratestrick2024, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: purchase_order_lines; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.purchase_order_lines (purchase_order_line_id, purchase_order_id, product_id, org_id, line_number, description, quantity_ordered, unit_type, unit_price, quantity_received, notes, isdeleted, updatedat) FROM stdin;
019a03bf-e03b-7f0e-a4ff-d23e9fb7a585	019a03bf-e02b-720e-bc02-23dab8206921	019a03bf-dff1-731d-bfda-a45427dac159	0194a8b2-1234-7123-8123-123456789abc	1	\N	50.000	PALLET	1440.00	0.000	\N	f	2025-10-20 22:31:37.786512+00
019a03bf-e070-76a0-93cd-9c6b060cb279	019a03bf-e062-7760-9739-36cae91d5fcb	019a03bf-e008-7bb3-908d-fa7fbf72bd1b	0194a8b2-1234-7123-8123-123456789abc	1	\N	20.000	PALLET	3240.00	0.000	\N	f	2025-10-20 22:31:37.839382+00
019a03bf-e07d-7fc7-b6d5-f2edef5cb2b6	019a03bf-e062-7760-9739-36cae91d5fcb	019a03bf-e014-7f74-8a77-f866877f5633	0194a8b2-1234-7123-8123-123456789abc	2	\N	15.000	PALLET	3750.00	0.000	\N	f	2025-10-20 22:31:37.852555+00
019a03bf-e089-7899-a153-31a0b77e718f	019a03bf-e062-7760-9739-36cae91d5fcb	019a03bf-e01f-7292-b2b9-898c62d0ffe1	0194a8b2-1234-7123-8123-123456789abc	3	\N	25.000	PALLET	1600.00	0.000	\N	f	2025-10-20 22:31:37.864713+00
019a03e2-b8d1-711d-acc3-17e1eab289f2	019a03bf-e02b-720e-bc02-23dab8206921	019a03bf-dff1-731d-bfda-a45427dac159	0194a8b2-1234-7123-8123-123456789abc	1	\N	50.000	PALLET	1440.00	0.000	\N	f	2025-10-20 23:09:41.455055+00
019a03e2-b8d1-79c4-add2-6a9ae770e793	019a03bf-e02b-720e-bc02-23dab8206921	019a03e2-b87f-7ec9-8dad-08388478b63f	0194a8b2-1234-7123-8123-123456789abc	1	\N	50.000	PALLET	1440.00	0.000	\N	f	2025-10-20 23:09:41.455055+00
019a03e2-b8d1-76e1-80d8-0bf2dc0c16c4	019a03e2-b8c2-74f3-b324-b652f78de128	019a03bf-dff1-731d-bfda-a45427dac159	0194a8b2-1234-7123-8123-123456789abc	1	\N	50.000	PALLET	1440.00	0.000	\N	f	2025-10-20 23:09:41.455055+00
019a03e2-b8d1-7eb6-b276-dc0b339974da	019a03e2-b8c2-74f3-b324-b652f78de128	019a03e2-b87f-7ec9-8dad-08388478b63f	0194a8b2-1234-7123-8123-123456789abc	1	\N	50.000	PALLET	1440.00	0.000	\N	f	2025-10-20 23:09:41.455055+00
019a03e2-b907-78f1-9991-25035e12135a	019a03bf-e062-7760-9739-36cae91d5fcb	019a03bf-e008-7bb3-908d-fa7fbf72bd1b	0194a8b2-1234-7123-8123-123456789abc	1	\N	20.000	PALLET	3240.00	0.000	\N	f	2025-10-20 23:09:41.510183+00
019a03e2-b907-7312-89ef-d07c7f9272b4	019a03bf-e062-7760-9739-36cae91d5fcb	019a03e2-b897-75b3-a406-2127f06efbd2	0194a8b2-1234-7123-8123-123456789abc	1	\N	20.000	PALLET	3240.00	0.000	\N	f	2025-10-20 23:09:41.510183+00
019a03e2-b907-7f9f-8a81-e9fc1ba8bffd	019a03e2-b8fa-70f2-850e-03b92af0841c	019a03bf-e008-7bb3-908d-fa7fbf72bd1b	0194a8b2-1234-7123-8123-123456789abc	1	\N	20.000	PALLET	3240.00	0.000	\N	f	2025-10-20 23:09:41.510183+00
019a03e2-b907-73bd-98ba-6b91d7f029fc	019a03e2-b8fa-70f2-850e-03b92af0841c	019a03e2-b897-75b3-a406-2127f06efbd2	0194a8b2-1234-7123-8123-123456789abc	1	\N	20.000	PALLET	3240.00	0.000	\N	f	2025-10-20 23:09:41.510183+00
019a03e2-b914-7da1-adfa-0f257d04bcaa	019a03bf-e062-7760-9739-36cae91d5fcb	019a03bf-e014-7f74-8a77-f866877f5633	0194a8b2-1234-7123-8123-123456789abc	2	\N	15.000	PALLET	3750.00	0.000	\N	f	2025-10-20 23:09:41.523625+00
019a03e2-b914-7328-aed1-c1c4d6f47a69	019a03bf-e062-7760-9739-36cae91d5fcb	019a03e2-b8a2-7a25-bfc6-cfbd4af2bf85	0194a8b2-1234-7123-8123-123456789abc	2	\N	15.000	PALLET	3750.00	0.000	\N	f	2025-10-20 23:09:41.523625+00
019a03e2-b915-7d28-9610-c97bf198b0fb	019a03e2-b8fa-70f2-850e-03b92af0841c	019a03bf-e014-7f74-8a77-f866877f5633	0194a8b2-1234-7123-8123-123456789abc	2	\N	15.000	PALLET	3750.00	0.000	\N	f	2025-10-20 23:09:41.523625+00
019a03e2-b915-721c-83ba-8cf9a8d4cd41	019a03e2-b8fa-70f2-850e-03b92af0841c	019a03e2-b8a2-7a25-bfc6-cfbd4af2bf85	0194a8b2-1234-7123-8123-123456789abc	2	\N	15.000	PALLET	3750.00	0.000	\N	f	2025-10-20 23:09:41.523625+00
019a03e2-b921-7538-9685-a59aa037a25d	019a03bf-e062-7760-9739-36cae91d5fcb	019a03bf-e01f-7292-b2b9-898c62d0ffe1	0194a8b2-1234-7123-8123-123456789abc	3	\N	25.000	PALLET	1600.00	0.000	\N	f	2025-10-20 23:09:41.536527+00
019a03e2-b921-7906-895a-04e8e183106e	019a03bf-e062-7760-9739-36cae91d5fcb	019a03e2-b8b0-74fb-addb-67cd742d4cba	0194a8b2-1234-7123-8123-123456789abc	3	\N	25.000	PALLET	1600.00	0.000	\N	f	2025-10-20 23:09:41.536527+00
019a03e2-b921-7ed4-9faf-2157569c12d0	019a03e2-b8fa-70f2-850e-03b92af0841c	019a03bf-e01f-7292-b2b9-898c62d0ffe1	0194a8b2-1234-7123-8123-123456789abc	3	\N	25.000	PALLET	1600.00	0.000	\N	f	2025-10-20 23:09:41.536527+00
019a03e2-b921-7133-9bae-ecee0034cb6b	019a03e2-b8fa-70f2-850e-03b92af0841c	019a03e2-b8b0-74fb-addb-67cd742d4cba	0194a8b2-1234-7123-8123-123456789abc	3	\N	25.000	PALLET	1600.00	0.000	\N	f	2025-10-20 23:09:41.536527+00
019a03bf-e056-753e-9cc4-021a6abf12b3	019a03bf-e048-7ce0-9f89-6cb708f949df	019a03bf-dffd-7ce7-81ac-f14244f73838	0194a8b2-1234-7123-8123-123456789abc	1	\N	100.000	PALLET	1275.00	210.000	\N	f	2025-10-20 23:53:20.151381+00
019a040a-ad87-79a2-bc4f-3a004f1c2326	019a03bf-e02b-720e-bc02-23dab8206921	019a03bf-dff1-731d-bfda-a45427dac159	0194a8b2-1234-7123-8123-123456789abc	1	\N	50.000	PALLET	1440.00	0.000	\N	f	2025-10-20 23:53:20.006678+00
019a040a-ad88-7b19-9790-743efbd79a59	019a03bf-e02b-720e-bc02-23dab8206921	019a03e2-b87f-7ec9-8dad-08388478b63f	0194a8b2-1234-7123-8123-123456789abc	1	\N	50.000	PALLET	1440.00	0.000	\N	f	2025-10-20 23:53:20.006678+00
019a040a-ad88-7182-b4e4-d2e9ee67c817	019a03bf-e02b-720e-bc02-23dab8206921	019a040a-ad0f-7320-aae9-9efcd0e3035a	0194a8b2-1234-7123-8123-123456789abc	1	\N	50.000	PALLET	1440.00	0.000	\N	f	2025-10-20 23:53:20.006678+00
019a040a-ad88-70ee-9f2d-bf72914a9345	019a040a-ad74-721f-a359-fd72ec8da1e5	019a03bf-dff1-731d-bfda-a45427dac159	0194a8b2-1234-7123-8123-123456789abc	1	\N	50.000	PALLET	1440.00	0.000	\N	f	2025-10-20 23:53:20.006678+00
019a040a-ad88-7a42-9bca-2efb07b308e9	019a040a-ad74-721f-a359-fd72ec8da1e5	019a03e2-b87f-7ec9-8dad-08388478b63f	0194a8b2-1234-7123-8123-123456789abc	1	\N	50.000	PALLET	1440.00	0.000	\N	f	2025-10-20 23:53:20.006678+00
019a040a-ad88-71a1-9abb-026d126aed1f	019a040a-ad74-721f-a359-fd72ec8da1e5	019a040a-ad0f-7320-aae9-9efcd0e3035a	0194a8b2-1234-7123-8123-123456789abc	1	\N	50.000	PALLET	1440.00	0.000	\N	f	2025-10-20 23:53:20.006678+00
019a040a-ad88-7623-867f-cc69fbe41ad0	019a03e2-b8c2-74f3-b324-b652f78de128	019a03bf-dff1-731d-bfda-a45427dac159	0194a8b2-1234-7123-8123-123456789abc	1	\N	50.000	PALLET	1440.00	0.000	\N	f	2025-10-20 23:53:20.006678+00
019a040a-ad88-76d9-ba00-5ba790e14882	019a03e2-b8c2-74f3-b324-b652f78de128	019a03e2-b87f-7ec9-8dad-08388478b63f	0194a8b2-1234-7123-8123-123456789abc	1	\N	50.000	PALLET	1440.00	0.000	\N	f	2025-10-20 23:53:20.006678+00
019a040a-ad88-71fd-9867-99be9c2bc1f2	019a03e2-b8c2-74f3-b324-b652f78de128	019a040a-ad0f-7320-aae9-9efcd0e3035a	0194a8b2-1234-7123-8123-123456789abc	1	\N	50.000	PALLET	1440.00	0.000	\N	f	2025-10-20 23:53:20.006678+00
019a040a-adcd-75ec-8a98-b9ba2f3dae39	019a040a-adc1-7550-82ba-9f91eb983cbd	019a03bf-e008-7bb3-908d-fa7fbf72bd1b	0194a8b2-1234-7123-8123-123456789abc	1	\N	20.000	PALLET	3240.00	0.000	\N	f	2025-10-20 23:53:20.077048+00
019a040a-adcd-7787-9daf-0cfb635f617e	019a040a-adc1-7550-82ba-9f91eb983cbd	019a03e2-b897-75b3-a406-2127f06efbd2	0194a8b2-1234-7123-8123-123456789abc	1	\N	20.000	PALLET	3240.00	0.000	\N	f	2025-10-20 23:53:20.077048+00
019a040a-adcd-7275-9075-1c205494a2be	019a040a-adc1-7550-82ba-9f91eb983cbd	019a040a-ad34-7f19-b949-6221054ab4b8	0194a8b2-1234-7123-8123-123456789abc	1	\N	20.000	PALLET	3240.00	0.000	\N	f	2025-10-20 23:53:20.077048+00
019a03e2-b8ec-7726-b3f8-386bc7ac805b	019a03bf-e048-7ce0-9f89-6cb708f949df	019a03bf-dffd-7ce7-81ac-f14244f73838	0194a8b2-1234-7123-8123-123456789abc	1	\N	100.000	PALLET	1275.00	180.000	\N	f	2025-10-20 23:53:20.151381+00
019a03e2-b8ec-79c9-8b57-28623ab541d2	019a03bf-e048-7ce0-9f89-6cb708f949df	019a03e2-b88b-70b0-9e82-7330f936bb50	0194a8b2-1234-7123-8123-123456789abc	1	\N	100.000	PALLET	1275.00	180.000	\N	f	2025-10-20 23:53:20.151381+00
019a040a-adcd-7896-9196-bdaca55ea92c	019a03bf-e062-7760-9739-36cae91d5fcb	019a03bf-e008-7bb3-908d-fa7fbf72bd1b	0194a8b2-1234-7123-8123-123456789abc	1	\N	20.000	PALLET	3240.00	0.000	\N	f	2025-10-20 23:53:20.077048+00
019a040a-adce-713c-831d-d115a31aed7c	019a03bf-e062-7760-9739-36cae91d5fcb	019a03e2-b897-75b3-a406-2127f06efbd2	0194a8b2-1234-7123-8123-123456789abc	1	\N	20.000	PALLET	3240.00	0.000	\N	f	2025-10-20 23:53:20.077048+00
019a040a-adce-77d3-8752-34a899b9e452	019a03bf-e062-7760-9739-36cae91d5fcb	019a040a-ad34-7f19-b949-6221054ab4b8	0194a8b2-1234-7123-8123-123456789abc	1	\N	20.000	PALLET	3240.00	0.000	\N	f	2025-10-20 23:53:20.077048+00
019a040a-adce-71b2-b90f-9e041d257dee	019a03e2-b8fa-70f2-850e-03b92af0841c	019a03bf-e008-7bb3-908d-fa7fbf72bd1b	0194a8b2-1234-7123-8123-123456789abc	1	\N	20.000	PALLET	3240.00	0.000	\N	f	2025-10-20 23:53:20.077048+00
019a040a-adce-74fc-a29b-8e64b196f750	019a03e2-b8fa-70f2-850e-03b92af0841c	019a03e2-b897-75b3-a406-2127f06efbd2	0194a8b2-1234-7123-8123-123456789abc	1	\N	20.000	PALLET	3240.00	0.000	\N	f	2025-10-20 23:53:20.077048+00
019a040a-adce-7afc-9609-01a6c72ac0dd	019a03e2-b8fa-70f2-850e-03b92af0841c	019a040a-ad34-7f19-b949-6221054ab4b8	0194a8b2-1234-7123-8123-123456789abc	1	\N	20.000	PALLET	3240.00	0.000	\N	f	2025-10-20 23:53:20.077048+00
019a040a-ade3-7ce3-9747-e92b5c199c70	019a040a-adc1-7550-82ba-9f91eb983cbd	019a03bf-e014-7f74-8a77-f866877f5633	0194a8b2-1234-7123-8123-123456789abc	2	\N	15.000	PALLET	3750.00	0.000	\N	f	2025-10-20 23:53:20.098908+00
019a040a-ade4-770b-b247-904d9d37b4e2	019a040a-adc1-7550-82ba-9f91eb983cbd	019a03e2-b8a2-7a25-bfc6-cfbd4af2bf85	0194a8b2-1234-7123-8123-123456789abc	2	\N	15.000	PALLET	3750.00	0.000	\N	f	2025-10-20 23:53:20.098908+00
019a040a-ade4-7e92-a87a-b456365d6fe1	019a040a-adc1-7550-82ba-9f91eb983cbd	019a040a-ad4a-7def-a3e9-da3174364a3b	0194a8b2-1234-7123-8123-123456789abc	2	\N	15.000	PALLET	3750.00	0.000	\N	f	2025-10-20 23:53:20.098908+00
019a040a-ade4-75f3-9d3a-f04cd22b4dec	019a03bf-e062-7760-9739-36cae91d5fcb	019a03bf-e014-7f74-8a77-f866877f5633	0194a8b2-1234-7123-8123-123456789abc	2	\N	15.000	PALLET	3750.00	0.000	\N	f	2025-10-20 23:53:20.098908+00
019a040a-ade4-75ee-a4a0-e2516c5e57e4	019a03bf-e062-7760-9739-36cae91d5fcb	019a03e2-b8a2-7a25-bfc6-cfbd4af2bf85	0194a8b2-1234-7123-8123-123456789abc	2	\N	15.000	PALLET	3750.00	0.000	\N	f	2025-10-20 23:53:20.098908+00
019a040a-ade4-7334-be08-23d85be351fd	019a03bf-e062-7760-9739-36cae91d5fcb	019a040a-ad4a-7def-a3e9-da3174364a3b	0194a8b2-1234-7123-8123-123456789abc	2	\N	15.000	PALLET	3750.00	0.000	\N	f	2025-10-20 23:53:20.098908+00
019a040a-ade4-7951-bc97-0388ce947a61	019a03e2-b8fa-70f2-850e-03b92af0841c	019a03bf-e014-7f74-8a77-f866877f5633	0194a8b2-1234-7123-8123-123456789abc	2	\N	15.000	PALLET	3750.00	0.000	\N	f	2025-10-20 23:53:20.098908+00
019a040a-ade4-792c-bbcc-c07b20669067	019a03e2-b8fa-70f2-850e-03b92af0841c	019a03e2-b8a2-7a25-bfc6-cfbd4af2bf85	0194a8b2-1234-7123-8123-123456789abc	2	\N	15.000	PALLET	3750.00	0.000	\N	f	2025-10-20 23:53:20.098908+00
019a040a-ade4-78f4-bb3f-973b9a7fef86	019a03e2-b8fa-70f2-850e-03b92af0841c	019a040a-ad4a-7def-a3e9-da3174364a3b	0194a8b2-1234-7123-8123-123456789abc	2	\N	15.000	PALLET	3750.00	0.000	\N	f	2025-10-20 23:53:20.098908+00
019a040a-adf1-78f8-b675-8a97b9f019c6	019a040a-adc1-7550-82ba-9f91eb983cbd	019a03bf-e01f-7292-b2b9-898c62d0ffe1	0194a8b2-1234-7123-8123-123456789abc	3	\N	25.000	PALLET	1600.00	0.000	\N	f	2025-10-20 23:53:20.112564+00
019a040a-adf1-7530-8888-9f3804d2a945	019a040a-adc1-7550-82ba-9f91eb983cbd	019a03e2-b8b0-74fb-addb-67cd742d4cba	0194a8b2-1234-7123-8123-123456789abc	3	\N	25.000	PALLET	1600.00	0.000	\N	f	2025-10-20 23:53:20.112564+00
019a040a-adf1-72f0-a7cb-d975fbb6fd18	019a040a-adc1-7550-82ba-9f91eb983cbd	019a040a-ad6a-7898-b4a4-02c5be20c977	0194a8b2-1234-7123-8123-123456789abc	3	\N	25.000	PALLET	1600.00	0.000	\N	f	2025-10-20 23:53:20.112564+00
019a040a-adf1-7679-ada6-703b68bad410	019a03bf-e062-7760-9739-36cae91d5fcb	019a03bf-e01f-7292-b2b9-898c62d0ffe1	0194a8b2-1234-7123-8123-123456789abc	3	\N	25.000	PALLET	1600.00	0.000	\N	f	2025-10-20 23:53:20.112564+00
019a040a-adf1-71de-9e1c-d6c126cb255d	019a03bf-e062-7760-9739-36cae91d5fcb	019a03e2-b8b0-74fb-addb-67cd742d4cba	0194a8b2-1234-7123-8123-123456789abc	3	\N	25.000	PALLET	1600.00	0.000	\N	f	2025-10-20 23:53:20.112564+00
019a040a-adf1-7468-b053-44069884ba7c	019a03bf-e062-7760-9739-36cae91d5fcb	019a040a-ad6a-7898-b4a4-02c5be20c977	0194a8b2-1234-7123-8123-123456789abc	3	\N	25.000	PALLET	1600.00	0.000	\N	f	2025-10-20 23:53:20.112564+00
019a040a-adf1-717f-8671-946f2985886c	019a03e2-b8fa-70f2-850e-03b92af0841c	019a03bf-e01f-7292-b2b9-898c62d0ffe1	0194a8b2-1234-7123-8123-123456789abc	3	\N	25.000	PALLET	1600.00	0.000	\N	f	2025-10-20 23:53:20.112564+00
019a040a-adf1-7e99-be4e-dd8ec596a5f5	019a03e2-b8fa-70f2-850e-03b92af0841c	019a03e2-b8b0-74fb-addb-67cd742d4cba	0194a8b2-1234-7123-8123-123456789abc	3	\N	25.000	PALLET	1600.00	0.000	\N	f	2025-10-20 23:53:20.112564+00
019a040a-adf1-71db-b48e-c83f8c7843d5	019a03e2-b8fa-70f2-850e-03b92af0841c	019a040a-ad6a-7898-b4a4-02c5be20c977	0194a8b2-1234-7123-8123-123456789abc	3	\N	25.000	PALLET	1600.00	0.000	\N	f	2025-10-20 23:53:20.112564+00
019a03e2-b8ed-72cc-9215-4cf93827354f	019a03e2-b8df-720e-864c-f7cd5f9d7ffa	019a03bf-dffd-7ce7-81ac-f14244f73838	0194a8b2-1234-7123-8123-123456789abc	1	\N	100.000	PALLET	1275.00	120.000	\N	f	2025-10-20 23:53:20.151381+00
019a03e2-b8ed-7e0d-9ff2-7aeed0b74d99	019a03e2-b8df-720e-864c-f7cd5f9d7ffa	019a03e2-b88b-70b0-9e82-7330f936bb50	0194a8b2-1234-7123-8123-123456789abc	1	\N	100.000	PALLET	1275.00	120.000	\N	f	2025-10-20 23:53:20.151381+00
019a040a-adb4-77bd-ae8d-cd01a99ea281	019a03bf-e048-7ce0-9f89-6cb708f949df	019a03bf-dffd-7ce7-81ac-f14244f73838	0194a8b2-1234-7123-8123-123456789abc	1	\N	100.000	PALLET	1275.00	120.000	\N	f	2025-10-20 23:53:20.151381+00
019a040a-adb5-7f88-80b4-66e3612915c5	019a03bf-e048-7ce0-9f89-6cb708f949df	019a03e2-b88b-70b0-9e82-7330f936bb50	0194a8b2-1234-7123-8123-123456789abc	1	\N	100.000	PALLET	1275.00	120.000	\N	f	2025-10-20 23:53:20.151381+00
019a040a-adb5-7c70-be54-0adf2f44ff5f	019a03bf-e048-7ce0-9f89-6cb708f949df	019a040a-ad29-788d-a3d0-eefa9e1ccd91	0194a8b2-1234-7123-8123-123456789abc	1	\N	100.000	PALLET	1275.00	120.000	\N	f	2025-10-20 23:53:20.151381+00
019a040a-adb5-769d-8af6-14e5ee11b776	019a040a-ad9a-7815-935f-7c57c9669652	019a03bf-dffd-7ce7-81ac-f14244f73838	0194a8b2-1234-7123-8123-123456789abc	1	\N	100.000	PALLET	1275.00	60.000	\N	f	2025-10-20 23:53:20.151381+00
019a040a-adb5-7854-8c11-2f54adbd5dd1	019a040a-ad9a-7815-935f-7c57c9669652	019a03e2-b88b-70b0-9e82-7330f936bb50	0194a8b2-1234-7123-8123-123456789abc	1	\N	100.000	PALLET	1275.00	60.000	\N	f	2025-10-20 23:53:20.151381+00
019a040a-adb5-7c93-955c-42797f17a03f	019a040a-ad9a-7815-935f-7c57c9669652	019a040a-ad29-788d-a3d0-eefa9e1ccd91	0194a8b2-1234-7123-8123-123456789abc	1	\N	100.000	PALLET	1275.00	60.000	\N	f	2025-10-20 23:53:20.151381+00
019a040a-adb5-7e79-8982-52de4671f6d1	019a03e2-b8df-720e-864c-f7cd5f9d7ffa	019a03bf-dffd-7ce7-81ac-f14244f73838	0194a8b2-1234-7123-8123-123456789abc	1	\N	100.000	PALLET	1275.00	90.000	\N	f	2025-10-20 23:53:20.151381+00
019a040a-adb5-7d79-8c6b-b66f6d8ab98b	019a03e2-b8df-720e-864c-f7cd5f9d7ffa	019a03e2-b88b-70b0-9e82-7330f936bb50	0194a8b2-1234-7123-8123-123456789abc	1	\N	100.000	PALLET	1275.00	90.000	\N	f	2025-10-20 23:53:20.151381+00
019a040a-adb5-7a24-a6a0-860b9320ef30	019a03e2-b8df-720e-864c-f7cd5f9d7ffa	019a040a-ad29-788d-a3d0-eefa9e1ccd91	0194a8b2-1234-7123-8123-123456789abc	1	\N	100.000	PALLET	1275.00	90.000	\N	f	2025-10-20 23:53:20.151381+00
\.


--
-- Data for Name: purchase_orders; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.purchase_orders (purchase_order_id, vendor_id, org_id, branch_id, order_date, order_number, reference_id, reference_table, status, expected_delivery_date, total_amount, notes, created_by, approved_by, approved_at, closed_at, closed_by, closure_notes, isdeleted, updatedat, rfq_id) FROM stdin;
019a03bf-e02b-720e-bc02-23dab8206921	019a03bf-dfd6-7e87-a195-a996891a56e9	0194a8b2-1234-7123-8123-123456789abc	019a03bf-dfd7-75f7-98c9-247bd8124265	2024-10-01	PO-2024-001	\N	\N	draft	2024-10-15	72000.00	Initial stock order for Coca Cola - deliver to Warehouse	019a03bf-dfd4-7712-be37-71d35001732d	\N	\N	\N	\N	\N	f	2025-10-20 22:31:37.770681+00	\N
019a040a-ad74-721f-a359-fd72ec8da1e5	019a03e2-b869-7cea-bbcf-bcddc4901fd7	0194a8b2-1234-7123-8123-123456789abc	019a03bf-dfd7-75f7-98c9-247bd8124265	2024-10-01	PO-2024-001	\N	\N	draft	2024-10-15	72000.00	Initial stock order for Coca Cola - deliver to Warehouse	019a03bf-dfd4-7712-be37-71d35001732d	\N	\N	\N	\N	\N	f	2025-10-20 23:53:19.988178+00	\N
019a040a-ad9a-7815-935f-7c57c9669652	019a03e2-b86a-733e-ad89-2bfeadd419e5	0194a8b2-1234-7123-8123-123456789abc	019a03bf-dfd7-75f7-98c9-247bd8124265	2024-09-15	PO-2024-002	\N	\N	confirmed	2024-10-01	127500.00	Rice stock for Q4 - deliver to Warehouse	019a03bf-dfd4-7712-be37-71d35001732d	019a03bf-dfd4-7712-be37-71d35001732d	2024-09-16 10:30:00+00	\N	\N	\N	f	2025-10-20 23:53:20.025717+00	\N
019a040a-adc1-7550-82ba-9f91eb983cbd	019a03e2-b86a-7470-a8d2-b9955569926d	0194a8b2-1234-7123-8123-123456789abc	019a03bf-dfd7-7c39-b795-39f73700015f	2024-10-10	PO-2024-003	\N	\N	confirmed	2024-10-25	483150.00	Mixed grocery items - deliver to Main Branch	019a03bf-dfd4-7712-be37-71d35001732d	019a03bf-dfd4-7712-be37-71d35001732d	2024-10-11 14:00:00+00	\N	\N	\N	f	2025-10-20 23:53:20.126017+00	\N
019a03bf-e062-7760-9739-36cae91d5fcb	019a03bf-dfd7-7b14-aa7e-5b157cfaa018	0194a8b2-1234-7123-8123-123456789abc	019a03bf-dfd7-7c39-b795-39f73700015f	2024-10-10	PO-2024-003	\N	\N	confirmed	2024-10-25	966300.00	Mixed grocery items - deliver to Main Branch	019a03bf-dfd4-7712-be37-71d35001732d	019a03bf-dfd4-7712-be37-71d35001732d	2024-10-11 14:00:00+00	\N	\N	\N	f	2025-10-20 23:53:20.126017+00	\N
019a03e2-b8fa-70f2-850e-03b92af0841c	019a03e2-b86a-7470-a8d2-b9955569926d	0194a8b2-1234-7123-8123-123456789abc	019a03bf-dfd7-7c39-b795-39f73700015f	2024-10-10	PO-2024-003	\N	\N	confirmed	2024-10-25	805250.00	Mixed grocery items - deliver to Main Branch	019a03bf-dfd4-7712-be37-71d35001732d	019a03bf-dfd4-7712-be37-71d35001732d	2024-10-11 14:00:00+00	\N	\N	\N	f	2025-10-20 23:53:20.126017+00	\N
019a03bf-e77a-782a-9c36-db8bc64d241b	0194a8b2-1001-7123-8123-123456789a01	0194a8b2-1234-7123-8123-123456789abc	\N	2025-08-05	PO-2025-001	\N	\N	pending	\N	25000.00	\N	\N	\N	\N	\N	\N	\N	f	2025-10-20 22:31:39.916077+00	0194a8b2-00f2-7123-8123-123456789a11
019a03bf-e77b-735b-8d30-925b32888ece	0194a8b2-1002-7123-8123-123456789a02	0194a8b2-1234-7123-8123-123456789abc	\N	2025-08-20	PO-2025-002	\N	\N	pending	\N	8000.00	\N	\N	\N	\N	\N	\N	\N	f	2025-10-20 22:31:39.928175+00	0194a8b2-00f2-7123-8123-123456789a11
019a03bf-e77b-790b-b4f3-aa9fd7476ff2	0194a8b2-1003-7123-8123-123456789a03	0194a8b2-1234-7123-8123-123456789abc	\N	2025-07-25	PO-2025-003	\N	\N	pending	\N	15000.00	\N	\N	\N	\N	\N	\N	\N	f	2025-10-20 22:31:39.939913+00	0194a8b2-00f1-7123-8123-123456789a10
019a03bf-e77b-7263-aa8d-6fbe198b3cd6	0194a8b2-1001-7123-8123-123456789a01	0194a8b2-1234-7123-8123-123456789abc	\N	2025-08-15	PO-2025-004	\N	\N	pending	\N	12000.00	\N	\N	\N	\N	\N	\N	\N	f	2025-10-20 22:31:39.951722+00	0194a8b2-00f1-7123-8123-123456789a10
019a03bf-e77b-760c-bbd5-c9b71354138f	0194a8b2-1002-7123-8123-123456789a02	0194a8b2-1234-7123-8123-123456789abc	\N	2025-09-01	PO-2025-005	\N	\N	pending	\N	5200.00	\N	\N	\N	\N	\N	\N	\N	f	2025-10-20 22:31:39.963934+00	0194a8b2-00f2-7123-8123-123456789a11
019a03bf-e77b-75b1-95cc-a85490ef736f	0194a8b2-1003-7123-8123-123456789a03	0194a8b2-1234-7123-8123-123456789abc	\N	2025-08-10	PO-2025-006	\N	\N	pending	\N	3500.00	\N	\N	\N	\N	\N	\N	\N	f	2025-10-20 22:31:39.974943+00	0194a8b2-00f1-7123-8123-123456789a10
019a03bf-e77b-77db-b120-e43df288adf7	0194a8b2-1001-7123-8123-123456789a01	0194a8b2-1234-7123-8123-123456789abc	\N	2025-09-05	PO-2025-007	\N	\N	pending	\N	9200.00	\N	\N	\N	\N	\N	\N	\N	f	2025-10-20 22:31:39.985488+00	0194a8b2-00f2-7123-8123-123456789a11
019a03bf-e77c-7297-85dd-052de5987b8d	0194a8b2-1002-7123-8123-123456789a02	0194a8b2-1234-7123-8123-123456789abc	\N	2025-07-30	PO-2025-008	\N	\N	pending	\N	820.00	\N	\N	\N	\N	\N	\N	\N	f	2025-10-20 22:31:39.995843+00	0194a8b2-00f2-7123-8123-123456789a11
019a03bf-e77c-7d1b-9726-74bb2831e2ad	0194a8b2-1003-7123-8123-123456789a03	0194a8b2-1234-7123-8123-123456789abc	\N	2025-09-10	PO-2025-009	\N	\N	pending	\N	6650.00	\N	\N	\N	\N	\N	\N	\N	f	2025-10-20 22:31:40.007851+00	0194a8b2-00f1-7123-8123-123456789a10
019a03bf-e77c-770e-b6c1-c6d1db033798	0194a8b2-1001-7123-8123-123456789a01	0194a8b2-1234-7123-8123-123456789abc	\N	2025-08-25	PO-2025-010	\N	\N	pending	\N	34500.00	\N	\N	\N	\N	\N	\N	\N	f	2025-10-20 22:31:40.020893+00	0194a8b2-00f1-7123-8123-123456789a10
019a03bf-e77c-7134-9899-aeebc4f5eb4c	0194a8b2-1002-7123-8123-123456789a02	0194a8b2-1234-7123-8123-123456789abc	\N	2025-09-12	PO-2025-011	\N	\N	pending	\N	4950.00	\N	\N	\N	\N	\N	\N	\N	f	2025-10-20 22:31:40.032378+00	0194a8b2-00f2-7123-8123-123456789a11
019a03bf-e77c-7bf2-bbdb-1c1a1460b82a	0194a8b2-1003-7123-8123-123456789a03	0194a8b2-1234-7123-8123-123456789abc	\N	2025-08-18	PO-2025-012	\N	\N	pending	\N	17500.00	\N	\N	\N	\N	\N	\N	\N	f	2025-10-20 22:31:40.043521+00	0194a8b2-00f1-7123-8123-123456789a10
019a03bf-e77c-7ac7-a996-9936b36e31d7	0194a8b2-1001-7123-8123-123456789a01	0194a8b2-1234-7123-8123-123456789abc	\N	2025-09-08	PO-2025-013	\N	\N	pending	\N	7100.00	\N	\N	\N	\N	\N	\N	\N	f	2025-10-20 22:31:40.055847+00	0194a8b2-00f1-7123-8123-123456789a10
019a03e2-b8c2-74f3-b324-b652f78de128	019a03e2-b869-7cea-bbcf-bcddc4901fd7	0194a8b2-1234-7123-8123-123456789abc	019a03bf-dfd7-75f7-98c9-247bd8124265	2024-10-01	PO-2024-001	\N	\N	draft	2024-10-15	72000.00	Initial stock order for Coca Cola - deliver to Warehouse	019a03bf-dfd4-7712-be37-71d35001732d	\N	\N	\N	\N	\N	f	2025-10-20 23:09:41.441547+00	\N
019a03bf-e048-7ce0-9f89-6cb708f949df	019a03bf-dfd6-784d-b89a-063de852acfd	0194a8b2-1234-7123-8123-123456789abc	019a03bf-dfd7-75f7-98c9-247bd8124265	2024-09-15	PO-2024-002	\N	\N	fully_received	2024-10-01	127500.00	Rice stock for Q4 - deliver to Warehouse	019a03bf-dfd4-7712-be37-71d35001732d	019a03bf-dfd4-7712-be37-71d35001732d	2024-09-16 10:30:00+00	\N	\N	\N	f	2025-10-20 23:53:20.151381+00	\N
019a03e2-b8df-720e-864c-f7cd5f9d7ffa	019a03e2-b86a-733e-ad89-2bfeadd419e5	0194a8b2-1234-7123-8123-123456789abc	019a03bf-dfd7-75f7-98c9-247bd8124265	2024-09-15	PO-2024-002	\N	\N	fully_received	2024-10-01	127500.00	Rice stock for Q4 - deliver to Warehouse	019a03bf-dfd4-7712-be37-71d35001732d	019a03bf-dfd4-7712-be37-71d35001732d	2024-09-16 10:30:00+00	\N	\N	\N	f	2025-10-20 23:53:20.151381+00	\N
\.


--
-- Data for Name: push_subscriptions; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.push_subscriptions (id, user_id, endpoint, p256dh, auth, browser, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: quotation_actions; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.quotation_actions (action_id, quotation_id, user_id, org_id, action_type, notes, metadata, ip_address, user_agent, created_at) FROM stdin;
\.


--
-- Data for Name: quotation_settings; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.quotation_settings (quotation_setting_id, org_id, template_id, logo_document_id, number_format, starting_number, current_number, validity_days, terms, footer_text, auto_convert_to_invoice, send_as_proforma, created_at, updated_at) FROM stdin;
\.


--
-- Data for Name: quotations; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.quotations (quotation_id, quotation_number, date, customer_id, org_id, client_id, line_items, note, terms, validity_days, status, total_amount, tax_amount, template_id, sent_at, expires_at, accepted_at, rejected_at, rejection_reason, converted_invoice_id, created_by, updated_by, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: rate_invoices; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.rate_invoices (id, counselid, rateid, propertyid, period, arrears, currentcharges, penalty, totaldue, receiptstotal, balance, createdby, customerid, gl_transaction_id, updatedat, isdeleted) FROM stdin;
\.


--
-- Data for Name: rate_limits; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.rate_limits (key, window_start, count) FROM stdin;
\.


--
-- Data for Name: rate_payments; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.rate_payments (id, counselid, receiptid, propertyid, rateid, referenceno, amount, receiptdate, method, uploadedby, screenshotpath, createdby, gl_transaction_id, updatedat, isdeleted) FROM stdin;
\.


--
-- Data for Name: ratepayers; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.ratepayers (id, counselid, ratepayerid, fullname, previousowner, tinnumber, notes, isdeceased, isoverseasowner, workplace, updatedat, isdeleted) FROM stdin;
\.


--
-- Data for Name: receipts; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.receipts (id, invoice_id, receipt_number, amount, payment_method, cashier_id, session_id, payer_name, receipt_date, reference, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: refresh_tokens; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.refresh_tokens (token_id, session_id, token_hash, issued_at, expires_at, rotated_from, revoked_at, revoke_reason) FROM stdin;
\.


--
-- Data for Name: reimbursement_claims; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.reimbursement_claims (id, employee_id, claim_date, description, amount, status, approved_at, approved_by, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: resource_types; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.resource_types (id, code, tenant_id, branch_id, description, name, isdeleted, updatedat) FROM stdin;
1	module	\N	\N	Application module entry point	Module	f	2025-10-20 22:31:31.876757+00
2	table	\N	\N	Backend table name	Table	f	2025-10-20 22:31:31.876757+00
3	form	\N	\N	Form builder form	Form	f	2025-10-20 22:31:31.876757+00
4	wizard	\N	\N	Multi step wizard	Wizard	f	2025-10-20 22:31:31.876757+00
5	chart	\N	\N	Chart or report	Chart	f	2025-10-20 22:31:31.876757+00
6	worksheet	\N	\N	Spreadsheet worksheet	Worksheet	f	2025-10-20 22:31:31.876757+00
7	table_column	\N	\N	Specific table column resource	Table Column	f	2025-10-20 22:31:31.876757+00
\.


--
-- Data for Name: resources; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.resources (id, resource_type_id, resource_id, tenant_id, branch_id, name, description, reference_table, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: review_calibrations; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.review_calibrations (id, review_id, department, country_code, original_rating, adjusted_rating, status, moderator_id, approved_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: review_cycles; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.review_cycles (id, name, start_date, end_date, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: review_documents; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.review_documents (id, review_id, document_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: review_schedules; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.review_schedules (id, tenant_id, country_code, role_id, review_type, interval_days, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: rfq_approval_instances; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.rfq_approval_instances (approval_instance_id, rfq_id, stage_no, approver_user_id, approver_group_id, status, decided_at, comments, created_at) FROM stdin;
\.


--
-- Data for Name: rfq_approval_levels; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.rfq_approval_levels (rfq_approval_levels_id, branch_id, department_id, approver_user_id, level_name, min_amount, max_amount, currency, notes, is_active, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: rfq_attachments; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.rfq_attachments (rfq_attachment_id, rfq_id, label, filetype, file_url, include_when, sort_order, created_at, updatedat) FROM stdin;
\.


--
-- Data for Name: rfq_awards; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.rfq_awards (award_id, rfq_id, scope, rfq_item_id, vendor_id, notes, created_at) FROM stdin;
\.


--
-- Data for Name: rfq_contracts; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.rfq_contracts (contract_id, rfq_id, vendor_id, vendor_name, contract_number, title, status, currency, total_value, effective_date, expiry_date, contract_payload, created_by, created_at, updatedat) FROM stdin;
\.


--
-- Data for Name: rfq_conversations; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.rfq_conversations (conversation_id, rfq_id, audience, vendor_id, subject, locked_at, created_by, created_at, updatedat) FROM stdin;
0194a8b2-10a1-7123-8123-123456789a30	0194a8b2-00f1-7123-8123-123456789a10	internal	\N	Internal notes	\N	\N	2025-10-20 22:31:39.472292+00	2025-10-20 22:31:39.472292+00
0194a8b2-10a2-7123-8123-123456789a31	0194a8b2-00f1-7123-8123-123456789a10	all_vendors	\N	Announcements	\N	\N	2025-10-20 22:31:39.472292+00	2025-10-20 22:31:39.472292+00
0194a8b2-10a3-7123-8123-123456789a32	0194a8b2-00f1-7123-8123-123456789a10	vendor	\N	Q&A: Pacific IT Solutions	\N	\N	2025-10-20 22:31:39.472292+00	2025-10-20 22:31:39.472292+00
0194a8b2-10a4-7123-8123-123456789a33	0194a8b2-00f2-7123-8123-123456789a11	all_vendors	\N	Announcements	\N	\N	2025-10-20 22:31:39.472292+00	2025-10-20 22:31:39.472292+00
0194a8b2-10a5-7123-8123-123456789a34	0194a8b2-00f3-7123-8123-123456789a12	internal	\N	Microgrid evaluation notes	\N	\N	2025-09-20 22:31:39.472292+00	2025-10-20 22:31:39.472292+00
0194a8b2-10a6-7123-8123-123456789a35	0194a8b2-00f3-7123-8123-123456789a12	all_vendors	\N	Clarifications & addenda	\N	\N	2025-09-18 22:31:39.472292+00	2025-10-20 22:31:39.472292+00
0194a8b2-10a7-7123-8123-123456789a36	0194a8b2-00f3-7123-8123-123456789a12	vendor	\N	Q&A: Blue Lagoon Engineering	\N	\N	2025-09-16 22:31:39.472292+00	2025-10-20 22:31:39.472292+00
0194a8b2-10a8-7123-8123-123456789a37	0194a8b2-00f4-7123-8123-123456789a13	all_vendors	\N	Fleet tender updates	\N	\N	2025-08-21 22:31:39.472292+00	2025-10-20 22:31:39.472292+00
\.


--
-- Data for Name: rfq_events; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.rfq_events (event_id, rfq_id, actor_id, actor_type, type, payload, created_at) FROM stdin;
\.


--
-- Data for Name: rfq_headers; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.rfq_headers (rfq_id, org_id, department_id, type, rfq_number, numbering_format, title, category, currency, incoterms, summary_markdown, summary_html, publish_at, due_at, qa_cutoff_at, status, created_by, created_at, updatedat, tender_box_opened_at, tender_box_opened_by, scoring_config, requested_by, approval_status, approval_started_at, approval_completed_at) FROM stdin;
0194a8b2-00f1-7123-8123-123456789a10	0194a8b2-1234-7123-8123-123456789abc	\N	RFQ	\N	\N	Network Switches Supply	it	FJD	EXW	Supply and delivery of Layer-3 network switches.	\N	\N	2025-11-10 22:31:39.323786+00	2025-11-03 22:31:39.323786+00	open	\N	2025-10-20 22:31:39.323786+00	2025-10-20 22:31:39.323786+00	\N	\N	\N	\N	draft	\N	\N
0194a8b2-00f2-7123-8123-123456789a11	0194a8b2-1234-7123-8123-123456789abc	\N	RFQ	\N	\N	Office Furniture	general	FJD	DDP	Ergonomic office chairs and desks.	\N	\N	2025-11-17 22:31:39.323786+00	2025-11-09 22:31:39.323786+00	open	\N	2025-10-20 22:31:39.323786+00	2025-10-20 22:31:39.323786+00	\N	\N	\N	\N	draft	\N	\N
0194a8b2-00f3-7123-8123-123456789a12	0194a8b2-1234-7123-8123-123456789abc	\N	RFQ	\N	\N	Solar Microgrid EPC	energy	FJD	DAP	Design, construction and commissioning of a 1MW solar microgrid with battery storage.	\N	\N	2025-09-29 22:31:39.323786+00	2025-09-22 22:31:39.323786+00	closed	0194a8b2-4450-7123-8123-123456789ac3	2025-08-06 22:31:39.323786+00	2025-10-15 22:31:39.323786+00	2025-10-02 22:31:39.323786+00	0194a8b2-4450-7123-8123-123456789ac3	\N	\N	draft	\N	\N
0194a8b2-00f4-7123-8123-123456789a13	0194a8b2-1234-7123-8123-123456789abc	\N	RFQ	\N	\N	Fleet Vehicle Leasing Services	fleet	FJD	DDP	Three-year lease of hybrid SUVs with full maintenance coverage.	\N	\N	2025-09-05 22:31:39.323786+00	2025-08-29 22:31:39.323786+00	awarded	0194a8b2-4450-7123-8123-123456789ac3	2025-07-17 22:31:39.323786+00	2025-10-18 22:31:39.323786+00	2025-09-07 22:31:39.323786+00	0194a8b2-4450-7123-8123-123456789ac3	\N	\N	draft	\N	\N
0194a8b2-00f5-7123-8123-123456789a14	0194a8b2-1234-7123-8123-123456789abc	\N	RFQ	\N	\N	Digital Banking App RFP (Two-Envelope)	general	FJD	DDP	Two separate submissions required: technical and financial proposals. See sections for details.	\N	\N	2025-10-15 22:31:39.343243+00	2025-10-08 22:31:39.343243+00	closed	\N	2025-10-20 22:31:39.343243+00	2025-10-20 22:31:39.343243+00	2025-10-16 22:31:39.343243+00	0194a8b2-4450-7123-8123-123456789ac3	\N	\N	draft	\N	\N
\.


--
-- Data for Name: rfq_invites; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.rfq_invites (invite_id, rfq_id, vendor_id, contact_id, vendor_user_id, channel, status, sent_at, delivered_at, opened_at, responded_at, declined_reason, reminder_count, last_reminder_at, created_at, updatedat) FROM stdin;
0194a8b2-20a4-7123-8123-123456789a23	0194a8b2-00f3-7123-8123-123456789a12	0194a8b2-1001-7123-8123-123456789a01	\N	019a03bf-e697-7168-ac89-77038d047317	\N	responded	2025-08-26 22:31:39.384248+00	\N	\N	\N	\N	0	\N	2025-08-26 22:31:39.384248+00	2025-10-20 22:31:39.457953+00
0194a8b2-20a1-7123-8123-123456789a20	0194a8b2-00f1-7123-8123-123456789a10	0194a8b2-1001-7123-8123-123456789a01	\N	019a03bf-e697-7168-ac89-77038d047317	\N	invited	2025-10-20 22:31:39.384248+00	\N	\N	\N	\N	0	\N	2025-10-20 22:31:39.384248+00	2025-10-20 22:31:39.457953+00
0194a8b2-20a7-7123-8123-123456789a26	0194a8b2-00f4-7123-8123-123456789a13	0194a8b2-1002-7123-8123-123456789a02	\N	019a03bf-e697-7d4f-a816-c83505c0634b	\N	responded	2025-08-01 22:31:39.384248+00	\N	\N	\N	\N	0	\N	2025-08-01 22:31:39.384248+00	2025-10-20 22:31:39.457953+00
0194a8b2-20a2-7123-8123-123456789a21	0194a8b2-00f1-7123-8123-123456789a10	0194a8b2-1002-7123-8123-123456789a02	\N	019a03bf-e697-7d4f-a816-c83505c0634b	\N	opened	2025-10-19 22:31:39.384248+00	\N	\N	\N	\N	0	\N	2025-10-20 22:31:39.384248+00	2025-10-20 22:31:39.457953+00
0194a8b2-20a3-7123-8123-123456789a22	0194a8b2-00f2-7123-8123-123456789a11	0194a8b2-1003-7123-8123-123456789a03	\N	019a03bf-e698-754c-934a-44eef82cbda1	\N	invited	2025-10-20 22:31:39.384248+00	\N	\N	\N	\N	0	\N	2025-10-20 22:31:39.384248+00	2025-10-20 22:31:39.457953+00
0194a8b2-20a8-7123-8123-123456789a27	0194a8b2-00f4-7123-8123-123456789a13	0194a8b2-1004-7123-8123-123456789a04	\N	019a03bf-e698-7904-a7f8-ad7fc43642a8	\N	responded	2025-08-01 22:31:39.384248+00	\N	\N	\N	\N	0	\N	2025-08-01 22:31:39.384248+00	2025-10-20 22:31:39.457953+00
0194a8b2-20a5-7123-8123-123456789a24	0194a8b2-00f3-7123-8123-123456789a12	0194a8b2-1004-7123-8123-123456789a04	\N	019a03bf-e698-7904-a7f8-ad7fc43642a8	\N	responded	2025-08-26 22:31:39.384248+00	\N	\N	\N	\N	0	\N	2025-08-26 22:31:39.384248+00	2025-10-20 22:31:39.457953+00
0194a8b2-20a9-7123-8123-123456789a28	0194a8b2-00f4-7123-8123-123456789a13	0194a8b2-1005-7123-8123-123456789a05	\N	019a03bf-e698-7794-928a-fe0e935dfe39	\N	declined	2025-08-03 22:31:39.384248+00	\N	\N	\N	\N	0	\N	2025-08-03 22:31:39.384248+00	2025-10-20 22:31:39.457953+00
0194a8b2-20a6-7123-8123-123456789a25	0194a8b2-00f3-7123-8123-123456789a12	0194a8b2-1005-7123-8123-123456789a05	\N	019a03bf-e698-7794-928a-fe0e935dfe39	\N	invited	2025-08-26 22:31:39.384248+00	\N	\N	\N	\N	0	\N	2025-08-26 22:31:39.384248+00	2025-10-20 22:31:39.457953+00
019a03bf-e717-7f73-acc5-89ee421faa03	0194a8b2-00f5-7123-8123-123456789a14	0194a8b2-1001-7123-8123-123456789a01	\N	019a03bf-e697-7168-ac89-77038d047317	\N	responded	2025-10-19 22:31:39.542719+00	\N	\N	\N	\N	0	\N	2025-10-19 22:31:39.542719+00	2025-10-20 22:31:39.542719+00
\.


--
-- Data for Name: rfq_items; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.rfq_items (id, rfq_id, description, quantity, uom, required_specs, delivery_terms, delivery_location, is_optional, item_attachments, created_at, updatedat) FROM stdin;
1	0194a8b2-00f5-7123-8123-123456789a14	Mobile banking app design and build	1.0000	lot	{"security": "OWASP MASVS", "platforms": ["iOS", "Android"]}	\N	\N	f	\N	2025-10-20 22:31:39.343243+00	2025-10-20 22:31:39.343243+00
2	0194a8b2-00f5-7123-8123-123456789a14	Year-1 support and maintenance	12.0000	mo	{"SLA": "8x5", "responseHours": 4}	\N	\N	t	\N	2025-10-20 22:31:39.343243+00	2025-10-20 22:31:39.343243+00
900001	0194a8b2-00f1-7123-8123-123456789a10	L3 Switch, 48x1G + 4x10G SFP+	10.0000	ea	{"brand": "Any Tier-1", "warranty": "3y"}	\N	\N	f	\N	2025-10-20 22:31:39.370607+00	2025-10-20 22:31:39.370607+00
900002	0194a8b2-00f1-7123-8123-123456789a10	SFP+ 10G Transceiver SR	20.0000	ea	{"type": "SR"}	\N	\N	t	\N	2025-10-20 22:31:39.370607+00	2025-10-20 22:31:39.370607+00
900011	0194a8b2-00f2-7123-8123-123456789a11	Ergonomic Chair	40.0000	ea	{"color": "black"}	\N	\N	f	\N	2025-10-20 22:31:39.370607+00	2025-10-20 22:31:39.370607+00
900012	0194a8b2-00f2-7123-8123-123456789a11	Standing Desk	15.0000	ea	{"size": "1200mm"}	\N	\N	f	\N	2025-10-20 22:31:39.370607+00	2025-10-20 22:31:39.370607+00
900021	0194a8b2-00f3-7123-8123-123456789a12	Tier-1 solar PV panels 540W	180.0000	ea	{"warranty": "10y", "minEfficiency": "21%"}	\N	\N	f	\N	2025-08-11 22:31:39.370607+00	2025-10-02 22:31:39.370607+00
900022	0194a8b2-00f3-7123-8123-123456789a12	Lithium battery racks 215kWh	6.0000	set	{"warranty": "5y", "chemistry": "LFP"}	\N	\N	f	\N	2025-08-11 22:31:39.370607+00	2025-10-02 22:31:39.370607+00
900031	0194a8b2-00f4-7123-8123-123456789a13	Hybrid SUV (3-year lease)	12.0000	ea	{"mileageCap": "25000km/yr"}	\N	\N	f	\N	2025-07-22 22:31:39.370607+00	2025-10-13 22:31:39.370607+00
900032	0194a8b2-00f4-7123-8123-123456789a13	Maintenance and roadside assistance package	12.0000	ea	{"coverage": "24/7"}	\N	\N	t	\N	2025-07-22 22:31:39.370607+00	2025-10-13 22:31:39.370607+00
\.


--
-- Data for Name: rfq_message_attachments; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.rfq_message_attachments (message_attachment_id, message_id, filetype, file_url, label, updatedat) FROM stdin;
\.


--
-- Data for Name: rfq_messages; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.rfq_messages (message_id, conversation_id, rfq_id, parent_message_id, origin_message_id, author_type, author_user_id, vendor_id, category, status, is_anonymous, body_markdown, body_html, created_at, updatedat) FROM stdin;
0194a8b2-30a1-7123-8123-123456789a40	0194a8b2-10a1-7123-8123-123456789a30	0194a8b2-00f1-7123-8123-123456789a10	\N	\N	internal	\N	\N	note	approved	f	Kickoff: validate specs before publish.	\N	2025-10-20 22:31:39.489825+00	2025-10-20 22:31:39.489825+00
0194a8b2-30a2-7123-8123-123456789a41	0194a8b2-10a3-7123-8123-123456789a32	0194a8b2-00f1-7123-8123-123456789a10	\N	\N	vendor	\N	0194a8b2-1001-7123-8123-123456789a01	question	approved	f	Q: Do you accept equivalent brand XYZ?	\N	2025-10-20 22:31:39.489825+00	2025-10-20 22:31:39.489825+00
0194a8b2-30a3-7123-8123-123456789a42	0194a8b2-10a3-7123-8123-123456789a32	0194a8b2-00f1-7123-8123-123456789a10	\N	\N	internal	\N	0194a8b2-1001-7123-8123-123456789a01	answer	approved	f	A: Yes, equivalent Tier-1 brands are acceptable.	\N	2025-10-20 22:31:39.489825+00	2025-10-20 22:31:39.489825+00
0194a8b2-30a4-7123-8123-123456789a43	0194a8b2-10a2-7123-8123-123456789a31	0194a8b2-00f1-7123-8123-123456789a10	\N	\N	internal	\N	\N	clarification	approved	t	Clarification: Equivalent Tier-1 brands are acceptable.	\N	2025-10-20 22:31:39.489825+00	2025-10-20 22:31:39.489825+00
0194a8b2-30a5-7123-8123-123456789a44	0194a8b2-10a2-7123-8123-123456789a31	0194a8b2-00f1-7123-8123-123456789a10	\N	\N	vendor	\N	0194a8b2-1002-7123-8123-123456789a02	reply	pending	f	Vendor reply: Please confirm lead time expectations.	\N	2025-10-20 22:31:39.489825+00	2025-10-20 22:31:39.489825+00
0194a8b2-30b1-7123-8123-123456789a45	0194a8b2-10a5-7123-8123-123456789a34	0194a8b2-00f3-7123-8123-123456789a12	\N	\N	internal	0194a8b2-4450-7123-8123-123456789ac3	\N	note	approved	f	Shortlist Blue Lagoon and Pacific IT based on technical scores.	\N	2025-09-24 22:31:39.489825+00	2025-10-20 22:31:39.489825+00
0194a8b2-30b2-7123-8123-123456789a46	0194a8b2-10a7-7123-8123-123456789a36	0194a8b2-00f3-7123-8123-123456789a12	\N	\N	vendor	\N	0194a8b2-1004-7123-8123-123456789a04	question	approved	f	Q: Can deliveries be split into two milestones?	\N	2025-09-18 22:31:39.489825+00	2025-10-20 22:31:39.489825+00
0194a8b2-30b3-7123-8123-123456789a47	0194a8b2-10a6-7123-8123-123456789a35	0194a8b2-00f3-7123-8123-123456789a12	\N	\N	internal	0194a8b2-4450-7123-8123-123456789ac3	\N	clarification	approved	t	Deliveries may be split 70/30 with milestone-based payments.	\N	2025-09-19 22:31:39.489825+00	2025-10-20 22:31:39.489825+00
0194a8b2-30b4-7123-8123-123456789a48	0194a8b2-10a8-7123-8123-123456789a37	0194a8b2-00f4-7123-8123-123456789a13	\N	\N	internal	0194a8b2-4450-7123-8123-123456789ac3	\N	announcement	approved	f	Tender box opened and award letter issued to Blue Lagoon Engineering.	\N	2025-09-08 22:31:39.489825+00	2025-10-20 22:31:39.489825+00
\.


--
-- Data for Name: rfq_scoring_notes; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.rfq_scoring_notes (note_id, rfq_id, vendor_id, org_id, criterion_key, note_text, created_by, updated_by, created_at, updatedat) FROM stdin;
\.


--
-- Data for Name: rfq_sections; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.rfq_sections (rfq_section_id, rfq_id, section_key, heading, body_markdown, body_html, sort_order, include_in_print, include_in_email, created_at, updatedat, content_type, form_id, elements) FROM stdin;
019a03bf-e652-7b51-93ac-12c9e94a8cfd	0194a8b2-00f5-7123-8123-123456789a14	submission_overview	Submission Overview	Vendors must submit two separate digital files: **one technical proposal** and **one financial proposal**. Label files clearly (e.g. `VendorName - Technical.pdf` and `VendorName - Financial.xlsx`) and upload them as attachments when responding to this RFQ. Pricing information must be restricted to the financial proposal. Any proposal that combines technical and commercial content may be disqualified.	\N	10	t	t	2025-10-20 22:31:39.343243+00	2025-10-20 22:31:39.343243+00	text	\N	\N
019a03bf-e653-7e1e-999c-e782e8fd2eea	0194a8b2-00f5-7123-8123-123456789a14	technical_proposal	Technical Proposal Requirements	Describe the solution, methodology, implementation approach, workplan, team CVs and compliance statements. The technical proposal must **exclude** all pricing or commercial terms. Include evidence of experience, certifications, quality assurance processes, risk management approach, and any mandatory forms (upload as appendices).	\N	20	t	t	2025-10-20 22:31:39.343243+00	2025-10-20 22:31:39.343243+00	text	\N	\N
019a03bf-e653-7abe-bc4e-542ca46eaf72	0194a8b2-00f5-7123-8123-123456789a14	financial_proposal	Financial Proposal Requirements	Provide a detailed cost breakdown aligned to the scope. Show unit costs, taxes, optional items and total contract value. State currency (default FJD), payment schedule, validity period, and any assumptions. Do not repeat technical narrative in this document. Clearly reference the corresponding technical proposal sections.	\N	30	t	t	2025-10-20 22:31:39.343243+00	2025-10-20 22:31:39.343243+00	text	\N	\N
019a03bf-e653-7835-b993-67e0288d5f5e	0194a8b2-00f5-7123-8123-123456789a14	evaluation_method	Evaluation & Weighting	The default weighting for this template is **70% technical** and **30% financial**. Evaluation teams should use the compare tab to score the technical proposal against published criteria (such as methodology, team, delivery plan, risk mitigation). Financial proposals are assessed on total cost of ownership and commercial compliance. Document consensus scores in the scoring notes area.	\N	40	t	t	2025-10-20 22:31:39.343243+00	2025-10-20 22:31:39.343243+00	text	\N	\N
019a03bf-e653-7c05-bb7c-2b22ba061b63	0194a8b2-00f5-7123-8123-123456789a14	timeline_clarifications	Timeline & Clarifications	State the closing date/time, contact point for questions, and process for clarification responses. Remind vendors that late submissions or missing files can result in rejection. Where applicable, require acknowledgement that both documents were submitted on time.	\N	50	t	t	2025-10-20 22:31:39.343243+00	2025-10-20 22:31:39.343243+00	text	\N	\N
\.


--
-- Data for Name: rfq_shortlists; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.rfq_shortlists (shortlist_id, rfq_id, vendor_id, org_id, notes, created_by, updated_by, created_at, updatedat) FROM stdin;
\.


--
-- Data for Name: rfq_template_attachments; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.rfq_template_attachments (rfq_template_attachment_id, rfq_template_id, filetype, file_url, label, include_when, sort_order, is_deleted, created_at, updatedat) FROM stdin;
019a03bf-cc9d-75a8-8466-53107a5575d5	019a03bf-cc93-7a03-a73b-7c53cdd6159f	pdf	templates/rbf/terms_conditions.pdf	Standard RFQ Terms & Conditions (RBF)	always	10	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00
019a03bf-cc9e-7e9e-b680-275fdc64f857	019a03bf-cc93-7a03-a73b-7c53cdd6159f	pdf	templates/rbf/nda.pdf	Non-Disclosure Agreement	pre_issuance	20	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00
019a03bf-cc9e-764a-98e9-0dc4034500b5	019a03bf-cc93-7a03-a73b-7c53cdd6159f	xlsx	templates/rbf/pricing_template.xlsx	Pricing Template	always	30	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00
019a03bf-cc9f-7d12-b007-29b86f71fca0	019a03bf-cc93-7a03-a73b-7c53cdd6159f	pdf	templates/rbf/code_of_conduct_anti_bribery.pdf	Code of Conduct & Anti-Bribery	always	40	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00
019a03bf-cc9f-72e5-b8f7-3320d54270d0	019a03bf-cc93-7a03-a73b-7c53cdd6159f	docx	templates/rbf/supplier_registration_form.docx	Supplier Registration Form	pre_issuance	50	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00
019a03bf-cca1-7164-9146-f84b193d1bc8	019a03bf-cca0-7b86-abc9-34e2ba64b70b	xlsx	templates/rbf/it/bom_template.xlsx	BoM Template	always	10	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00
019a03bf-cca2-749e-a288-76265d6323d4	019a03bf-cca0-7b86-abc9-34e2ba64b70b	pdf	templates/rbf/it/rack_power_standards.pdf	Rack & Power Standards	always	20	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00
019a03bf-cca3-78c1-a0b6-a3d6a959a354	019a03bf-cca2-7d18-bf14-e0d73e7652c6	xlsx	templates/rbf/it/security_questionnaire.xlsx	Security Questionnaire	always	10	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00
019a03bf-cca4-7850-b006-8341a915cfe5	019a03bf-cca2-7d18-bf14-e0d73e7652c6	pdf	templates/rbf/legal/dpa.pdf	Data Processing Agreement	awarded	20	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00
019a03bf-cca6-78cb-8d28-71a29ac8706f	019a03bf-cca4-7faf-855b-67d67a665569	pdf	templates/rbf/security/sample_report_outline.pdf	Sample Report Outline	always	10	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00
019a03bf-cca8-7bb4-843c-ed883ed95f19	019a03bf-cca6-7d1f-889c-e426f1fa32a6	docx	templates/rbf/consulting/workplan_template.docx	Template Workplan	always	10	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00
019a03bf-cca8-75da-b1de-c484c09d407f	019a03bf-cca6-7d1f-889c-e426f1fa32a6	xlsx	templates/rbf/consulting/cv_matrix.xlsx	CV Matrix	always	20	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00
019a03bf-ccaa-7983-b165-facd89b058c1	019a03bf-cca8-7e76-8978-7e277fd37290	docx	templates/rbf/audit/independence_declaration.docx	Independence Declaration	pre_issuance	10	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00
019a03bf-ccaa-7131-88d6-5f4173b7fa81	019a03bf-cca8-7e76-8978-7e277fd37290	pdf	templates/rbf/audit/sample_management_letter.pdf	Sample Management Letter	always	20	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00
019a03bf-ccac-72ab-aa4a-abdb73a01ffd	019a03bf-ccaa-7818-8fc9-96eb3bac5a14	xlsx	templates/rbf/operations/site_survey_checklist.xlsx	Site Survey Checklist	always	10	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00
019a03bf-ccac-77d2-913c-7d54e685f397	019a03bf-ccaa-7818-8fc9-96eb3bac5a14	docx	templates/rbf/operations/handover_form.docx	Handover Form	awarded	20	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00
019a03bf-ccae-7d1f-970b-3069f9d2e6cf	019a03bf-ccac-7323-b2fa-fbad3f669445	docx	templates/rbf/security/security_vetting_form.docx	Security Vetting Form	pre_issuance	10	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00
019a03bf-ccae-732d-a034-e9771783fed7	019a03bf-ccac-7323-b2fa-fbad3f669445	docx	templates/rbf/security/incident_template.docx	Incident Template	always	20	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00
019a03bf-ccb2-7e4d-ae0a-fed1ecdea37e	019a03bf-ccb1-78b7-8636-6e5d64a5cb52	pdf	templates/rbf/facilities/hse_requirements.pdf	HSE Requirements	always	10	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00
019a03bf-ccb2-77f4-94bf-f887345b3653	019a03bf-ccb1-78b7-8636-6e5d64a5cb52	xlsx	templates/rbf/facilities/ppm_schedule_template.xlsx	PPM Schedule Template	always	20	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00
019a03bf-ccb4-7b78-91a7-4e3cadd1adea	019a03bf-ccb3-7a5e-824e-7705cfdbb30d	xlsx	templates/rbf/training/attendance_sheet.xlsx	Attendance Sheet	always	10	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00
019a03bf-ccb5-791d-9dc0-77fb25ada60f	019a03bf-ccb3-7a5e-824e-7705cfdbb30d	docx	templates/rbf/training/course_evaluation_form.docx	Course Evaluation Form	awarded	20	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00
\.


--
-- Data for Name: rfq_template_sections; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.rfq_template_sections (rfq_template_section_id, rfq_template_id, section_key, heading, body_markdown, body_html, sort_order, is_required, include_in_print, include_in_email, is_deleted, created_at, updatedat, content_type, form_id, elements) FROM stdin;
019a03bf-cc96-7052-b6b3-1dbc16c21655	019a03bf-cc93-7a03-a73b-7c53cdd6159f	background	Background	Provide organizational context and objectives of the RFQ.	\N	10	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cc97-7ea0-a564-ec8686684002	019a03bf-cc93-7a03-a73b-7c53cdd6159f	scope	Scope of Work	Describe the scope, locations, and expected outcomes.	\N	20	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cc98-74e1-a1f3-bdbac436c615	019a03bf-cc93-7a03-a73b-7c53cdd6159f	technical_requirements	Technical Requirements	List minimum specifications, standards, and compliance requirements.	\N	30	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cc99-7e22-965a-7b6145a25f33	019a03bf-cc93-7a03-a73b-7c53cdd6159f	deliverables	Deliverables	Define deliverables, documentation, and acceptance criteria.	\N	40	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cc99-735e-9eef-42d67531856a	019a03bf-cc93-7a03-a73b-7c53cdd6159f	service_levels	Service Levels (SLA)	Specify response/restore times, uptime targets, and penalties.	\N	50	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cc99-7681-9c20-9d02ef942c69	019a03bf-cc93-7a03-a73b-7c53cdd6159f	pricing	Pricing & Validity	Provide pricing, currency (FJD), taxes, and validity (days).	\N	60	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cc9a-7217-952b-0ab800338749	019a03bf-cc93-7a03-a73b-7c53cdd6159f	submission	Submission Instructions	Describe submission method, deadline, and required forms.	\N	70	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cc9a-7e60-be53-524b2dca1da6	019a03bf-cc93-7a03-a73b-7c53cdd6159f	evaluation	Evaluation Criteria	Outline evaluation method and weighting.	\N	80	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cc9b-7c6c-b31c-ab9e7368b03d	019a03bf-cc93-7a03-a73b-7c53cdd6159f	terms	Commercial Terms	Payment terms, delivery terms (Incoterms if applicable), warranty.	\N	90	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cc9b-7f7e-a6a5-03debaac3a9d	019a03bf-cc93-7a03-a73b-7c53cdd6159f	confidentiality	Confidentiality & Ethics	Confidentiality, anti-bribery, and code of conduct expectations.	\N	100	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca1-7e04-87c1-d8a0a10aeefd	019a03bf-cca0-7b86-abc9-34e2ba64b70b	background	Background	Environment overview and objectives.	\N	10	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca1-70f9-bd73-191c39decbe1	019a03bf-cca0-7b86-abc9-34e2ba64b70b	scope	Scope of Work	Bill of materials, delivery, and installation scope.	\N	20	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca1-754b-a3d9-6eecd0a983fc	019a03bf-cca0-7b86-abc9-34e2ba64b70b	technical_requirements	Technical Requirements	CPU, RAM, storage, certifications, redundancy, power & cooling.	\N	30	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca1-75cc-bb4a-76ef3189b9e3	019a03bf-cca0-7b86-abc9-34e2ba64b70b	warranty_support	Warranty & Support	Warranty terms, response and restore targets.	\N	40	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca1-7bb8-be98-0c912c7c6715	019a03bf-cca0-7b86-abc9-34e2ba64b70b	delivery_installation	Delivery & Installation	Site survey, logistics, racking, labelling.	\N	50	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca1-79da-be57-fdc4599efe86	019a03bf-cca0-7b86-abc9-34e2ba64b70b	acceptance_testing	Acceptance & Testing	UAT/POC criteria, burn-in, documentation.	\N	60	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca1-7452-b605-09da0ce37dbe	019a03bf-cca0-7b86-abc9-34e2ba64b70b	pricing	Pricing	Provide unit costs, BoM, and any optional items.	\N	70	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca1-7264-884a-df42354e8f40	019a03bf-cca0-7b86-abc9-34e2ba64b70b	evaluation	Evaluation Criteria	Method and weighting.	\N	80	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca1-736e-96c3-a43373c19887	019a03bf-cca0-7b86-abc9-34e2ba64b70b	terms	Commercial Terms	Payment, delivery schedule, liquidated damages.	\N	90	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca3-7a6d-b3f0-5c882b91a627	019a03bf-cca2-7d18-bf14-e0d73e7652c6	background	Background	Business need and stakeholders.	\N	10	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca3-73cd-8add-d5880292d5d2	019a03bf-cca2-7d18-bf14-e0d73e7652c6	scope	Scope	Modules and user counts.	\N	20	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca3-7bcd-9f26-671eb1b06d4b	019a03bf-cca2-7d18-bf14-e0d73e7652c6	functional_requirements	Functional Requirements	Feature checklist and must-haves.	\N	30	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca3-7688-97d3-88259aa75d68	019a03bf-cca2-7d18-bf14-e0d73e7652c6	nonfunctional_security	Security & Compliance	Authentication, encryption, audit, compliance (ISO 27001, PCI if applicable).	\N	40	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca3-7c06-b762-354f974ae251	019a03bf-cca2-7d18-bf14-e0d73e7652c6	data_residency_privacy	Data Residency & Privacy	Storage location, retention, DPA requirements.	\N	50	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca3-7e0f-ba56-8b768e9e39af	019a03bf-cca2-7d18-bf14-e0d73e7652c6	integration_requirements	Integration	APIs, formats, and systems to integrate.	\N	60	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca3-721a-9a68-65decaa4f68f	019a03bf-cca2-7d18-bf14-e0d73e7652c6	support_sla	Support & SLA	Support hours, response/restore commitments.	\N	70	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca3-7500-b775-c635efe46953	019a03bf-cca2-7d18-bf14-e0d73e7652c6	bcdr	BCDR	Backups, DR strategy and RTO/RPO.	\N	80	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca3-7196-bbfb-7839ce8942ce	019a03bf-cca2-7d18-bf14-e0d73e7652c6	pricing	Pricing	Licenses, tiers, seats, implementation costs.	\N	90	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca3-76de-8077-a3dc890ab853	019a03bf-cca2-7d18-bf14-e0d73e7652c6	evaluation	Evaluation	Method and weighting.	\N	100	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca3-72b9-87c1-46d2a4f4e9b8	019a03bf-cca2-7d18-bf14-e0d73e7652c6	terms	Terms	Commercial terms and SLAs.	\N	110	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca5-7655-9795-48aa54e7482f	019a03bf-cca4-7faf-855b-67d67a665569	background	Background	Security objectives.	\N	10	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca5-7954-bac6-9d9060cd2e47	019a03bf-cca4-7faf-855b-67d67a665569	scope	Scope	VA/PT/GRC/MDR scope and scale.	\N	20	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca5-764b-8425-1df4f0a20d79	019a03bf-cca4-7faf-855b-67d67a665569	methodology_standards	Methodology & Standards	Follow OWASP, NIST, ISO 27001/2; provide sample reports.	\N	30	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca5-7171-b8f8-8e7185f507ee	019a03bf-cca4-7faf-855b-67d67a665569	deliverables	Deliverables	Reports, findings, remediation, workshops.	\N	40	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca5-716f-ac1e-0cbdbcd3458a	019a03bf-cca4-7faf-855b-67d67a665569	service_levels	Service Levels	Engagement timelines and SLAs.	\N	50	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca5-796f-a131-3f23f90b9b55	019a03bf-cca4-7faf-855b-67d67a665569	team_quals_clearance	Team Qualifications	Certifications and clearances.	\N	60	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca5-7bd8-bcc5-e086629cc901	019a03bf-cca4-7faf-855b-67d67a665569	reporting	Reporting	Format, cadence, and review.	\N	70	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca5-71c6-9998-93f7c45d5423	019a03bf-cca4-7faf-855b-67d67a665569	pricing	Pricing	Fixed fee or T&M, travel policy.	\N	80	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca5-7c2f-b362-e2ed5e1f975f	019a03bf-cca4-7faf-855b-67d67a665569	evaluation	Evaluation	Method and weighting.	\N	90	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca5-7d56-9b94-1dc1de7cb976	019a03bf-cca4-7faf-855b-67d67a665569	confidentiality	Confidentiality	Handling of sensitive information.	\N	100	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca7-7a4b-887e-6c9181a120ab	019a03bf-cca6-7d1f-889c-e426f1fa32a6	background_objectives	Background & Objectives	Context, research goals and outcomes.	\N	10	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca7-727c-a414-bbd09ac39f3f	019a03bf-cca6-7d1f-889c-e426f1fa32a6	scope	Scope	Tasks, datasets, and stakeholders.	\N	20	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca7-79bc-8315-db4b571f789f	019a03bf-cca6-7d1f-889c-e426f1fa32a6	methodology	Methodology	Approach, rigor, and quality control.	\N	30	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca7-7d3f-9c0b-0f19a1b815be	019a03bf-cca6-7d1f-889c-e426f1fa32a6	team_experience	Team & Experience	Experience in financial sector and references.	\N	40	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca7-7ebb-8e46-d7ccac035c72	019a03bf-cca6-7d1f-889c-e426f1fa32a6	deliverables_milestones	Deliverables & Milestones	Reports, timelines, presentations.	\N	50	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca7-7205-bea8-2c5b24dfcee9	019a03bf-cca6-7d1f-889c-e426f1fa32a6	governance_reporting	Governance & Reporting	Review cadence, steering oversight.	\N	60	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca7-75fc-8f4e-38ee8a99ccda	019a03bf-cca6-7d1f-889c-e426f1fa32a6	ip_rights	Intellectual Property	Ownership and licensing terms.	\N	70	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca7-7751-b8b0-fd584a673fdb	019a03bf-cca6-7d1f-889c-e426f1fa32a6	pricing	Pricing	T&M rates or fixed pricing.	\N	80	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca7-7ac5-adf2-c42c7e11f5fc	019a03bf-cca6-7d1f-889c-e426f1fa32a6	evaluation	Evaluation	Method and weighting.	\N	90	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca7-72b4-8e85-33d51a0389c0	019a03bf-cca6-7d1f-889c-e426f1fa32a6	terms	Terms	Commercial terms.	\N	100	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca9-7087-b50f-3a8f6af6f375	019a03bf-cca8-7e76-8978-7e277fd37290	background	Background	Audit objectives and scope.	\N	10	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca9-7b34-88ff-d34d325b5644	019a03bf-cca8-7e76-8978-7e277fd37290	scope	Scope	Financial/IT/compliance scope.	\N	20	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca9-7f50-b7fc-97aa03eb7379	019a03bf-cca8-7e76-8978-7e277fd37290	standards	Standards	ISA/ISAE/ISACA or relevant standards.	\N	30	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca9-719c-af47-e62289ad959b	019a03bf-cca8-7e76-8978-7e277fd37290	independence_conflict	Independence & Conflict	Independence declaration requirements.	\N	40	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca9-7fb6-9838-571346bb68d0	019a03bf-cca8-7e76-8978-7e277fd37290	team_quals	Team Qualifications	Qualifications and experience.	\N	50	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca9-7fbf-91a6-f7f71e4c0d6d	019a03bf-cca8-7e76-8978-7e277fd37290	deliverables	Deliverables	Reports and management letters.	\N	60	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca9-7657-987a-6f07adb4627f	019a03bf-cca8-7e76-8978-7e277fd37290	timeline	Timeline	Milestones and schedule.	\N	70	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca9-7d69-a99c-c15538167a5f	019a03bf-cca8-7e76-8978-7e277fd37290	pricing	Pricing	Fees and assumptions.	\N	80	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca9-75b0-b4e6-c37c2f33845a	019a03bf-cca8-7e76-8978-7e277fd37290	evaluation	Evaluation	Method and weighting.	\N	90	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-cca9-7613-b670-968a3167c7b9	019a03bf-cca8-7e76-8978-7e277fd37290	terms	Terms	Commercial and confidentiality terms.	\N	100	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccab-7363-b22c-6b15b6843f8e	019a03bf-ccaa-7818-8fc9-96eb3bac5a14	background	Background	Operational context and objectives.	\N	10	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccab-7f3c-af5b-576c414d3294	019a03bf-ccaa-7818-8fc9-96eb3bac5a14	scope	Scope	Supply, installation, and maintenance.	\N	20	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccab-7a38-a8ac-5ebe3e45eb39	019a03bf-ccaa-7818-8fc9-96eb3bac5a14	technical_requirements	Technical Requirements	Models, capacity, certifications.	\N	30	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccab-766c-af8b-113108cd236c	019a03bf-ccaa-7818-8fc9-96eb3bac5a14	installation_site_prep	Installation & Site Prep	Power, network, physical layout.	\N	40	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccab-7b70-b066-0ee335f170fc	019a03bf-ccaa-7818-8fc9-96eb3bac5a14	preventive_maintenance	Preventive Maintenance	PPM schedules, spares, and SLAs.	\N	50	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccab-77a5-a3cd-a663e8485857	019a03bf-ccaa-7818-8fc9-96eb3bac5a14	spares_warranty	Spares & Warranty	Spare parts and warranty handling.	\N	60	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccab-7279-92c1-bc745b25e0c4	019a03bf-ccaa-7818-8fc9-96eb3bac5a14	training	Training	Operator and maintenance training.	\N	70	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccab-70a4-9af0-84eba7c2fc1d	019a03bf-ccaa-7818-8fc9-96eb3bac5a14	pricing	Pricing	Supply, installation, AMC.	\N	80	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccab-7b3e-a4a6-59ece8344d9e	019a03bf-ccaa-7818-8fc9-96eb3bac5a14	evaluation	Evaluation	Method and weighting.	\N	90	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccab-74c0-9e6b-b5a7c9003f5a	019a03bf-ccaa-7818-8fc9-96eb3bac5a14	terms	Terms	Commercial and confidentiality terms.	\N	100	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccad-7b93-8224-6f7cf11acb6a	019a03bf-ccac-7323-b2fa-fbad3f669445	background	Background	Cash movement profile and objectives.	\N	10	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccad-7c40-8f61-4219ee9a981c	019a03bf-ccac-7323-b2fa-fbad3f669445	scope	Scope	Routes, volumes, time windows.	\N	20	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccad-74eb-a72c-b8c5e95874fa	019a03bf-ccac-7323-b2fa-fbad3f669445	security_compliance	Security & Compliance	Personnel vetting, SOPs, certifications.	\N	30	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccad-7a34-86bb-78627ed58d52	019a03bf-ccac-7323-b2fa-fbad3f669445	risk_management	Risk Management	Threat model, contingencies.	\N	40	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccad-7895-91a9-30f72cd79f95	019a03bf-ccac-7323-b2fa-fbad3f669445	incident_reporting	Incident Reporting	KPIs and escalation.	\N	50	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccad-7e75-9d32-20a6462ff374	019a03bf-ccac-7323-b2fa-fbad3f669445	insurance_coverage	Insurance Coverage	Required coverage levels.	\N	60	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccad-78e9-b135-b4c5d273d923	019a03bf-ccac-7323-b2fa-fbad3f669445	service_levels	Service Levels	OTP and tamper KPIs.	\N	70	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccad-720f-b221-1d61842c9586	019a03bf-ccac-7323-b2fa-fbad3f669445	pricing	Pricing	Route pricing and surcharges.	\N	80	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccad-76eb-a332-44ff502b6988	019a03bf-ccac-7323-b2fa-fbad3f669445	evaluation	Evaluation	Method and weighting.	\N	90	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccad-7531-968c-059875befce1	019a03bf-ccac-7323-b2fa-fbad3f669445	terms_confidentiality	Terms & Confidentiality	Commercial and confidentiality terms.	\N	100	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccaf-7efc-9356-a5c677bbc7f4	019a03bf-ccae-7835-9055-b5a2a2d1f52a	submission_overview	Submission Overview	Vendors must submit two separate digital files: **one technical proposal** and **one financial proposal**. Label files clearly (e.g. `VendorName - Technical.pdf` and `VendorName - Financial.xlsx`) and upload them as attachments when responding to this RFQ. Pricing information must be restricted to the financial proposal. Any proposal that combines technical and commercial content may be disqualified.	\N	10	t	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccaf-7112-9e29-ad73b3f66b94	019a03bf-ccae-7835-9055-b5a2a2d1f52a	technical_proposal	Technical Proposal Requirements	Describe the solution, methodology, implementation approach, workplan, team CVs and compliance statements. The technical proposal must **exclude** all pricing or commercial terms. Include evidence of experience, certifications, quality assurance processes, risk management approach, and any mandatory forms (upload as appendices).	\N	20	t	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb0-7915-8fbb-4534aac33a65	019a03bf-ccae-7835-9055-b5a2a2d1f52a	financial_proposal	Financial Proposal Requirements	Provide a detailed cost breakdown aligned to the scope. Show unit costs, taxes, optional items and total contract value. State currency (default FJD), payment schedule, validity period, and any assumptions. Do not repeat technical narrative in this document. Clearly reference the corresponding technical proposal sections.	\N	30	t	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb0-7313-a287-c98b88612ffb	019a03bf-ccae-7835-9055-b5a2a2d1f52a	evaluation_method	Evaluation & Weighting	The default weighting for this template is **70% technical** and **30% financial**. Evaluation teams should use the compare tab to score the technical proposal against published criteria (such as methodology, team, delivery plan, risk mitigation). Financial proposals are assessed on total cost of ownership and commercial compliance. Document consensus scores in the scoring notes area.	\N	40	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb0-7a87-8169-ff5ac67f61c5	019a03bf-ccae-7835-9055-b5a2a2d1f52a	timeline_clarifications	Timeline & Clarifications	State the closing date/time, contact point for questions, and process for clarification responses. Remind vendors that late submissions or missing files can result in rejection. Where applicable, require acknowledgement that both documents were submitted on time.	\N	50	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb1-7c3e-b015-7eac7a6ecaba	019a03bf-ccb1-78b7-8636-6e5d64a5cb52	background	Background	Facility profile and objectives.	\N	10	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb1-76d4-a7eb-e447d3f0e535	019a03bf-ccb1-78b7-8636-6e5d64a5cb52	scope	Scope	HVAC, power, cleaning scope.	\N	20	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb2-70c7-b726-4261f4b814f1	019a03bf-ccb1-78b7-8636-6e5d64a5cb52	standards_safety	Standards & Safety	Applicable standards and safety protocols.	\N	30	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb2-7086-808b-c262c31ca39e	019a03bf-ccb1-78b7-8636-6e5d64a5cb52	schedules_sla	Schedules & SLA	PPM schedules and SLAs.	\N	40	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb2-71b9-9f53-79860412064b	019a03bf-ccb1-78b7-8636-6e5d64a5cb52	staffing_quals	Staffing & Qualifications	Minimum staffing and skills.	\N	50	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb2-7342-9548-e39a81e60730	019a03bf-ccb1-78b7-8636-6e5d64a5cb52	reporting	Reporting	Logs, KPIs, and reports.	\N	60	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb2-72eb-9694-511ea836c052	019a03bf-ccb1-78b7-8636-6e5d64a5cb52	pricing	Pricing	Service pricing and options.	\N	70	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb2-7aad-9132-3904496e0b6f	019a03bf-ccb1-78b7-8636-6e5d64a5cb52	evaluation	Evaluation	Method and weighting.	\N	80	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb2-70b9-9025-3dcb0e619e10	019a03bf-ccb1-78b7-8636-6e5d64a5cb52	terms	Terms	Commercial and confidentiality terms.	\N	90	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb3-7a9c-922d-eee2c015389d	019a03bf-ccb3-7a5e-824e-7705cfdbb30d	background	Background	Audience and training objectives.	\N	10	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb3-7cec-93c9-6044c5ee7951	019a03bf-ccb3-7a5e-824e-7705cfdbb30d	learning_objectives	Learning Objectives	Expected outcomes and competencies.	\N	20	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb3-73eb-b251-716bae314d6c	019a03bf-ccb3-7a5e-824e-7705cfdbb30d	curriculum_outline	Curriculum Outline	Modules and durations.	\N	30	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb4-7db3-b3a4-1fb3bea7654d	019a03bf-ccb3-7a5e-824e-7705cfdbb30d	trainer_quals	Trainer Qualifications	Required experience and certifications.	\N	40	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb4-7bbd-82d4-31e9d9d5e059	019a03bf-ccb3-7a5e-824e-7705cfdbb30d	delivery_method	Delivery Method	Onsite/online/hybrid details.	\N	50	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb4-7c61-83a8-4a18145e09d1	019a03bf-ccb3-7a5e-824e-7705cfdbb30d	materials_ip	Materials & IP	Ownership of materials and usage rights.	\N	60	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb4-7880-a7e1-e2bac6adbf1e	019a03bf-ccb3-7a5e-824e-7705cfdbb30d	assessment_evaluation	Assessment & Evaluation	Assessments and feedback instruments.	\N	70	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb4-70e5-9d0f-c6ae34165706	019a03bf-ccb3-7a5e-824e-7705cfdbb30d	pricing	Pricing	Per-learner or program pricing.	\N	80	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb4-7549-8004-9d329c599bcf	019a03bf-ccb3-7a5e-824e-7705cfdbb30d	evaluation	Evaluation	Method and weighting.	\N	90	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb4-7326-8303-a83b6f69c19e	019a03bf-ccb3-7a5e-824e-7705cfdbb30d	terms	Terms	Commercial and confidentiality terms.	\N	100	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb6-72e5-9ebb-3350cfb7ae3f	019a03bf-ccb5-7f0f-b52e-b01158875284	background	Background	Purpose of EOI and context.	\N	10	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb6-76e5-b74f-41bfacf770df	019a03bf-ccb5-7f0f-b52e-b01158875284	interest_statement	Statement of Interest	Vendor expression of interest and relevance.	\N	20	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb6-7cc7-ae3c-485225a9af8a	019a03bf-ccb5-7f0f-b52e-b01158875284	capability_summary	Capability Summary	Core capabilities and capacity.	\N	30	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb6-701c-9267-a6e0e60d1c66	019a03bf-ccb5-7f0f-b52e-b01158875284	relevant_experience	Relevant Experience	Case studies and references.	\N	40	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb6-78fa-bc6b-2cfccbd08d0b	019a03bf-ccb5-7f0f-b52e-b01158875284	indicative_approach	Indicative Approach	High-level approach and timeline.	\N	50	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb6-7795-ae86-a53facd58106	019a03bf-ccb5-7f0f-b52e-b01158875284	submission	Submission	Instructions and deadline.	\N	60	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
019a03bf-ccb6-7563-84c6-674e382f010a	019a03bf-ccb5-7f0f-b52e-b01158875284	shortlisting_criteria	Shortlisting Criteria	How EOIs will be shortlisted.	\N	70	f	t	t	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.752336+00	text	\N	\N
\.


--
-- Data for Name: rfq_templates; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.rfq_templates (rfq_template_id, org_id, name, code, description, category, is_default, valid_from, valid_until, distribution_channels, created_by, is_deleted, created_at, updatedat) FROM stdin;
019a03bf-cc93-7a03-a73b-7c53cdd6159f	\N	General Goods & Services (RBF Default)	RBF_GS_DEFAULT	Default RFQ template for general goods and services	general	t	\N	\N	{email,portal}	\N	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.822344+00
019a03bf-cca0-7b86-abc9-34e2ba64b70b	\N	IT Infrastructure & Hardware	RBF_IT_INFRA	Servers, network, endpoints, and related hardware	it	f	\N	\N	{email,portal}	\N	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.822344+00
019a03bf-cca2-7d18-bf14-e0d73e7652c6	\N	Software & SaaS	RBF_SOFTWARE_SAAS	Commercial software and SaaS subscriptions	it	f	\N	\N	{email,portal}	\N	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.822344+00
019a03bf-cca4-7faf-855b-67d67a665569	\N	Cybersecurity Services	RBF_CYBERSEC	Assessments, GRC, penetration testing, or MSSP	security	f	\N	\N	{email,portal}	\N	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.822344+00
019a03bf-cca6-7d1f-889c-e426f1fa32a6	\N	Financial/Regulatory Consulting & Research	RBF_CONSULTING	Policy, market studies, regulatory impact analyses	consulting	f	\N	\N	{email,portal}	\N	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.822344+00
019a03bf-cca8-7e76-8978-7e277fd37290	\N	External Audit Services	RBF_AUDIT	Financial, IT, or compliance audits	audit	f	\N	\N	{email,portal}	\N	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.822344+00
019a03bf-ccaa-7818-8fc9-96eb3bac5a14	\N	Banking Equipment & Maintenance	RBF_BANK_EQUIP	Cash processing equipment, CCTV, safes, and maintenance	operations	f	\N	\N	{email,portal}	\N	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.822344+00
019a03bf-ccac-7323-b2fa-fbad3f669445	\N	Cash-In-Transit & Secure Logistics	RBF_CIT	CIT services and secure logistics	security	f	\N	\N	{email,portal}	\N	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.822344+00
019a03bf-ccae-7835-9055-b5a2a2d1f52a	\N	Two-Envelope Technical & Financial	RBF_TECH_FIN_ENVELOPE	For procurements that require separate technical and financial proposals	general	f	\N	\N	{email,portal}	\N	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.822344+00
019a03bf-ccb1-78b7-8636-6e5d64a5cb52	\N	Facilities & Building Services	RBF_FACILITIES	HVAC, power, cleaning, and soft services	facilities	f	\N	\N	{email,portal}	\N	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.822344+00
019a03bf-ccb3-7a5e-824e-7705cfdbb30d	\N	Training & Capacity Building	RBF_TRAINING	Training programs and capability development	training	f	\N	\N	{email,portal}	\N	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.822344+00
019a03bf-ccb5-7f0f-b52e-b01158875284	\N	EOI: Market Sounding	RBF_EOI_MARKET	Expression of Interest for market sounding	eoi	f	\N	\N	{email,portal}	\N	f	2025-10-20 22:31:32.752336+00	2025-10-20 22:31:32.822344+00
\.


--
-- Data for Name: rfqs; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.rfqs (id, procurement_request_id, vendor_id, sent_at) FROM stdin;
0194a8b2-00f1-7123-8123-123456789a10	019a03bf-e767-7f88-b5ac-c749d34c5c5c	\N	\N
0194a8b2-00f2-7123-8123-123456789a11	019a03bf-e767-7658-b75e-58166a912b7f	\N	\N
0194a8b2-00f3-7123-8123-123456789a12	\N	0194a8b2-1004-7123-8123-123456789a04	2025-08-26 22:31:39.384248+00
0194a8b2-00f4-7123-8123-123456789a13	\N	0194a8b2-1005-7123-8123-123456789a05	2025-08-03 22:31:39.384248+00
0194a8b2-00f5-7123-8123-123456789a14	\N	0194a8b2-1001-7123-8123-123456789a01	2025-10-19 22:31:39.542719+00
\.


--
-- Data for Name: risk_assessment_files; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.risk_assessment_files (id, risk_assessment_id, file_path, uploaded_by, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: risk_assessment_hazards; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.risk_assessment_hazards (id, risk_assessment_id, hazard_description, who_might_be_harmed, existing_control_measures, risk_rating_before, additional_controls, residual_risk_rating, responsible_person, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: risk_assessment_ppe; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.risk_assessment_ppe (id, risk_assessment_id, checklist_item, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: risk_assessment_signoffs; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.risk_assessment_signoffs (id, risk_assessment_id, name, "position", signature, signed_at, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: risk_assessment_types; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.risk_assessment_types (id, name, description, form_id, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
1	Water Treatment Plant Risk Assessment	Assessment of operational and chemical risks in treatment facilities	85	\N	\N	f	2025-10-20 22:31:31.822298+00
2	Pipeline & Infrastructure Risk Assessment	Evaluation of potential failure points across distribution infrastructure	86	\N	\N	f	2025-10-20 22:31:31.822298+00
3	Environmental and Climate Risk Assessment	Assesses environmental vulnerabilities to water supply and treatment	87	\N	\N	f	2025-10-20 22:31:31.822298+00
4	Occupational Health & Safety Risk Assessment	OHS-focused hazard evaluation in operational areas and fieldwork	88	\N	\N	f	2025-10-20 22:31:31.822298+00
5	Cybersecurity & SCADA Risk Assessment	Review of IT security and SCADA operational risk vulnerabilities	89	\N	\N	f	2025-10-20 22:31:31.822298+00
6	Community & Stakeholder Risk Assessment	Analyzes public-facing risks and reputational threats from service issues	90	\N	\N	f	2025-10-20 22:31:31.822298+00
\.


--
-- Data for Name: risk_assessments; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.risk_assessments (id, risk_assessment_type_id, incident_id, title, department_id, location, assessment_date, review_date, form_data, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: risk_categories; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.risk_categories (id, name, description, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: risk_identifications; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.risk_identifications (id, risk_description, risk_category_id, root_cause, likelihood, impact, risk_rating, current_controls, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: role_competencies; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.role_competencies (id, role_id, competency_id, required_level, updatedat, isdeleted) FROM stdin;
\.


--
-- Data for Name: safety_alert_files; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.safety_alert_files (id, alert_id, file_path, uploaded_by, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: safety_alert_logs; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.safety_alert_logs (id, alert_id, action, details, user_id, logged_at, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: safety_alerts; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.safety_alerts (id, date, "time", location, classification, description, status, investigator_id, submitted_by, form_data, tenant_id, branch_id, updatedat, isdeleted) FROM stdin;
\.


--
-- Data for Name: safety_document_versions; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.safety_document_versions (id, document_id, storage_key, version_number, version_hash, created_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: safety_documents; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.safety_documents (id, folder_id, title, description, owner_id, connector_id, created_at, visible_to_roles, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: safety_field_incidents; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.safety_field_incidents (id, incident_type, location, description, document_ids, gps, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: safety_incident_files; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.safety_incident_files (id, incident_id, file_path, uploaded_by, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: safety_incident_types; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.safety_incident_types (id, name, form_id, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
1	Minor Injury	20	\N	\N	f	2025-10-20 22:31:29.463567+00
2	Near Miss	15	\N	\N	f	2025-10-20 22:31:29.463567+00
3	Property Damage	13	\N	\N	f	2025-10-20 22:31:29.463567+00
4	Environmental	14	\N	\N	f	2025-10-20 22:31:29.463567+00
5	Other	97	\N	\N	f	2025-10-20 22:31:29.463567+00
6	Field Incident	108	\N	\N	f	2025-10-20 22:31:29.463567+00
\.


--
-- Data for Name: safety_incidents; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.safety_incidents (id, incident_type, location, description, gps, document_ids, tenant_id, branch_id, updatedat, isdeleted) FROM stdin;
\.


--
-- Data for Name: salaries; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.salaries (salary_id, user_id, org_id, salary_type, rate, currency, effective_date, end_date, isdeleted, updatedat) FROM stdin;
019a03bf-e726-72d8-956c-0d055d2b3bf2	0194a8b2-4450-7123-8123-123456789ac3	0194a8b2-1234-7123-8123-123456789abc	hourly	25.00	FJD	2025-01-01 00:00:00+00	\N	f	2025-10-20 22:31:39.557012+00
019a03bf-e726-78ba-a3d8-4ef41c040f61	0194a8b2-4451-7123-8123-123456789ac3	0194a8b2-1234-7123-8123-123456789abc	hourly	30.00	FJD	2025-01-01 00:00:00+00	\N	f	2025-10-20 22:31:39.557012+00
019a03bf-e727-73fd-b312-17996c9e7ab8	0194a8b2-4452-7123-8123-123456789ac3	0194a8b2-1234-7123-8123-123456789abc	hourly	22.50	FJD	2025-01-01 00:00:00+00	\N	f	2025-10-20 22:31:39.557012+00
019a03bf-e727-7f55-9b48-161ccf3e03c1	0194a8b2-4453-7123-8123-123456789ac3	0194a8b2-1234-7123-8123-123456789abc	hourly	28.00	FJD	2025-01-01 00:00:00+00	\N	f	2025-10-20 22:31:39.557012+00
019a03bf-e727-7cbe-afc2-1bb43e26748b	0194a8b2-4454-7123-8123-123456789ac3	0194a8b2-1234-7123-8123-123456789abc	hourly	26.00	FJD	2025-01-01 00:00:00+00	\N	f	2025-10-20 22:31:39.557012+00
\.


--
-- Data for Name: sales_receipts; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.sales_receipts (sales_receipt_id, org_id, type, invoicenumber, requestedby, sdcdatetime, invoicecounter, invoicecounterextension, taxitems, verificationurl, verificationqrcode, journal, messages, signedby, encryptedinternaldata, signature, totalcounter, transactiontypecounter, totalamount, taxgrouprevision, businessname, tin, locationname, address, district, mrc, transactiontype, data, "timestamp", taxcore_submission_id, case_id, invoice_id, buyer_id, cashier_name, cashier_id, createdat, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: sales_tax_types; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.sales_tax_types (salestax_id, country, name, rate, code, start_date, end_date, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: scheduled_reports; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.scheduled_reports (id, tenant_id, branch_id, report_id, format, recipients, next_run, interval_days, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: service_connections; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.service_connections (id, tenant_id, user_id, branch_id, name, type, credentials, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: service_types; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.service_types (id, name, description, make, model, type, km_interval, month_interval, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: sessions; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.sessions (session_id, user_id, auth_level, created_at, last_seen_at, expires_at, ip, user_agent, mfa_completed_at) FROM stdin;
019a03c0-46dc-7278-b97b-f282912bb12c	0194a8b2-1111-7123-8123-123456789ac0	aal1	2025-10-20 22:32:04+00	2025-10-20 22:32:04.060107+00	2025-10-20 23:32:04+00	172.21.0.1	Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36	\N
019a03f9-4720-79e2-a45e-be4c788634a8	0194a8b2-1111-7123-8123-123456789ac0	aal1	2025-10-20 23:34:19+00	2025-10-20 23:34:19.679709+00	2025-10-21 00:34:19+00	172.21.0.1	Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36	\N
019a0414-59f4-761e-80c3-ece8dd5bdd2f	0194a8b2-1111-7123-8123-123456789ac0	aal1	2025-10-21 00:03:53+00	2025-10-21 00:03:53.972642+00	2025-10-21 01:03:53+00	172.21.0.1	Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36	\N
019a0421-54b3-78ee-8dc7-9ba7d175dff2	0194a8b2-1111-7123-8123-123456789ac0	aal1	2025-10-21 00:18:04+00	2025-10-21 00:18:04.595245+00	2025-10-21 01:18:04+00	172.21.0.1	Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36	\N
019a0440-dcc1-7bed-9a8e-cab7c20d8ea4	0194a8b2-1111-7123-8123-123456789ac0	aal1	2025-10-21 00:52:31+00	2025-10-21 00:52:31.041589+00	2025-10-21 01:52:31+00	172.21.0.1	Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36	\N
019a048e-b927-7a0c-bffa-f25bd8e8fd70	0194a8b2-1111-7123-8123-123456789ac0	aal1	2025-10-21 02:17:33+00	2025-10-21 02:17:33.735026+00	2025-10-21 03:17:33+00	172.21.0.1	Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36	\N
\.


--
-- Data for Name: settings; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.settings (id, name, value, category, user_id, group_id, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
1	default_currency	FJD	finance	\N	\N	\N	\N	f	2025-10-20 22:31:29.38699+00
2	timezone	Pacific/Fiji	system	\N	\N	1	1	f	2025-10-20 22:31:29.38699+00
3	policy_publish_webhook		system	\N	\N	\N	\N	f	2025-10-20 22:31:29.38699+00
4	policy_update_webhook		system	\N	\N	\N	\N	f	2025-10-20 22:31:29.38699+00
\.


--
-- Data for Name: shift_swaps; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.shift_swaps (id, requester_id, target_employee_id, requester_shift_id, target_shift_id, status, approved_by, approved_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: shifts; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.shifts (id, name, start_time, end_time, overtime_cap, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: software_info; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.software_info (software_info_id, manufacturer_name, serial_number, software_version, isdeleted, updatedat) FROM stdin;
019a03bf-cb12-7840-9e33-afba9a0e186f	Cybex PTE Limited.	CYBEXPTE-ERP-2025-001.	2025.08	f	2025-10-20 22:31:32.369127+00
\.


--
-- Data for Name: storage_connectors; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.storage_connectors (storage_connector_id, org_id, category_id, name, type, credentials, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: supervisor_types; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.supervisor_types (id, name, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: table_column_settings; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.table_column_settings (id, table_name, user_id, tenant_id, branch_id, hidden_columns, column_order, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: table_views; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.table_views (id, form_id, table_name, tenant_id, branch_id, category_id, name, columns, sort_by, sort_dir, isdeleted, updatedat) FROM stdin;
1	80	\N	\N	\N	\N	Default	["risk_description","risk_category_id","risk_category_name","likelihood","impact",{"field":"risk_rating","formula":"impact * likelihood"}]	risk_description	ASC	f	2025-10-20 22:31:31.67328+00
\.


--
-- Data for Name: tasks; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.tasks (id, employee_id, item_name, manager_id, status, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: tax_core_request; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.tax_core_request (id, buyer_id, buyer_cost_center_id, cashier, invoice_number, date_and_time_of_issue, invoice_type, transaction_type, referent_document_number, payment, options, items, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: tax_core_response; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.tax_core_response (id, invoicenumber, requestedby, sdcdatetime, invoicecounter, invoicecounterextension, taxitems, verificationurl, verificationqrcode, journal, messages, signedby, encryptedinternaldata, signature, totalcounter, transactiontypecounter, totalamount, taxgrouprevision, businessname, tin, locationname, address, district, mrc, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: tax_ledger; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.tax_ledger (id, payroll_run_id, employee_id, tax_type, amount, ytd_total, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: taxcore_configurations; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.taxcore_configurations (taxcore_config_id, org_id, certificate_path, certificate_password, api_base_url, api_timeout_seconds, tin, business_name, location_name, mrc, pos_number, is_active, auto_submit, submit_delay_seconds, last_submission_at, certificate_expires_at, certificate_last_validated_at, created_at, updated_at, created_by) FROM stdin;
\.


--
-- Data for Name: taxcore_queue; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.taxcore_queue (queue_id, submission_id, org_id, retry_count, max_retries, next_retry_at, backoff_multiplier, base_delay_minutes, priority, status, locked_by, locked_at, last_error, created_at, updated_at, processed_at, isdeleted) FROM stdin;
\.


--
-- Data for Name: taxcore_submissions; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.taxcore_submissions (submission_id, org_id, reference_table, reference_id, submission_type, invoice_number, total_amount, request_payload, response_payload, taxcore_invoice_number, taxcore_qr_code, taxcore_verification_url, taxcore_journal, taxcore_signature, status, attempts, last_attempt_at, error_message, http_status_code, submitted_by, submission_source, created_at, completed_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: tenant_admins; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.tenant_admins (id, tenant_id, admin_user_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: tenant_idp_configs; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.tenant_idp_configs (root_org_id, provider_code, enabled, config_json, mapping_json) FROM stdin;
\.


--
-- Data for Name: tenant_module_settings; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.tenant_module_settings (id, tenant_id, branch_id, module_id, name, value, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: tenant_modules; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.tenant_modules (id, tenant_id, branch_id, module_id, enabled, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: tenant_tables; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.tenant_tables (id, tenant_id, user_id, table_name, definition, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: tenants; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.tenants (id, name, subdomain, custom_domain, logo, product_name, dashboard_name, settings, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: time_clock_aggregates; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.time_clock_aggregates (time_clock_aggregate_id, org_id, user_id, start_date, end_date, total_duration_minutes, total_net_minutes, total_overtime_minutes, total_regular_minutes, total_payable_minutes, total_days_worked, created_at, isdeleted, updatedat) FROM stdin;
019a03bf-e757-7a5b-9608-a779bb34b67b	0194a8b2-1234-7123-8123-123456789abc	0194a8b2-4450-7123-8123-123456789ac3	2025-09-09	2025-09-12	1920	1920	0	1920	1920	4	2025-10-20 22:31:39.606134+00	f	2025-10-20 22:31:39.606134+00
019a03bf-e758-73c7-be8b-bf5bd0aba113	0194a8b2-1234-7123-8123-123456789abc	0194a8b2-4451-7123-8123-123456789ac3	2025-09-09	2025-09-12	1920	1920	0	1920	1920	4	2025-10-20 22:31:39.606134+00	f	2025-10-20 22:31:39.606134+00
019a03bf-e758-7e7c-b0cd-1b86b456a313	0194a8b2-1234-7123-8123-123456789abc	0194a8b2-4452-7123-8123-123456789ac3	2025-09-09	2025-09-12	1920	1920	0	1920	1920	4	2025-10-20 22:31:39.606134+00	f	2025-10-20 22:31:39.606134+00
019a03bf-e758-7970-b790-6c3b415a3144	0194a8b2-1234-7123-8123-123456789abc	0194a8b2-4453-7123-8123-123456789ac3	2025-09-09	2025-09-12	1920	1920	0	1920	1920	4	2025-10-20 22:31:39.606134+00	f	2025-10-20 22:31:39.606134+00
019a03bf-e758-79e4-bcd8-db3f267ef94b	0194a8b2-1234-7123-8123-123456789abc	0194a8b2-4454-7123-8123-123456789ac3	2025-09-09	2025-09-12	1920	1920	0	1920	1920	4	2025-10-20 22:31:39.606134+00	f	2025-10-20 22:31:39.606134+00
\.


--
-- Data for Name: time_clocks; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.time_clocks (time_clocks_id, org_id, user_id, clock_type, valid_gps, location_id, locationapproved, security_type, clocked_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: time_entries; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.time_entries (time_entry_id, reference_id, reference_table, approved, user_id, instructions, hours, date, rate, vat_rate, description, billed_to_client, added_to_cost_schedule, billable, status, work_type_id, title, approval_comment, comments, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: timesheets; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.timesheets (id, tenant_id, branch_id, user_id, date, standard_hours, overtime_hours, break_hours, supervisor_id, supervisor_type, work_id, approval_comment, approved, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: training_answers; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.training_answers (id, question_id, answer, tenant_id, branch_id, is_correct, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: training_badges; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.training_badges (id, employee_id, course_id, badge_name, issued_at, expires_at, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: training_bookmarks; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.training_bookmarks (id, employee_id, content_id, "position", tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: training_categories; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.training_categories (id, name, description, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: training_certificates; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.training_certificates (id, user_id, certificate_name, category, issued_at, expires_at, expiry_date, renewal_required, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: training_contents; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.training_contents (id, course_id, title, file_path, caption_path, language_code, url, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: training_courses; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.training_courses (id, title, description, duration, recertification_interval, category_id, prerequisites, target_audience, language_code, country_id, content_host, external_lms_url, lms_host, lms_api_key, archived, mandatory, createdby, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: training_enrollments; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.training_enrollments (id, employee_id, session_id, status, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: training_feedback; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.training_feedback (id, enrollment_id, rating, comments, signature_path, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: training_path_courses; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.training_path_courses (id, path_id, course_id, sequence, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: training_paths; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.training_paths (id, tenant_id, branch_id, country_id, department_id, role_id, name, description, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: training_questions; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.training_questions (id, quiz_id, question, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: training_quizzes; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.training_quizzes (id, course_id, passing_score, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: training_results; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.training_results (id, enrollment_id, score, completed, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: training_sessions; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.training_sessions (id, course_id, start_date, end_date, location, createdby, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: user_2fa; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.user_2fa (id, provider, provider_user_id, email, name, profile_pic, linked_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: user_board_settings; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.user_board_settings (id, user_id, board_id, column_order, hidden_columns, selected, isdeleted, updatedat) FROM stdin;
1	1	1	[1,2,3]	[]	f	f	2025-10-20 22:31:29.702148+00
2	1	2	[1,2,3]	[]	f	f	2025-10-20 22:31:29.702148+00
3	1	3	[1,2,3]	[]	f	f	2025-10-20 22:31:29.702148+00
4	1	4	[1,2,3]	[]	f	f	2025-10-20 22:31:29.702148+00
\.


--
-- Data for Name: user_branch_memberships; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.user_branch_memberships (membership_id, user_id, branch_id, role, options, joined_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: user_column_permissions; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.user_column_permissions (user_column_permission_id, user_id, table_name, column_name, access_mode, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: user_emails; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.user_emails (user_email_id, user_id, email, is_primary, verified_at, isdeleted, updatedat) FROM stdin;
019a03bf-e375-7c8d-83f2-8b3fa74a44d6	0194a8b2-1111-7123-8123-123456789ac0	admin@cybexpte.com	f	\N	f	2025-10-20 22:31:38.607161+00
019a03bf-e377-7ddc-9c8e-29a64ca4cdb2	0194a8b2-2222-7123-8123-123456789ac1	employment@cybexpte.com	f	\N	f	2025-10-20 22:31:38.607161+00
019a03bf-e377-72aa-bab9-c6f0803f8142	0194a8b2-3333-7123-8123-123456789ac2	waf@cybexpte.com	f	\N	f	2025-10-20 22:31:38.607161+00
019a03bf-e377-7336-9463-d26f5e531391	0194a8b2-4444-7123-8123-123456789ac3	jagath@karunaratnelawyers.com.fj	f	\N	f	2025-10-20 22:31:38.607161+00
019a03bf-e377-7af7-9de8-d8acb21e9177	0194a8b2-4445-7123-8123-123456789ac3	Roma@karunaratnelawyers.com.fj	f	\N	f	2025-10-20 22:31:38.607161+00
019a03bf-e377-750e-a7f9-1a75eca0b501	0194a8b2-4446-7123-8123-123456789ac3	mereani@karunaratnelawyers.com.fj	f	\N	f	2025-10-20 22:31:38.607161+00
019a03bf-e377-7839-a657-450d0de61f11	0194a8b2-4447-7123-8123-123456789ac3	admin@karunaratnelawyers.com.fj	f	\N	f	2025-10-20 22:31:38.607161+00
019a03bf-e377-71c0-a996-b3596a9875ed	0194a8b2-4448-7123-8123-123456789ac3	victorpatrick.adrian@gmail.com	f	\N	f	2025-10-20 22:31:38.607161+00
019a03bf-e377-78e3-b2df-1093a1dbe179	0194a8b2-4449-7123-8123-123456789ac3	shiralkumar05@gmail.com	f	\N	f	2025-10-20 22:31:38.607161+00
019a03bf-e38c-71ee-ae00-ab932c3ec98e	0194a8b2-4456-7123-8123-123456789ac3	cashier@cybexpte.com	f	\N	f	2025-10-20 22:31:38.634953+00
019a03bf-e399-7e41-b4e1-3c0e9cd2c5ec	0194a8b2-4457-7123-8123-123456789ac3	frcs@cybexpte.com	f	\N	f	2025-10-20 22:31:38.648377+00
019a03bf-e3a8-79d0-be92-2600eaf99be2	0194a8b2-4458-7123-8123-123456789ac3	posmanager@cybexpte.com	f	\N	f	2025-10-20 22:31:38.662181+00
019a03bf-e3ed-7b04-9543-2e588de8c89d	0194a8b2-4455-7123-8123-123456789ac3	rbf@cybexpte.com	f	\N	f	2025-10-20 22:31:38.732651+00
019a03bf-e61f-7a29-a063-8c841a10b1ac	0194a8b2-4450-7123-8123-123456789ac3	kevin@cybexpte.com	f	\N	f	2025-10-20 22:31:39.292185+00
019a03bf-e61f-74a1-ac65-58ae3756b96a	0194a8b2-4451-7123-8123-123456789ac3	bhaskaran@cybexpte.com	f	\N	f	2025-10-20 22:31:39.292185+00
019a03bf-e61f-7bef-a113-bde34ca66811	0194a8b2-4452-7123-8123-123456789ac3	mishika@cybexpte.com	f	\N	f	2025-10-20 22:31:39.292185+00
019a03bf-e61f-7d38-895a-df44b43b7871	0194a8b2-4453-7123-8123-123456789ac3	mahek@cybexpte.com	f	\N	f	2025-10-20 22:31:39.292185+00
019a03bf-e61f-7f0c-adeb-9d84bf8af9eb	0194a8b2-4454-7123-8123-123456789ac3	marshneel@cybexpte.com	f	\N	f	2025-10-20 22:31:39.292185+00
019a03bf-e697-702f-9b88-8ef4e50bb091	019a03bf-e697-7168-ac89-77038d047317	vendor.pacificit@cybexpte.com	f	\N	f	2025-10-20 22:31:39.415214+00
019a03bf-e697-7fa9-af17-4d26c08b860e	019a03bf-e697-7d4f-a816-c83505c0634b	vendor.islandsupplies@cybexpte.com	f	\N	f	2025-10-20 22:31:39.415214+00
019a03bf-e698-73f5-a62d-2e8a9606562e	019a03bf-e698-754c-934a-44eef82cbda1	vendor.coraltech@cybexpte.com	f	\N	f	2025-10-20 22:31:39.415214+00
019a03bf-e698-7f5d-a0d5-389cec2f2032	019a03bf-e698-7904-a7f8-ad7fc43642a8	vendor.bluelagoon@cybexpte.com	f	\N	f	2025-10-20 22:31:39.415214+00
019a03bf-e698-79ed-b3ee-f5114616152d	019a03bf-e698-7794-928a-fe0e935dfe39	vendor.sunrise@cybexpte.com	f	\N	f	2025-10-20 22:31:39.415214+00
\.


--
-- Data for Name: user_faces; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.user_faces (id, user_id, image_path, embedding, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: user_group_memberships; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.user_group_memberships (membership_id, user_id, group_id, role, joined_at, isdeleted, updatedat) FROM stdin;
019a03bf-e3b6-70c9-8b83-1575b3eeb4b3	0194a8b2-1111-7123-8123-123456789ac0	0194a8b2-eeee-7123-8123-123456789ace	\N	2025-10-20 22:31:38.676678+00	f	2025-10-20 22:31:38.676678+00
019a03bf-e3c3-783e-b096-ede88c44a4bb	0194a8b2-4456-7123-8123-123456789ac3	0194a8ba-bcde-7123-8123-123456789ad7	\N	2025-10-20 22:31:38.690874+00	f	2025-10-20 22:31:38.690874+00
019a03bf-e3d1-787b-a73c-a592766aed1b	0194a8b2-4458-7123-8123-123456789ac3	0194a8ba-d0d0-7123-8123-123456789ad8	\N	2025-10-20 22:31:38.704219+00	f	2025-10-20 22:31:38.704219+00
019a03bf-e3df-78ef-a610-9d5e14ee0256	0194a8b2-4457-7123-8123-123456789ac3	0194a8ba-d0d0-7123-8123-123456789ad8	\N	2025-10-20 22:31:38.718436+00	f	2025-10-20 22:31:38.718436+00
019a03bf-e3fa-70c6-84f5-7da4755702a0	0194a8b2-4444-7123-8123-123456789ac3	0194a8b2-aaaa-7123-8123-123456789ac4	\N	2025-10-20 22:31:38.746079+00	f	2025-10-20 22:31:38.746079+00
019a03bf-e40a-700c-9181-0d43f641d005	0194a8b2-4448-7123-8123-123456789ac3	0194a8b2-aaaa-7123-8123-123456789ac4	\N	2025-10-20 22:31:38.761418+00	f	2025-10-20 22:31:38.761418+00
019a03bf-e6a7-7d05-8be7-d8af0ee6d252	019a03bf-e697-7168-ac89-77038d047317	019a03bf-e68a-7970-8888-6cb93481e388	\N	2025-10-20 22:31:39.428388+00	f	2025-10-20 22:31:39.428388+00
019a03bf-e6a7-7d19-8079-870a36fa6556	019a03bf-e697-7d4f-a816-c83505c0634b	019a03bf-e68a-7970-8888-6cb93481e388	\N	2025-10-20 22:31:39.428388+00	f	2025-10-20 22:31:39.428388+00
019a03bf-e6a8-74c2-84f2-b00d1a9f3acb	019a03bf-e698-754c-934a-44eef82cbda1	019a03bf-e68a-7970-8888-6cb93481e388	\N	2025-10-20 22:31:39.428388+00	f	2025-10-20 22:31:39.428388+00
019a03bf-e6a8-71c1-b568-0690f5473055	019a03bf-e698-7904-a7f8-ad7fc43642a8	019a03bf-e68a-7970-8888-6cb93481e388	\N	2025-10-20 22:31:39.428388+00	f	2025-10-20 22:31:39.428388+00
019a03bf-e6a8-7e50-a289-ddca414ab664	019a03bf-e698-7794-928a-fe0e935dfe39	019a03bf-e68a-7970-8888-6cb93481e388	\N	2025-10-20 22:31:39.428388+00	f	2025-10-20 22:31:39.428388+00
\.


--
-- Data for Name: user_identities; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.user_identities (provider_code, subject, user_id, email_at_auth, claims_json, linked_at) FROM stdin;
\.


--
-- Data for Name: user_mfa_factors; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.user_mfa_factors (factor_id, user_id, type, label, is_primary, enabled, updatedat, last_used_at, isdeleted) FROM stdin;
\.


--
-- Data for Name: user_mfa_totp; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.user_mfa_totp (factor_id, secret_b32, iv, tag, issuer, period, digits, algo) FROM stdin;
\.


--
-- Data for Name: user_mfa_webauthn; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.user_mfa_webauthn (factor_id, credential_id, public_key, sign_count, transports, last_counter, aaguid) FROM stdin;
\.


--
-- Data for Name: user_module_permissions; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.user_module_permissions (user_module_permission_id, user_id, module_id, action, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: user_org_memberships; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.user_org_memberships (membership_id, user_id, org_id, role, options, joined_at, isdeleted, updatedat) FROM stdin;
019a03bf-e374-7918-baeb-eeabc603cff5	0194a8b2-1111-7123-8123-123456789ac0	0194a8b2-1234-7123-8123-123456789abc	Admin	\N	2025-10-20 22:31:38.607161+00	f	2025-10-20 22:31:38.607161+00
019a03bf-e375-7bd7-8596-d07bdcd2a11e	0194a8b2-2222-7123-8123-123456789ac1	0194a8b2-def0-7123-8123-123456789abf	Admin	\N	2025-10-20 22:31:38.607161+00	f	2025-10-20 22:31:38.607161+00
019a03bf-e375-7b0e-b9d5-f9f64fcef768	0194a8b2-3333-7123-8123-123456789ac2	0194a8b2-9abc-7123-8123-123456789abe	Admin	\N	2025-10-20 22:31:38.607161+00	f	2025-10-20 22:31:38.607161+00
019a03bf-e375-7ad8-a5dd-aa4b8c29d287	0194a8b2-4444-7123-8123-123456789ac3	0194a8b2-5678-7123-8123-123456789abd	Admin	\N	2025-10-20 22:31:38.607161+00	f	2025-10-20 22:31:38.607161+00
019a03bf-e375-7c99-9b45-253377bd7e76	0194a8b2-4445-7123-8123-123456789ac3	0194a8b2-5678-7123-8123-123456789abd	Member	\N	2025-10-20 22:31:38.607161+00	f	2025-10-20 22:31:38.607161+00
019a03bf-e375-7abe-b4e4-1f6e8d8b8ded	0194a8b2-4446-7123-8123-123456789ac3	0194a8b2-5678-7123-8123-123456789abd	Member	\N	2025-10-20 22:31:38.607161+00	f	2025-10-20 22:31:38.607161+00
019a03bf-e375-7dd1-a61d-368ba811e24b	0194a8b2-4447-7123-8123-123456789ac3	0194a8b2-5678-7123-8123-123456789abd	Admin	\N	2025-10-20 22:31:38.607161+00	f	2025-10-20 22:31:38.607161+00
019a03bf-e375-77a8-8ce9-c205ccf385c3	0194a8b2-4448-7123-8123-123456789ac3	0194a8b2-5678-7123-8123-123456789abd	Member	\N	2025-10-20 22:31:38.607161+00	f	2025-10-20 22:31:38.607161+00
019a03bf-e375-710f-9665-bac3c2826cdb	0194a8b2-4449-7123-8123-123456789ac3	0194a8b2-5678-7123-8123-123456789abd	Member	\N	2025-10-20 22:31:38.607161+00	f	2025-10-20 22:31:38.607161+00
019a03bf-e38c-7e7f-9c87-051427da82ab	0194a8b2-4456-7123-8123-123456789ac3	0194a8b2-1234-7123-8123-123456789abc	Member	\N	2025-10-20 22:31:38.634953+00	f	2025-10-20 22:31:38.634953+00
019a03bf-e399-78b0-96ff-5f9ffe051bc9	0194a8b2-4457-7123-8123-123456789ac3	0194a8b2-1234-7123-8123-123456789abc	Member	\N	2025-10-20 22:31:38.648377+00	f	2025-10-20 22:31:38.648377+00
019a03bf-e3a8-7341-a5c2-eb213dc88449	0194a8b2-4458-7123-8123-123456789ac3	0194a8b2-1234-7123-8123-123456789abc	Member	\N	2025-10-20 22:31:38.662181+00	f	2025-10-20 22:31:38.662181+00
019a03bf-e3ed-7241-9a16-1eebd967623c	0194a8b2-4455-7123-8123-123456789ac3	0194a8b2-1234-7123-8123-123456789abc	Member	\N	2025-10-20 22:31:38.732651+00	f	2025-10-20 22:31:38.732651+00
019a03bf-e61f-753c-97db-29c6aba0fc2e	0194a8b2-4450-7123-8123-123456789ac3	0194a8b2-1234-7123-8123-123456789abc	Member	\N	2025-10-20 22:31:39.292185+00	f	2025-10-20 22:31:39.292185+00
019a03bf-e61f-7ece-b27e-63fb311d2f74	0194a8b2-4451-7123-8123-123456789ac3	0194a8b2-1234-7123-8123-123456789abc	Member	\N	2025-10-20 22:31:39.292185+00	f	2025-10-20 22:31:39.292185+00
019a03bf-e61f-7820-ba58-2c9864087c2d	0194a8b2-4452-7123-8123-123456789ac3	0194a8b2-1234-7123-8123-123456789abc	Member	\N	2025-10-20 22:31:39.292185+00	f	2025-10-20 22:31:39.292185+00
019a03bf-e61f-7146-93e0-fcce0fb4c5e0	0194a8b2-4453-7123-8123-123456789ac3	0194a8b2-1234-7123-8123-123456789abc	Member	\N	2025-10-20 22:31:39.292185+00	f	2025-10-20 22:31:39.292185+00
019a03bf-e61f-72e5-9ff3-5e67d287f494	0194a8b2-4454-7123-8123-123456789ac3	0194a8b2-1234-7123-8123-123456789abc	Member	\N	2025-10-20 22:31:39.292185+00	f	2025-10-20 22:31:39.292185+00
019a03bf-e697-7c3e-a2e8-e4780514f0c6	019a03bf-e697-7168-ac89-77038d047317	0194a8b2-1234-7123-8123-123456789abc	Vendor	\N	2025-10-20 22:31:39.415214+00	f	2025-10-20 22:31:39.415214+00
019a03bf-e697-7028-b0a4-2330e4f38af0	019a03bf-e697-7d4f-a816-c83505c0634b	0194a8b2-1234-7123-8123-123456789abc	Vendor	\N	2025-10-20 22:31:39.415214+00	f	2025-10-20 22:31:39.415214+00
019a03bf-e698-7a89-b59e-d48314dac912	019a03bf-e698-754c-934a-44eef82cbda1	0194a8b2-1234-7123-8123-123456789abc	Vendor	\N	2025-10-20 22:31:39.415214+00	f	2025-10-20 22:31:39.415214+00
019a03bf-e698-7972-92e1-497533925d58	019a03bf-e698-7904-a7f8-ad7fc43642a8	0194a8b2-1234-7123-8123-123456789abc	Vendor	\N	2025-10-20 22:31:39.415214+00	f	2025-10-20 22:31:39.415214+00
019a03bf-e698-7272-bfbc-07daa721032d	019a03bf-e698-7794-928a-fe0e935dfe39	0194a8b2-1234-7123-8123-123456789abc	Vendor	\N	2025-10-20 22:31:39.415214+00	f	2025-10-20 22:31:39.415214+00
\.


--
-- Data for Name: user_passkeys; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.user_passkeys (id, user_id, credential_id, public_key, created_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: user_passwords; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.user_passwords (user_id, password_hash, algo, expires, isdeleted, updatedat, must_rotate) FROM stdin;
0194a8b2-1111-7123-8123-123456789ac0	$2y$10$PXEdpEbxI5c11/tC3UdC6OrZr7V2MsHAatf5C6LRzRV/goxQDPTl.	bcrypt	\N	f	2025-10-20 22:31:38.607161+00	f
0194a8b2-2222-7123-8123-123456789ac1	$2y$10$PXEdpEbxI5c11/tC3UdC6OrZr7V2MsHAatf5C6LRzRV/goxQDPTl.	bcrypt	\N	f	2025-10-20 22:31:38.607161+00	f
0194a8b2-3333-7123-8123-123456789ac2	$2y$10$PXEdpEbxI5c11/tC3UdC6OrZr7V2MsHAatf5C6LRzRV/goxQDPTl.	bcrypt	\N	f	2025-10-20 22:31:38.607161+00	f
0194a8b2-4444-7123-8123-123456789ac3	$2y$10$PXEdpEbxI5c11/tC3UdC6OrZr7V2MsHAatf5C6LRzRV/goxQDPTl.	bcrypt	\N	f	2025-10-20 22:31:38.607161+00	f
0194a8b2-4445-7123-8123-123456789ac3	$2y$10$PXEdpEbxI5c11/tC3UdC6OrZr7V2MsHAatf5C6LRzRV/goxQDPTl.	bcrypt	\N	f	2025-10-20 22:31:38.607161+00	f
0194a8b2-4446-7123-8123-123456789ac3	$2y$10$PXEdpEbxI5c11/tC3UdC6OrZr7V2MsHAatf5C6LRzRV/goxQDPTl.	bcrypt	\N	f	2025-10-20 22:31:38.607161+00	f
0194a8b2-4447-7123-8123-123456789ac3	$2y$10$PXEdpEbxI5c11/tC3UdC6OrZr7V2MsHAatf5C6LRzRV/goxQDPTl.	bcrypt	\N	f	2025-10-20 22:31:38.607161+00	f
0194a8b2-4448-7123-8123-123456789ac3	$2y$10$PXEdpEbxI5c11/tC3UdC6OrZr7V2MsHAatf5C6LRzRV/goxQDPTl.	bcrypt	\N	f	2025-10-20 22:31:38.607161+00	f
0194a8b2-4449-7123-8123-123456789ac3	$2y$10$PXEdpEbxI5c11/tC3UdC6OrZr7V2MsHAatf5C6LRzRV/goxQDPTl.	bcrypt	\N	f	2025-10-20 22:31:38.607161+00	f
0194a8b2-4456-7123-8123-123456789ac3	$2y$10$Ru/TGiXG7McdmQCOIkx4E.aUmXKbDbWgiz1uugrAQS36DOvA.4DAO	bcrypt	\N	f	2025-10-20 22:31:38.634953+00	f
0194a8b2-4457-7123-8123-123456789ac3	$2y$10$T02uy4Dw9WQKg5nSXZ34mOWynR1kBh/sEWB860zu5T71TiNSn/1Gu	bcrypt	\N	f	2025-10-20 22:31:38.648377+00	f
0194a8b2-4458-7123-8123-123456789ac3	$2y$10$EzMO.rPxOiVP6bFzvCBsn.1CkvfVpCdr7Jdy1W7xRXAMO2r9jMSFe	bcrypt	\N	f	2025-10-20 22:31:38.662181+00	f
0194a8b2-4455-7123-8123-123456789ac3	$2y$10$kxxVvASTZlvC/O2AI5XUEubYQrLFHmzJXxuTqWu1JY9zm3z7otmrm	bcrypt	\N	f	2025-10-20 22:31:38.732651+00	f
0194a8b2-4450-7123-8123-123456789ac3	$2y$10$PXEdpEbxI5c11/tC3UdC6OrZr7V2MsHAatf5C6LRzRV/goxQDPTl.	bcrypt	\N	f	2025-10-20 22:31:39.292185+00	f
0194a8b2-4451-7123-8123-123456789ac3	$2y$10$PXEdpEbxI5c11/tC3UdC6OrZr7V2MsHAatf5C6LRzRV/goxQDPTl.	bcrypt	\N	f	2025-10-20 22:31:39.292185+00	f
0194a8b2-4452-7123-8123-123456789ac3	$2y$10$PXEdpEbxI5c11/tC3UdC6OrZr7V2MsHAatf5C6LRzRV/goxQDPTl.	bcrypt	\N	f	2025-10-20 22:31:39.292185+00	f
0194a8b2-4453-7123-8123-123456789ac3	$2y$10$PXEdpEbxI5c11/tC3UdC6OrZr7V2MsHAatf5C6LRzRV/goxQDPTl.	bcrypt	\N	f	2025-10-20 22:31:39.292185+00	f
0194a8b2-4454-7123-8123-123456789ac3	$2y$10$PXEdpEbxI5c11/tC3UdC6OrZr7V2MsHAatf5C6LRzRV/goxQDPTl.	bcrypt	\N	f	2025-10-20 22:31:39.292185+00	f
019a03bf-e697-7168-ac89-77038d047317	$2y$10$zjHY0e0NqEQrLzttwRol2.xGrujqyGcn7MOShokYbAbk4yCszWx82	bcrypt	\N	f	2025-10-20 22:31:39.415214+00	f
019a03bf-e697-7d4f-a816-c83505c0634b	$2y$10$zjHY0e0NqEQrLzttwRol2.xGrujqyGcn7MOShokYbAbk4yCszWx82	bcrypt	\N	f	2025-10-20 22:31:39.415214+00	f
019a03bf-e698-754c-934a-44eef82cbda1	$2y$10$zjHY0e0NqEQrLzttwRol2.xGrujqyGcn7MOShokYbAbk4yCszWx82	bcrypt	\N	f	2025-10-20 22:31:39.415214+00	f
019a03bf-e698-7904-a7f8-ad7fc43642a8	$2y$10$zjHY0e0NqEQrLzttwRol2.xGrujqyGcn7MOShokYbAbk4yCszWx82	bcrypt	\N	f	2025-10-20 22:31:39.415214+00	f
019a03bf-e698-7794-928a-fe0e935dfe39	$2y$10$zjHY0e0NqEQrLzttwRol2.xGrujqyGcn7MOShokYbAbk4yCszWx82	bcrypt	\N	f	2025-10-20 22:31:39.415214+00	f
\.


--
-- Data for Name: user_phones; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.user_phones (phone_id, user_id, phone_number, is_primary, verified_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: user_recovery_codes; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.user_recovery_codes (user_id, code_hash, used_at) FROM stdin;
\.


--
-- Data for Name: user_settings; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.user_settings (id, user_id, name, value, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: user_table_permissions; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.user_table_permissions (user_table_permission_id, user_id, table_name, access_mode, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: user_tokens; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.user_tokens (id, user_id, refresh_token, expires_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: users; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.users (user_id, full_name, status, is_superadmin, isdeleted, updatedat) FROM stdin;
019a03bf-dfd4-7712-be37-71d35001732d	Test User	active	f	f	2025-10-20 22:31:37.679021+00
0194a8b2-1111-7123-8123-123456789ac0	Bhaskaran Chetty	active	f	f	2025-10-20 22:31:38.607161+00
0194a8b2-2222-7123-8123-123456789ac1	EmploymentAdmin	active	f	f	2025-10-20 22:31:38.607161+00
0194a8b2-3333-7123-8123-123456789ac2	WAFAdmin	active	f	f	2025-10-20 22:31:38.607161+00
0194a8b2-4444-7123-8123-123456789ac3	Jagath	active	f	f	2025-10-20 22:31:38.607161+00
0194a8b2-4445-7123-8123-123456789ac3	Roma S	active	f	f	2025-10-20 22:31:38.607161+00
0194a8b2-4446-7123-8123-123456789ac3	Mereani	active	f	f	2025-10-20 22:31:38.607161+00
0194a8b2-4447-7123-8123-123456789ac3	Akansha	active	f	f	2025-10-20 22:31:38.607161+00
0194a8b2-4448-7123-8123-123456789ac3	Victor Adrian	active	f	f	2025-10-20 22:31:38.607161+00
0194a8b2-4449-7123-8123-123456789ac3	Shiral Kumar	active	f	f	2025-10-20 22:31:38.607161+00
0194a8b2-4456-7123-8123-123456789ac3	Cashier	active	f	f	2025-10-20 22:31:38.634953+00
0194a8b2-4457-7123-8123-123456789ac3	FRCS Guest	active	f	f	2025-10-20 22:31:38.648377+00
0194a8b2-4458-7123-8123-123456789ac3	POS Manager	active	f	f	2025-10-20 22:31:38.662181+00
0194a8b2-4455-7123-8123-123456789ac3	RBF	active	f	f	2025-10-20 22:31:38.732651+00
0194a8b2-4450-7123-8123-123456789ac3	Kevin	active	f	f	2025-10-20 22:31:39.292185+00
0194a8b2-4451-7123-8123-123456789ac3	Bhaskaran	active	f	f	2025-10-20 22:31:39.292185+00
0194a8b2-4452-7123-8123-123456789ac3	Mishika	active	f	f	2025-10-20 22:31:39.292185+00
0194a8b2-4453-7123-8123-123456789ac3	Mahek	active	f	f	2025-10-20 22:31:39.292185+00
0194a8b2-4454-7123-8123-123456789ac3	Marshneel	active	f	f	2025-10-20 22:31:39.292185+00
019a03bf-e697-7168-ac89-77038d047317	Vendor: Pacific IT Solutions	active	f	f	2025-10-20 22:31:39.415214+00
019a03bf-e697-7d4f-a816-c83505c0634b	Vendor: Island Supplies Ltd	active	f	f	2025-10-20 22:31:39.415214+00
019a03bf-e698-754c-934a-44eef82cbda1	Vendor: Coral Tech Traders	active	f	f	2025-10-20 22:31:39.415214+00
019a03bf-e698-7904-a7f8-ad7fc43642a8	Vendor: Blue Lagoon Engineering	active	f	f	2025-10-20 22:31:39.415214+00
019a03bf-e698-7794-928a-fe0e935dfe39	Vendor: Sunrise Logistics Co	active	f	f	2025-10-20 22:31:39.415214+00
\.


--
-- Data for Name: users_profiles; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.users_profiles (user_profile_id, user_id, title, address, phone_number, email, date_of_birth, profile_pic, notes, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: vehicle_makes; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vehicle_makes (id, name, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
1	Toyota	\N	\N	f	2025-10-20 22:31:29.817401+00
\.


--
-- Data for Name: vehicle_models; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vehicle_models (id, make_id, name, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
1	1	Corolla	\N	\N	f	2025-10-20 22:31:29.830536+00
\.


--
-- Data for Name: vehicle_report_comments; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vehicle_report_comments (id, report_id, user_id, comment, tenant_id, branch_id, created_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: vehicle_report_parts; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vehicle_report_parts (id, report_id, part_name, quantity, repair_cost, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: vehicle_reports; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vehicle_reports (id, vehicle_id, driver_id, report_type, description, status, assigned_to, tenant_id, branch_id, created_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: vehicle_services; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vehicle_services (id, vehicle_id, service_type_id, service_date, odometer, notes, cost, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: vehicle_trip_points; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vehicle_trip_points (id, trip_id, latitude, longitude, recorded_at, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: vehicle_trips; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vehicle_trips (id, vehicle_id, driver_id, trip_date, start_time, end_time, start_location, start_latitude, start_longitude, end_location, end_latitude, end_longitude, distance_km, status, start_mileage, end_mileage, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: vehicle_types; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vehicle_types (id, name, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: vehicles; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vehicles (id, make, model, vehicle_number, vin, engine_number, mileage, year, type, fitness_expires, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: vendor_addresses; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vendor_addresses (vendor_address_id, vendor_id, address_type, line1, line2, city, state_region, postal_code, country_code, is_primary, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: vendor_bank_accounts; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vendor_bank_accounts (vendor_bank_account_id, vendor_id, bank_name, account_number, account_name, branch_name, swift_code, currency, is_primary, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: vendor_capabilities; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vendor_capabilities (vendor_capability_id, vendor_id, capability_category, capability_description, experience_years, certifications, capacity_notes, competency_score, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: vendor_certificates; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vendor_certificates (vendor_certificate_id, vendor_id, certificate_name, description, expiry_date, issued_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: vendor_contacts; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vendor_contacts (vendor_contact_id, vendor_id, contact_name, contact_role, email, phone_number, is_primary, notes, created_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: vendor_documents; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vendor_documents (vendor_document_id, vendor_id, filetype, doc_type, file_url, validity, isdeleted, updatedat) FROM stdin;
019a03bf-e7b9-756d-8a02-603ecee54929	0194a8b2-1001-7123-8123-123456789a01	\N	business_license	\N	2026-04-18	f	2025-10-20 22:31:39.702582+00
019a03bf-e7ba-74d5-a960-10aa9ec2ff62	0194a8b2-1001-7123-8123-123456789a01	\N	insurance_certificate	\N	2025-10-15	f	2025-10-20 22:31:39.702582+00
019a03bf-e7ba-77d5-a6eb-1a42524a0bc0	0194a8b2-1002-7123-8123-123456789a02	\N	business_license	\N	2026-01-18	f	2025-10-20 22:31:39.702582+00
019a03bf-e7ba-75c4-aad2-c25586b68f85	0194a8b2-1003-7123-8123-123456789a03	\N	business_license	\N	2026-10-20	f	2025-10-20 22:31:39.702582+00
019a03bf-e836-752c-b707-d00b5a9d4402	0194a8b2-1002-7123-8123-123456789a02	pdf	insurance_certificate	https://example.com/docs/Island_Supplies_Ltd_insurance.pdf	2025-10-10	f	2025-10-20 22:31:39.829495+00
019a03bf-e836-77bb-9dae-a51f0cdfee72	0194a8b2-1003-7123-8123-123456789a03	pdf	insurance_certificate	https://example.com/docs/Coral_Tech_Traders_insurance.pdf	2025-10-10	f	2025-10-20 22:31:39.829495+00
\.


--
-- Data for Name: vendor_emails; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vendor_emails (vendor_email_id, vendor_id, email, is_primary, verified_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: vendor_invoices; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vendor_invoices (vendor_invoice_id, org_id, purchase_order_id, invoice_number, invoice_date, amount, status, isdeleted, updatedat) FROM stdin;
019a03bf-e7a6-7dde-a106-524d6cb661bb	0194a8b2-1234-7123-8123-123456789abc	019a03bf-e77b-790b-b4f3-aa9fd7476ff2	INV-CTT-2025-001	2025-08-02	14800.00	paid	f	2025-10-20 22:31:39.683387+00
019a03bf-e7a6-7518-8398-fd541e0659fb	0194a8b2-1234-7123-8123-123456789abc	019a03bf-e77c-7297-85dd-052de5987b8d	INV-ISL-2025-005	2025-08-03	820.00	paid	f	2025-10-20 22:31:39.683387+00
019a03bf-e7a6-725c-913b-e2c55ab1f7cf	0194a8b2-1234-7123-8123-123456789abc	019a03bf-e77c-7bf2-bbdb-1c1a1460b82a	INV-CTT-2025-008	2025-08-23	17500.00	paid	f	2025-10-20 22:31:39.683387+00
019a03bf-e7a6-75e8-bff7-4cf3d8a11e68	0194a8b2-1234-7123-8123-123456789abc	019a03bf-e77a-782a-9c36-db8bc64d241b	INV-PIT-2025-003	2025-08-12	19600.00	pending	f	2025-10-20 22:31:39.683387+00
019a03bf-e7a7-7218-965a-7ed18bc3262a	0194a8b2-1234-7123-8123-123456789abc	019a03bf-e77b-735b-8d30-925b32888ece	INV-ISL-2025-007	2025-08-26	7800.00	approved	f	2025-10-20 22:31:39.683387+00
019a03bf-e7a7-7ea6-807c-8fcf832bc61b	0194a8b2-1234-7123-8123-123456789abc	019a03bf-e77b-75b1-95cc-a85490ef736f	INV-CTT-2025-004	2025-08-16	3500.00	paid	f	2025-10-20 22:31:39.683387+00
019a03bf-e7a7-740c-b780-6ed9376436e2	0194a8b2-1234-7123-8123-123456789abc	019a03bf-e77c-770e-b6c1-c6d1db033798	INV-PIT-2025-009	2025-09-01	34500.00	pending	f	2025-10-20 22:31:39.683387+00
019a03bf-e7a7-7a57-917e-4c7a848e888f	0194a8b2-1234-7123-8123-123456789abc	019a03bf-e77c-7ac7-a996-9936b36e31d7	INV-PIT-2025-011	2025-09-11	7100.00	approved	f	2025-10-20 22:31:39.683387+00
019a03bf-e7a7-7cb5-b4c7-89febd2e0c5f	0194a8b2-1234-7123-8123-123456789abc	019a03bf-e77b-7263-aa8d-6fbe198b3cd6	INV-PIT-2025-007	2025-08-21	11500.00	paid	f	2025-10-20 22:31:39.683387+00
019a03bf-e7a7-7d44-89fa-35977d9cefb9	0194a8b2-1234-7123-8123-123456789abc	019a03bf-e77a-782a-9c36-db8bc64d241b	INV-PIT-2025-004	2025-08-16	4900.00	pending	f	2025-10-20 22:31:39.683387+00
019a03bf-e7a7-786b-a90b-0310864bcc35	0194a8b2-1234-7123-8123-123456789abc	019a03bf-e77b-77db-b120-e43df288adf7	INV-PIT-2025-010	2025-09-06	9200.00	overdue	f	2025-10-20 22:31:39.683387+00
019a03bf-e7a7-722f-81de-563664f5a73a	0194a8b2-1234-7123-8123-123456789abc	019a03bf-e77c-7134-9899-aeebc4f5eb4c	INV-ISL-2025-012	2025-09-13	4950.00	pending	f	2025-10-20 22:31:39.683387+00
019a03bf-e7a7-7799-a43d-45a663ceb656	0194a8b2-1234-7123-8123-123456789abc	019a03bf-e77b-760c-bbd5-c9b71354138f	INV-ISL-2025-009	2025-09-02	5200.00	rejected	f	2025-10-20 22:31:39.683387+00
019a03bf-e7a7-7df4-a042-dbff8ad967cf	0194a8b2-1234-7123-8123-123456789abc	019a03bf-e77c-7d1b-9726-74bb2831e2ad	INV-CTT-2025-010	2025-09-11	6650.00	approved	f	2025-10-20 22:31:39.683387+00
\.


--
-- Data for Name: vendor_performance_metrics; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vendor_performance_metrics (vendor_performance_metric_id, vendor_id, period_start, period_end, kpi_name, kpi_value, rating, reviewer_id, comments, created_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: vendor_phone_numbers; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vendor_phone_numbers (vendor_phone_id, vendor_id, phone_number, is_primary, verified_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: vendor_quote_items; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vendor_quote_items (quote_item_id, quote_id, rfq_item_id, is_alternate, alt_label, unit_price, tax, lead_time_days, notes) FROM stdin;
0194a8b2-50a1-7123-8123-123456789a60	0194a8b2-40a1-7123-8123-123456789a50	900001	f	\N	10500.0000	0.1500	21	Main switches
0194a8b2-50a2-7123-8123-123456789a61	0194a8b2-40a1-7123-8123-123456789a50	900002	f	\N	750.0000	0.1500	21	SFP+ SR
0194a8b2-50a3-7123-8123-123456789a62	0194a8b2-40a2-7123-8123-123456789a51	900001	f	\N	9900.0000	0.1200	30	Alt brand
0194a8b2-50a4-7123-8123-123456789a63	0194a8b2-40a2-7123-8123-123456789a51	900002	f	\N	700.0000	0.1200	30	SR transceiver
0194a8b2-50a5-7123-8123-123456789a64	0194a8b2-40a3-7123-8123-123456789a52	900021	f	\N	1420.0000	0.1300	120	Tier-1 panels with 10-year warranty
0194a8b2-50a6-7123-8123-123456789a65	0194a8b2-40a3-7123-8123-123456789a52	900022	f	\N	28500.0000	0.1300	150	Battery racks including BMS integration
0194a8b2-50a7-7123-8123-123456789a66	0194a8b2-40a4-7123-8123-123456789a53	900021	f	\N	1500.0000	0.1500	140	Panels with extended warranty
0194a8b2-50a8-7123-8123-123456789a67	0194a8b2-40a4-7123-8123-123456789a53	900022	f	\N	31000.0000	0.1500	160	Battery racks with onsite commissioning
0194a8b2-50a9-7123-8123-123456789a68	0194a8b2-40a5-7123-8123-123456789a54	900021	t	Staggered delivery	1380.0000	0.1200	150	Alternate delivery schedule proposed
0194a8b2-50b0-7123-8123-123456789a69	0194a8b2-40a6-7123-8123-123456789a55	900031	f	\N	6800.0000	0.1200	30	Monthly lease per vehicle
0194a8b2-50b1-7123-8123-123456789a6a	0194a8b2-40a6-7123-8123-123456789a55	900032	f	\N	350.0000	0.1200	30	Maintenance per vehicle
0194a8b2-50b2-7123-8123-123456789a6b	0194a8b2-40a7-7123-8123-123456789a56	900031	f	\N	7050.0000	0.1200	35	Monthly lease per vehicle (Island Supplies)
0194a8b2-50b3-7123-8123-123456789a6c	0194a8b2-40a7-7123-8123-123456789a56	900032	f	\N	375.0000	0.1200	35	Maintenance bundle
019a03bf-e719-7251-9d4c-a51cd273e8e4	019a03bf-e719-7a29-957b-68231b7083c4	1	f	\N	75000.0000	0.0000	90	Per scope of work
019a03bf-e71a-7483-86f8-3dc8a3116bdf	019a03bf-e719-7a29-957b-68231b7083c4	2	f	\N	2500.0000	0.0000	30	Monthly support rate
\.


--
-- Data for Name: vendor_quotes; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vendor_quotes (quote_id, rfq_id, invite_id, vendor_id, currency, total_amount, tax_total, delivery_days, valid_thru, notes, attachments, revision_no, submitted_at, status, created_at, updatedat) FROM stdin;
0194a8b2-40a1-7123-8123-123456789a50	0194a8b2-00f1-7123-8123-123456789a10	0194a8b2-20a1-7123-8123-123456789a20	0194a8b2-1001-7123-8123-123456789a01	FJD	125000.00	15000.00	21	2025-11-19	Includes onsite install	\N	1	\N	submitted	2025-10-20 22:31:39.509428+00	2025-10-20 22:31:39.509428+00
0194a8b2-40a2-7123-8123-123456789a51	0194a8b2-00f1-7123-8123-123456789a10	0194a8b2-20a2-7123-8123-123456789a21	0194a8b2-1002-7123-8123-123456789a02	FJD	118000.00	14160.00	28	2025-12-04	Alternative brand offered	\N	1	\N	submitted	2025-10-20 22:31:39.509428+00	2025-10-20 22:31:39.509428+00
0194a8b2-40a3-7123-8123-123456789a52	0194a8b2-00f3-7123-8123-123456789a12	0194a8b2-20a5-7123-8123-123456789a24	0194a8b2-1004-7123-8123-123456789a04	FJD	295000.00	38400.00	120	2025-10-10	Includes design optimization and onsite training	\N	2	\N	submitted	2025-09-05 22:31:39.509428+00	2025-10-02 22:31:39.509428+00
0194a8b2-40a4-7123-8123-123456789a53	0194a8b2-00f3-7123-8123-123456789a12	0194a8b2-20a4-7123-8123-123456789a23	0194a8b2-1001-7123-8123-123456789a01	FJD	312500.00	40625.00	135	2025-10-12	Extended warranty requested	\N	1	\N	submitted	2025-09-04 22:31:39.509428+00	2025-10-03 22:31:39.509428+00
0194a8b2-40a5-7123-8123-123456789a54	0194a8b2-00f3-7123-8123-123456789a12	0194a8b2-20a6-7123-8123-123456789a25	0194a8b2-1005-7123-8123-123456789a05	FJD	340000.00	44200.00	140	2025-10-08	Pending board approval	\N	1	\N	withdrawn	2025-09-06 22:31:39.509428+00	2025-09-20 22:31:39.509428+00
0194a8b2-40a6-7123-8123-123456789a55	0194a8b2-00f4-7123-8123-123456789a13	0194a8b2-20a8-7123-8123-123456789a27	0194a8b2-1004-7123-8123-123456789a04	FJD	98000.00	11760.00	30	2025-10-17	Includes replacement vehicles clause	\N	3	\N	final	2025-07-27 22:31:39.509428+00	2025-10-18 22:31:39.509428+00
0194a8b2-40a7-7123-8123-123456789a56	0194a8b2-00f4-7123-8123-123456789a13	0194a8b2-20a7-7123-8123-123456789a26	0194a8b2-1002-7123-8123-123456789a02	FJD	102500.00	12812.50	35	2025-10-15	Recommends quarterly service reviews	\N	2	\N	submitted	2025-07-26 22:31:39.509428+00	2025-10-14 22:31:39.509428+00
019a03bf-e719-7a29-957b-68231b7083c4	0194a8b2-00f5-7123-8123-123456789a14	019a03bf-e717-7f73-acc5-89ee421faa03	0194a8b2-1001-7123-8123-123456789a01	FJD	105000.00	0.00	120	2025-12-04	Two-envelope submission with technical and financial proposals attached.	[{"label": "Technical Proposal", "envelope": "technical", "file_url": "/storage/uploads/documents/mobile_banking_proposal.md", "filename": "mobile_banking_proposal.md", "filetype": "md", "media_type": "text/markdown"}, {"label": "Financial Proposal", "envelope": "financial", "file_url": "/storage/uploads/documents/financial_proposal.md", "filename": "financial_proposal.md", "filetype": "md", "media_type": "text/markdown"}]	1	\N	submitted	2025-10-20 22:31:39.542719+00	2025-10-20 22:31:39.542719+00
\.


--
-- Data for Name: vendor_supporting_docs; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vendor_supporting_docs (vendor_supporting_doc_id, vendor_id, filetype, type, file_url, validity, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: vendors; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.vendors (vendor_id, vendorname, businessregnumber, tin, num_employees, company_size, org_id, lifecycle_status, last_reviewed_at, avg_rating, created_at, isdeleted, updatedat) FROM stdin;
019a03bf-dfd6-7e87-a195-a996891a56e9	Acme Corp	\N	\N	\N	\N	\N	pending	\N	\N	2025-10-20 22:31:37.679021+00	f	2025-10-20 22:31:37.679021+00
019a03bf-dfd6-784d-b89a-063de852acfd	Global Supplies	\N	\N	\N	\N	\N	pending	\N	\N	2025-10-20 22:31:37.679021+00	f	2025-10-20 22:31:37.679021+00
019a03bf-dfd7-7b14-aa7e-5b157cfaa018	Pacific Wholesalers	\N	\N	\N	\N	\N	pending	\N	\N	2025-10-20 22:31:37.679021+00	f	2025-10-20 22:31:37.679021+00
019a03bf-e467-7d2e-9ce4-aec4a231e178	Acme Corp	\N	\N	\N	\N	\N	pending	\N	\N	2025-10-20 22:31:38.853343+00	f	2025-10-20 22:31:38.853343+00
019a03bf-e468-72f9-a873-a6e8fc7d5980	Global Supplies	\N	\N	\N	\N	\N	pending	\N	\N	2025-10-20 22:31:38.853343+00	f	2025-10-20 22:31:38.853343+00
019a03bf-e468-7771-ba3f-b6b77794532a	Demo Vendor	\N	\N	\N	\N	\N	pending	\N	\N	2025-10-20 22:31:38.853343+00	f	2025-10-20 22:31:38.853343+00
0194a8b2-1001-7123-8123-123456789a01	Pacific IT Solutions	\N	\N	50	SME	0194a8b2-1234-7123-8123-123456789abc	active	\N	\N	2025-10-20 22:31:39.308815+00	f	2025-10-20 22:31:39.308815+00
0194a8b2-1002-7123-8123-123456789a02	Island Supplies Ltd	\N	\N	20	Small	0194a8b2-1234-7123-8123-123456789abc	active	\N	\N	2025-10-20 22:31:39.308815+00	f	2025-10-20 22:31:39.308815+00
0194a8b2-1003-7123-8123-123456789a03	Coral Tech Traders	\N	\N	100	Large	0194a8b2-1234-7123-8123-123456789abc	active	\N	\N	2025-10-20 22:31:39.308815+00	f	2025-10-20 22:31:39.308815+00
0194a8b2-1004-7123-8123-123456789a04	Blue Lagoon Engineering	\N	\N	65	SME	0194a8b2-1234-7123-8123-123456789abc	active	\N	\N	2025-10-20 22:31:39.308815+00	f	2025-10-20 22:31:39.308815+00
0194a8b2-1005-7123-8123-123456789a05	Sunrise Logistics Co	\N	\N	150	Large	0194a8b2-1234-7123-8123-123456789abc	active	\N	\N	2025-10-20 22:31:39.308815+00	f	2025-10-20 22:31:39.308815+00
019a03e2-b869-7cea-bbcf-bcddc4901fd7	Acme Corp	\N	\N	\N	\N	0194a8b2-1234-7123-8123-123456789abc	pending	\N	\N	2025-10-20 23:09:41.347616+00	f	2025-10-20 23:09:41.347616+00
019a03e2-b86a-733e-ad89-2bfeadd419e5	Global Supplies	\N	\N	\N	\N	0194a8b2-1234-7123-8123-123456789abc	pending	\N	\N	2025-10-20 23:09:41.347616+00	f	2025-10-20 23:09:41.347616+00
019a03e2-b86a-7470-a8d2-b9955569926d	Pacific Wholesalers	\N	\N	\N	\N	0194a8b2-1234-7123-8123-123456789abc	pending	\N	\N	2025-10-20 23:09:41.347616+00	f	2025-10-20 23:09:41.347616+00
\.


--
-- Data for Name: view_filters; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.view_filters (id, view_id, tenant_id, branch_id, field_name, operator, value, order_index, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: violation_types; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.violation_types (id, name, handbook_ref, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: work_types; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.work_types (work_type_id, name, org_id, isdeleted, updatedat) FROM stdin;
019a03bf-c02e-72d0-8ca0-a46a83848d87	Research	\N	f	2025-10-20 22:31:29.58118+00
019a03bf-c02e-7f89-957b-6b6ad74a690e	Drafting	\N	f	2025-10-20 22:31:29.58118+00
019a03bf-c02e-74d3-af88-cad641a6d915	Review	\N	f	2025-10-20 22:31:29.58118+00
019a03bf-c02e-72a0-8250-da88d646f657	Client Meeting	\N	f	2025-10-20 22:31:29.58118+00
019a03bf-c02e-7128-8315-5f33e075911a	Court Preparation	\N	f	2025-10-20 22:31:29.58118+00
019a03bf-c02e-7318-9bfa-d398a87cd09a	Court Appearance	\N	f	2025-10-20 22:31:29.58118+00
019a03bf-c02e-7b40-88a2-9cb9d33ca3ae	Document Preparation	\N	f	2025-10-20 22:31:29.58118+00
019a03bf-c02e-71da-90b0-6754504abc33	Administrative	\N	f	2025-10-20 22:31:29.58118+00
\.


--
-- Data for Name: workcom_inspection_types; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.workcom_inspection_types (id, name, form_id, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: workcom_inspections; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.workcom_inspections (id, date, location, short_description, inspector_id, inspection_type_id, workplace_id, inspection_request_id, form_data, tenant_id, branch_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: workflow_approvals; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.workflow_approvals (id, workflow_id, step_order, approver_role, status, record_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: workflow_event_triggers; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.workflow_event_triggers (id, event_name, table_name, trigger_type, form_id, operations, field_map, isdeleted, updatedat) FROM stdin;
1	workplace.registration.created	workplace_registrations	insert	\N	["insert"]	{"id":"id","assigned_reviewer_id":"assigned_reviewer_id"}	f	2025-10-20 22:31:30.428193+00
2	workplace.inspection.created	workplace_inspections	insert	\N	["insert"]	{"id":"id","location":"location","inspection_type_id":"inspection_type_id","inspector_id":"inspector_id"}	f	2025-10-20 22:31:30.489898+00
3	workplace.registration.certificate	workplace_registrations	update	\N	["update"]	{"id":"id"}	f	2025-10-20 22:31:32.041916+00
\.


--
-- Data for Name: workflow_instances; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.workflow_instances (id, workflow_id, record_id, current_state_id, started_by, status, started_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: workflow_states; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.workflow_states (id, workflow_id, name, state_order, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: workflow_step_types; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.workflow_step_types (id, type, description, metadata, isdeleted, updatedat) FROM stdin;
1	start	Workflow entry point	{"trigger":""}	f	2025-10-20 22:31:29.892601+00
2	save_record	Insert or update a record	{"table":"","data":{},"match":{}}	f	2025-10-20 22:31:29.892601+00
3	sms	Send an SMS notification	{"to":"","message":""}	f	2025-10-20 22:31:29.892601+00
4	http_request	HTTP request to external API	{"url":"","method":"GET"}	f	2025-10-20 22:31:29.892601+00
5	alert	Send a push notification	{"title":"","body":""}	f	2025-10-20 22:31:29.892601+00
6	create_task	Add a kanban board task	{"column_id":0,"title":""}	f	2025-10-20 22:31:29.892601+00
7	add_calendar_event	Create a calendar event	{"title":"","start_time":"","end_time":""}	f	2025-10-20 22:31:29.892601+00
8	open_form	Open a form for the user	{"form_id":0}	f	2025-10-20 22:31:29.892601+00
9	condition	Evaluate workflow conditions	{"conditions":[]}	f	2025-10-20 22:31:29.892601+00
10	query_budget	Load remaining budget for a category	{"category":"","context_key":"budget_amount"}	f	2025-10-20 22:31:29.892601+00
11	map_fields	Copy values between context fields	{"map":{}}	f	2025-10-20 22:31:29.892601+00
12	load_record	Load a record into context	{"table":"","id_key":"id","context_key":"record"}	f	2025-10-20 22:31:29.892601+00
13	query_records	Query records from a table	{"table":"","where":{},"context_key":"records"}	f	2025-10-20 22:31:29.892601+00
14	for_each_record	Execute steps for each record	{"list_key":"records","steps":[]}	f	2025-10-20 22:31:29.892601+00
15	queue_notification	Queue a notification payload	{"entity":"","record_id":"","event_type":"insert","payload":null}	f	2025-10-20 22:31:29.892601+00
\.


--
-- Data for Name: workflow_steps; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.workflow_steps (id, workflow_id, step_order, step_type, config, tenant_id, department_id, isdeleted, updatedat) FROM stdin;
1	1	1	open_modal	{"modal":"dashboard_card_permissions"}	\N	\N	f	2025-10-20 22:31:29.804621+00
2	2	1	schedule_services	{}	\N	\N	f	2025-10-20 22:31:29.855415+00
3	3	1	query_records	{"table":"time_clocks","where":{"user_id":"{user_ids}","clocked_at":{"clause":"clocked_at >= ? AND clocked_at <= ?","params":["{start_date}","{end_date}"]},"is_deleted":false},"order_by":"user_id, clocked_at","context_key":"raw_time_clocks"}	\N	\N	f	2025-10-20 22:31:29.879701+00
4	3	2	validate_data	{"source":"raw_time_clocks","validation_rules":[{"field":"user_id","type":"uuid","required":true},{"field":"clocked_at","type":"timestamp","required":true},{"field":"clock_type","type":"string","required":true}],"context_key":"validated_time_clocks","error_key":"validation_errors"}	\N	\N	f	2025-10-20 22:31:29.879701+00
5	3	3	group_records	{"source":"validated_time_clocks","group_fields":["user_id","work_date"],"date_function":"DATE(clocked_at)","context_key":"grouped_by_user_date"}	\N	\N	f	2025-10-20 22:31:29.879701+00
6	3	4	calculate_time_difference	{"source":"grouped_by_user_date","start_field":"clock_in_time","end_field":"clock_out_time","result_field":"duration_minutes","unit":"minutes","context_key":"records_with_duration"}	\N	\N	f	2025-10-20 22:31:29.879701+00
7	3	5	apply_break_rules	{"source":"records_with_duration","duration_field":"duration_minutes","result_field":"net_duration_minutes","break_rules":[{"threshold_minutes":480,"break_minutes":60},{"threshold_minutes":300,"break_minutes":30}],"context_key":"records_with_breaks_applied"}	\N	\N	f	2025-10-20 22:31:29.879701+00
8	3	6	calculate_overtime	{"source":"records_with_breaks_applied","duration_field":"net_duration_minutes","result_field":"overtime_minutes","overtime_rules":[{"threshold_minutes":480,"rate":1.5}],"context_key":"records_with_overtime"}	\N	\N	f	2025-10-20 22:31:29.879701+00
9	3	7	aggregate_by_user	{"source":"records_with_overtime","user_field":"user_id","aggregate_fields":[{"field":"duration_minutes","operation":"sum","result_field":"total_duration_minutes"},{"field":"net_duration_minutes","operation":"sum","result_field":"total_net_minutes"},{"field":"overtime_minutes","operation":"sum","result_field":"total_overtime_minutes"},{"field":"regular_time_minutes","operation":"sum","result_field":"total_regular_minutes"},{"field":"total_payable_minutes","operation":"sum","result_field":"total_payable_minutes"},{"field":"record_count","operation":"sum","result_field":"total_days_worked"}],"context_key":"user_aggregates"}	\N	\N	f	2025-10-20 22:31:29.879701+00
10	3	8	generate_report	{"source":"user_aggregates","report_type":"hours_aggregation","include_fields":["user_id","user_name","department","org_id","total_duration_minutes","total_net_minutes","total_overtime_minutes","total_regular_minutes","total_payable_minutes","total_days_worked","date_range"],"sort_by":{"field":"total_payable_minutes","direction":"desc"},"context_key":"final_report"}	\N	\N	f	2025-10-20 22:31:29.879701+00
11	3	9	export_data	{"source":"final_report.data","format":"{export_format}","filename":"hours_aggregation_report_{start_date}_to_{end_date}","include_fields":["user_id","user_name","department","total_duration_minutes","total_net_minutes","total_overtime_minutes","total_regular_minutes","total_payable_minutes","total_days_worked"],"context_key":"export_result"}	\N	\N	f	2025-10-20 22:31:29.879701+00
12	3	10	save_record	{"table":"time_clock_aggregates","data":{"org_id":"{org_id}","user_id":"user_id","start_date":"{start_date}","end_date":"{end_date}","total_duration_minutes":"total_duration_minutes","total_net_minutes":"total_net_minutes","total_overtime_minutes":"total_overtime_minutes","total_regular_minutes":"total_regular_minutes","total_payable_minutes":"total_payable_minutes","total_days_worked":"total_days_worked"},"match":{"org_id":"{org_id}","user_id":"user_id","start_date":"{start_date}","end_date":"{end_date}"},"context_key":"saved_aggregates"}	\N	\N	f	2025-10-20 22:31:29.879701+00
13	4	1	map_fields	{"map":{"user_id":"id"}}	\N	\N	f	2025-10-20 22:31:30.21749+00
14	4	2	ensure_group	{"name":"Drivers"}	\N	\N	f	2025-10-20 22:31:30.21749+00
15	4	3	save_record	{"table":"user_group_memberships","data":{"user_id":"{user_id}","group_id":"{group_id}","role":"Driver"}}	\N	\N	f	2025-10-20 22:31:30.21749+00
16	4	4	load_record	{"table":"users","id_key":"user_id","context_key":"user"}	\N	\N	f	2025-10-20 22:31:30.21749+00
17	4	5	queue_notification	{"entity":"users","record_id":"{user_id}","event_type":"insert","payload":"{user}"}	\N	\N	f	2025-10-20 22:31:30.21749+00
18	5	1	map_fields	{"map":{"user_id":"id"}}	\N	\N	f	2025-10-20 22:31:30.229997+00
19	5	2	ensure_group	{"name":"Lawyers"}	\N	\N	f	2025-10-20 22:31:30.229997+00
20	5	3	save_record	{"table":"user_group_memberships","data":{"user_id":"{user_id}","group_id":"{group_id}","role":"Lawyer"}}	\N	\N	f	2025-10-20 22:31:30.229997+00
21	5	4	load_record	{"table":"users","id_key":"user_id","context_key":"user"}	\N	\N	f	2025-10-20 22:31:30.229997+00
22	5	5	queue_notification	{"entity":"users","record_id":"{user_id}","event_type":"insert","payload":"{user}"}	\N	\N	f	2025-10-20 22:31:30.229997+00
23	6	1	map_fields	{"map":{"user_id":"id"}}	\N	\N	f	2025-10-20 22:31:30.24263+00
24	6	2	ensure_group	{"name":"Fleet Engineers"}	\N	\N	f	2025-10-20 22:31:30.24263+00
25	6	3	save_record	{"table":"user_group_memberships","data":{"user_id":"{user_id}","group_id":"{group_id}","role":"Fleet Engineer"}}	\N	\N	f	2025-10-20 22:31:30.24263+00
26	6	4	load_record	{"table":"users","id_key":"user_id","context_key":"user"}	\N	\N	f	2025-10-20 22:31:30.24263+00
27	6	5	queue_notification	{"entity":"users","record_id":"{user_id}","event_type":"insert","payload":"{user}"}	\N	\N	f	2025-10-20 22:31:30.24263+00
28	7	1	map_fields	{"map":{"user_id":"id"}}	\N	\N	f	2025-10-20 22:31:30.253645+00
29	7	2	save_record	{"table":"users","data":{"full_name":"{full_name}","password":"{password}"},"context_key":"user_id"}	\N	\N	f	2025-10-20 22:31:30.253645+00
30	7	3	ensure_group	{"name":"Investigators"}	\N	\N	f	2025-10-20 22:31:30.253645+00
31	7	4	save_record	{"table":"user_group_memberships","data":{"user_id":"{user_id}","group_id":"{group_id}","role":"Investigator"}}	\N	\N	f	2025-10-20 22:31:30.253645+00
32	7	5	load_record	{"table":"users","id_key":"user_id","context_key":"user"}	\N	\N	f	2025-10-20 22:31:30.253645+00
33	7	6	queue_notification	{"entity":"users","record_id":"{user_id}","event_type":"insert","payload":"{user}"}	\N	\N	f	2025-10-20 22:31:30.253645+00
34	8	1	open_modal	{"modal":"Invoice Configuration"}	\N	\N	f	2025-10-20 22:31:30.366965+00
35	9	1	map_fields	{"map":{"id":"time_entry_id"}}	\N	\N	f	2025-10-20 22:31:30.403672+00
36	9	2	save_record	{"table":"time_entries","data":{"comments":"{comments}","status":"Approved"},"match":{"id":"{id}"}}	\N	\N	f	2025-10-20 22:31:30.403672+00
37	9	3	load_record	{"table":"time_entries","id_key":"id","context_key":"time_entry"}	\N	\N	f	2025-10-20 22:31:30.403672+00
38	9	4	queue_notification	{"entity":"time_entries","record_id":"{id}","payload":"{time_entry}"}	\N	\N	f	2025-10-20 22:31:30.403672+00
39	10	1	map_fields	{"map":{"id":"time_entry_id"}}	\N	\N	f	2025-10-20 22:31:30.416815+00
40	10	2	save_record	{"table":"time_entries","data":{"comments":"{comments}","status":"Rejected"},"match":{"id":"{time_entry_id}"}}	\N	\N	f	2025-10-20 22:31:30.416815+00
41	10	3	load_record	{"table":"time_entries","id_key":"id","context_key":"time_entry"}	\N	\N	f	2025-10-20 22:31:30.416815+00
42	10	4	queue_notification	{"entity":"time_entries","record_id":"{id}","payload":"{time_entry}"}	\N	\N	f	2025-10-20 22:31:30.416815+00
43	11	1	query_records	{"table":"inspection_assignment_rules","where":{"district_id":"{district_id}"},"context_key":"rules"}	\N	\N	f	2025-10-20 22:31:30.451344+00
44	11	2	map_fields	{"map":{"inspector_id":"rules.0.inspector_id"}}	\N	\N	f	2025-10-20 22:31:30.463814+00
45	11	3	save_record	{"table":"workplace_inspections","data":{"inspector_id":"{inspector_id}"},"match":{"id":"{id}"}}	\N	\N	f	2025-10-20 22:31:30.476208+00
46	12	1	query_records	{"table":"workplace_registrations","where":{"id":"{workplace_id}"},"context_key":"registration"}	\N	\N	f	2025-10-20 22:31:30.516585+00
47	12	2	map_fields	{"map":{"district_id":"registration.0.district","company_name":"registration.0.company_name","contact_person":"registration.0.contact_person","contact_email":"registration.0.contact_email","contact_phone":"registration.0.contact_phone","contact_telephone_number":"registration.0.contact_telephone_number","branch_id":"registration.0.branch_id","tenant_id":"registration.0.tenant_id"}}	\N	\N	f	2025-10-20 22:31:30.53206+00
48	12	3	query_records	{"table":"inspection_assignment_rules","where":{"district_id":"{district_id}"},"context_key":"rules"}	\N	\N	f	2025-10-20 22:31:30.560505+00
49	12	4	map_fields	{"map":{"inspector_id":"rules.0.inspector_id","assignee_id":"rules.0.inspector_id"}}	\N	\N	f	2025-10-20 22:31:30.571702+00
50	12	5	create_task	{"column_id" : 1, "title" : "Workplace Inspection - {company_name}", "description" : "Inspection for {company_name}", "assignee_id" : "{assignee_id}", "due_date" : "{due_date}"}	\N	\N	f	2025-10-20 22:31:30.583581+00
51	12	6	add_calendar_event	{"title" : "Workplace Inspection", "start_time" : "{due_date}", "category_id" : 1, "user_id" : "{assignee_id}"}	\N	\N	f	2025-10-20 22:31:30.596762+00
52	13	1	load_record	{"table":"ohs_incidents","id_key":"record_id","context_key":"incident"}	\N	\N	f	2025-10-20 22:31:31.562323+00
53	13	2	query_records	{"table":"incident_alert_rules","where":{"incident_type_id":"{classification}","severity":"{severity}","location_id":"{location_id}"},"context_key":"recipients"}	\N	\N	f	2025-10-20 22:31:31.562323+00
54	13	3	for_each_record	{"list_key":"recipients","steps":[{"type":"condition","field":"send_email","operator":"==","value":true},{"type":"email","to":"{email}","message":"Incident {record_id} reported"},{"type":"condition","field":"send_sms","operator":"==","value":true},{"type":"sms","to":"{phone}","message":"Incident {record_id} reported"},{"type":"condition","field":"send_push","operator":"==","value":true},{"type":"alert","user_id":"{send_alert_to}","title":"New Incident","body":"Incident {record_id} reported"}]}	\N	\N	f	2025-10-20 22:31:31.562323+00
55	14	1	save_record	{"table":"workplace_registrations","data":{"status":"approved"},"match":{"id":"{id}"}}	\N	\N	f	2025-10-20 22:31:31.939552+00
56	14	2	map_fields	{"map":{"tenant_id":"tenant_id"}}	\N	\N	f	2025-10-20 22:31:31.951805+00
57	14	3	create_invoice	{}	\N	\N	f	2025-10-20 22:31:31.965083+00
58	14	4	save_record	{"table":"workplace_registrations","data":{"invoice_id":"{invoice_id}"},"match":{"id":"{id}"}}	\N	\N	f	2025-10-20 22:31:31.978602+00
59	14	5	queue_notification	{"entity":"workplace_registrations","record_id":"{id}","event_type":"update","payload":{"invoice_id":"{invoice_id}"}}	\N	\N	f	2025-10-20 22:31:31.991718+00
60	14	6	open_modal	{"modal":"Workplace Invoice Preview"}	\N	\N	f	2025-10-20 22:31:32.004321+00
61	15	1	create_certificate	{"template_id" : 1, "submission_id_key" : "id", "status" : "issued"}	\N	\N	f	2025-10-20 22:31:32.028479+00
62	15	2	generate_certificate_document	{}	\N	\N	f	2025-10-20 22:31:32.028479+00
63	15	3	queue_notification	{"entity":"form_certificates","record_id":"{certificate_id}","event_type":"update"}	\N	\N	f	2025-10-20 22:31:32.028479+00
64	15	4	open_modal	{"modal":"Certificates"}	\N	\N	f	2025-10-20 22:31:32.028479+00
\.


--
-- Data for Name: workflow_tasks; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.workflow_tasks (id, instance_id, state_id, assignee_user_id, assignee_role, status, due_at, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: workflow_transitions; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.workflow_transitions (id, workflow_id, from_state_id, to_state_id, action, conditions, transition_order, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: workflow_triggers; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.workflow_triggers (id, workflow_id, event_name, isdeleted, updatedat) FROM stdin;
\.


--
-- Data for Name: workflows; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.workflows (id, tenant_id, department_id, name, trigger_event, definition, is_active, isdeleted, updatedat) FROM stdin;
1	\N	\N	Dashboard Card Permissions	dashboard.card.permissions	{"conditions":[]}	t	f	2025-10-20 22:31:29.790292+00
2	\N	\N	Vehicle Service Setup	vehicle.registered	{"conditions": []}	t	f	2025-10-20 22:31:29.843353+00
3	\N	\N	Hours Aggregation	hours.aggregate	{"description":"Aggregates work hours from time_clocks based on user IDs and date ranges","version":"1.0.0"}	t	f	2025-10-20 22:31:29.867561+00
4	\N	\N	Driver Created	form.45.updated	{"conditions":[]}	t	f	2025-10-20 22:31:30.206275+00
5	\N	\N	Lawyer Created	form.37.updated	{"conditions":[]}	t	f	2025-10-20 22:31:30.206275+00
6	\N	\N	Fleet Engineer Created	form.46.updated	{"conditions":[]}	t	f	2025-10-20 22:31:30.206275+00
7	\N	\N	Investigator Created	form.73.updated	{"conditions":[]}	t	f	2025-10-20 22:31:30.206275+00
8	\N	\N	Invoice Configuration	invoice.configure	{"conditions":[]}	t	f	2025-10-20 22:31:30.354623+00
9	\N	\N	Time Entries Approved	time_entries.approved	{"conditions": []}	t	f	2025-10-20 22:31:30.378707+00
10	\N	\N	Time Entries Rejected	time_entries.rejected	{"conditions": []}	t	f	2025-10-20 22:31:30.391608+00
11	\N	\N	WorkCOM Inspection Assignment	workplace.inspection.created	{"conditions": []}	t	f	2025-10-20 22:31:30.440083+00
12	\N	\N	WorkCOM Payment Verification	invoice.payment.verified	{"conditions": []}	t	f	2025-10-20 22:31:30.503503+00
13	\N	\N	Incident Alert Notifications	ohs.incidentCreated	{"conditions": []}	t	f	2025-10-20 22:31:31.550957+00
14	\N	\N	Workplace Registration Review	workplace.registration.created	{"conditions": []}	t	f	2025-10-20 22:31:31.927507+00
15	\N	\N	Workplace Registration Certificate	workplace.registration.certificate	{"conditions": []}	t	f	2025-10-20 22:31:32.016737+00
16	\N	\N	Auto-submit Invoice to TaxCore	invoice:status:finalized	{\n        "description": "Automatically submit invoices to TaxCore when finalized",\n        "priority": 5,\n        "max_retries": 3,\n        "retry_delay": 300,\n        "steps": [\n            {\n                "step": 1,\n                "action": "query",\n                "name": "validate_org_config",\n                "query": "SELECT org_id, api_base_url, org_tin, certificate_file FROM taxcore_configurations WHERE org_id = ${record.org_id} AND is_active = true",\n                "required": true\n            },\n            {\n                "step": 2,\n                "action": "query",\n                "name": "check_idempotency",\n                "query": "SELECT submission_id FROM taxcore_submissions WHERE reference_table = 'invoices' AND reference_id = ${record.invoice_id} AND status = 'success'",\n                "required": false\n            },\n            {\n                "step": 3,\n                "action": "conditional",\n                "name": "skip_if_exists",\n                "condition": "step2.result.length > 0",\n                "if_true": {"action": "return", "message": "Already submitted"},\n                "if_false": {"action": "continue"}\n            },\n            {\n                "step": 4,\n                "action": "transform",\n                "name": "transform_invoice",\n                "source": "${record}",\n                "mapping": {\n                    "invoiceNumber": "${record.invoice_number}",\n                    "invoiceDate": "${record.invoice_date}",\n                    "customerName": "${record.customer_name}",\n                    "customerTIN": "${record.customer_tin}",\n                    "totalAmount": "${record.total_amount}",\n                    "taxAmount": "${record.tax_amount}",\n                    "lineItems": "${record.line_items}"\n                }\n            },\n            {\n                "step": 5,\n                "action": "http_post",\n                "name": "submit_to_taxcore",\n                "url": "http://taxcore-service:3001/submit",\n                "headers": {\n                    "Content-Type": "application/json"\n                },\n                "body": "${step4.output}",\n                "required": true\n            },\n            {\n                "step": 6,\n                "action": "update",\n                "name": "update_invoice",\n                "query": "UPDATE invoices SET taxcore_invoice_number = ${step5.response.invoiceNumber}, taxcore_submission_id = ${step5.response.submissionId} WHERE invoice_id = ${record.invoice_id}",\n                "required": false\n            },\n            {\n                "step": 7,\n                "action": "notify",\n                "name": "notify_success",\n                "channel": "websocket",\n                "event": "taxcore:submission:success",\n                "data": {\n                    "invoice_id": "${record.invoice_id}",\n                    "taxcore_invoice_number": "${step5.response.invoiceNumber}"\n                }\n            }\n        ]\n    }	t	f	2025-10-20 22:31:35.132538+00
17	\N	\N	Auto-submit Sales Receipt to TaxCore	sales_receipt:created	{\n        "description": "Automatically submit POS sales receipts to TaxCore in real-time",\n        "priority": 10,\n        "max_retries": 3,\n        "retry_delay": 60,\n        "steps": [\n            {\n                "step": 1,\n                "action": "query",\n                "name": "validate_org_config",\n                "query": "SELECT org_id, api_base_url, org_tin, certificate_file FROM taxcore_configurations WHERE org_id = ${record.org_id} AND is_active = true AND auto_submit_receipts = true",\n                "required": true\n            },\n            {\n                "step": 2,\n                "action": "transform",\n                "name": "transform_receipt",\n                "source": "${record}",\n                "mapping": {\n                    "receiptNumber": "${record.receipt_number}",\n                    "saleDate": "${record.sale_date}",\n                    "customerName": "${record.customer_name || 'Anonymous'}",\n                    "totalAmount": "${record.total_amount}",\n                    "taxAmount": "${record.tax_amount}",\n                    "lineItems": "${record.line_items}"\n                }\n            },\n            {\n                "step": 3,\n                "action": "http_post",\n                "name": "submit_to_taxcore",\n                "url": "http://taxcore-service:3001/submit",\n                "headers": {\n                    "Content-Type": "application/json"\n                },\n                "body": "${step2.output}",\n                "required": true\n            },\n            {\n                "step": 4,\n                "action": "update",\n                "name": "update_receipt",\n                "query": "UPDATE sales_receipts SET taxcore_receipt_number = ${step3.response.receiptNumber}, taxcore_submission_id = ${step3.response.submissionId} WHERE receipt_id = ${record.receipt_id}",\n                "required": false\n            },\n            {\n                "step": 5,\n                "action": "trigger_event",\n                "name": "trigger_success",\n                "event": "taxcore:submission:success",\n                "data": {\n                    "reference_table": "sales_receipts",\n                    "reference_id": "${record.receipt_id}",\n                    "submission_id": "${step3.response.submissionId}"\n                }\n            }\n        ]\n    }	t	f	2025-10-20 22:31:35.14493+00
18	\N	\N	TaxCore Submission Failed - Notify Admin	taxcore:submission:failed	{\n        "description": "Notify administrators when TaxCore submission fails after multiple attempts",\n        "priority": 8,\n        "condition": "status = 'failed' AND attempts >= 3",\n        "steps": [\n            {\n                "step": 1,\n                "action": "query",\n                "name": "get_submission_details",\n                "query": "SELECT s.*, c.org_tin FROM taxcore_submissions s LEFT JOIN taxcore_configurations c ON s.org_id = c.org_id WHERE s.submission_id = ${record.submission_id}",\n                "required": true\n            },\n            {\n                "step": 2,\n                "action": "query",\n                "name": "get_admin_emails",\n                "query": "SELECT email FROM users WHERE role = 'admin' AND org_id = ${step1.result[0].org_id} AND is_active = true",\n                "required": true\n            },\n            {\n                "step": 3,\n                "action": "email",\n                "name": "send_alert_email",\n                "to": "${step2.result.map(u => u.email).join(',')}", \n                "subject": "TaxCore Submission Failed - ${step1.result[0].submission_type} #${step1.result[0].invoice_number}",\n                "template": "taxcore_failure_alert",\n                "data": "${step1.result[0]}"\n            },\n            {\n                "step": 4,\n                "action": "insert",\n                "name": "create_notification",\n                "query": "INSERT INTO notifications (user_id, title, message, type, data) SELECT user_id, 'TaxCore Submission Failed', 'Failed to submit ${step1.result[0].submission_type} after 3 attempts', 'error', ${step1.result[0]}::jsonb FROM users WHERE role = 'admin' AND org_id = ${step1.result[0].org_id}",\n                "required": false\n            },\n            {\n                "step": 5,\n                "action": "notify",\n                "name": "websocket_alert",\n                "channel": "websocket",\n                "event": "taxcore:alert:failed",\n                "room": "org:${step1.result[0].org_id}",\n                "data": "${step1.result[0]}"\n            }\n        ]\n    }	t	f	2025-10-20 22:31:35.156269+00
19	\N	\N	TaxCore Retry Exceeded - Escalate	taxcore:retry:exceeded	{\n        "description": "Escalate to support when max retry attempts are exceeded",\n        "priority": 10,\n        "steps": [\n            {\n                "step": 1,\n                "action": "query",\n                "name": "get_submission",\n                "query": "SELECT * FROM taxcore_submissions WHERE submission_id = ${record.submission_id}",\n                "required": true\n            },\n            {\n                "step": 2,\n                "action": "update",\n                "name": "mark_failed",\n                "query": "UPDATE taxcore_submissions SET status = 'failed', error_message = 'Max retry attempts exceeded' WHERE submission_id = ${record.submission_id}",\n                "required": true\n            },\n            {\n                "step": 3,\n                "action": "insert",\n                "name": "create_support_ticket",\n                "query": "INSERT INTO support_tickets (org_id, title, description, priority, status, category) VALUES (${step1.result[0].org_id}, 'TaxCore Submission Failed', 'Submission ${record.submission_id} failed after maximum retry attempts', 'high', 'open', 'taxcore')",\n                "required": false\n            },\n            {\n                "step": 4,\n                "action": "email",\n                "name": "email_support",\n                "to": "support@taxcore.example.com",\n                "subject": "TaxCore Max Retries Exceeded - ${step1.result[0].org_tin}",\n                "template": "taxcore_escalation",\n                "data": "${step1.result[0]}"\n            },\n            {\n                "step": 5,\n                "action": "trigger_event",\n                "name": "trigger_failure_event",\n                "event": "taxcore:submission:failed",\n                "data": "${record}"\n            }\n        ]\n    }	t	f	2025-10-20 22:31:35.167062+00
20	\N	\N	TaxCore Submission Success - Update Source	taxcore:submission:success	{\n        "description": "Update source document when TaxCore submission succeeds",\n        "priority": 3,\n        "steps": [\n            {\n                "step": 1,\n                "action": "query",\n                "name": "get_submission",\n                "query": "SELECT * FROM taxcore_submissions WHERE submission_id = ${record.submission_id}",\n                "required": true\n            },\n            {\n                "step": 2,\n                "action": "conditional",\n                "name": "update_by_type",\n                "condition": "step1.result[0].reference_table == 'invoices'",\n                "if_true": {\n                    "action": "update",\n                    "query": "UPDATE invoices SET taxcore_invoice_number = ${step1.result[0].taxcore_invoice_number}, taxcore_verified_at = NOW() WHERE invoice_id = ${step1.result[0].reference_id}"\n                },\n                "if_false": {\n                    "action": "update",\n                    "query": "UPDATE sales_receipts SET taxcore_receipt_number = ${step1.result[0].taxcore_invoice_number}, taxcore_verified_at = NOW() WHERE receipt_id = ${step1.result[0].reference_id}"\n                }\n            },\n            {\n                "step": 3,\n                "action": "notify",\n                "name": "notify_user",\n                "channel": "websocket",\n                "event": "document:taxcore:verified",\n                "room": "org:${step1.result[0].org_id}",\n                "data": {\n                    "reference_table": "${step1.result[0].reference_table}",\n                    "reference_id": "${step1.result[0].reference_id}",\n                    "taxcore_number": "${step1.result[0].taxcore_invoice_number}"\n                }\n            }\n        ]\n    }	t	f	2025-10-20 22:31:35.179155+00
21	\N	\N	Process TaxCore Retry Queue	schedule:cron	{\n        "description": "Process TaxCore retry queue every 5 minutes (handled by PHP cron job)",\n        "schedule": "*/5 * * * *",\n        "priority": 5,\n        "steps": [\n            {\n                "step": 1,\n                "action": "query",\n                "name": "get_queue_items",\n                "query": "SELECT q.*, s.* FROM taxcore_queue q JOIN taxcore_submissions s ON q.submission_id = s.submission_id WHERE q.status = 'queued' AND q.retry_count < q.max_retries AND q.next_retry_at <= NOW() ORDER BY q.priority DESC, q.next_retry_at ASC LIMIT 50",\n                "required": false\n            },\n            {\n                "step": 2,\n                "action": "foreach",\n                "name": "process_each_item",\n                "array": "${step1.result}",\n                "steps": [\n                    {\n                        "step": 1,\n                        "action": "http_post",\n                        "name": "retry_submission",\n                        "url": "http://taxcore-service:3001/submit",\n                        "headers": {"Content-Type": "application/json"},\n                        "body": "${item.request_payload}",\n                        "handle_error": "continue"\n                    },\n                    {\n                        "step": 2,\n                        "action": "conditional",\n                        "name": "update_based_on_result",\n                        "condition": "step1.status == 200",\n                        "if_true": {\n                            "action": "update",\n                            "query": "DELETE FROM taxcore_queue WHERE queue_id = ${item.queue_id}; UPDATE taxcore_submissions SET status = 'success', taxcore_invoice_number = ${step1.response.invoiceNumber} WHERE submission_id = ${item.submission_id}"\n                        },\n                        "if_false": {\n                            "action": "update",\n                            "query": "UPDATE taxcore_queue SET retry_count = retry_count + 1, next_retry_at = NOW() + INTERVAL '${item.base_delay_minutes * POWER(item.backoff_multiplier, item.retry_count + 1)} minutes', last_error = ${step1.error} WHERE queue_id = ${item.queue_id}"\n                        }\n                    }\n                ]\n            },\n            {\n                "step": 3,\n                "action": "notify",\n                "name": "log_completion",\n                "channel": "log",\n                "message": "Processed ${step1.result.length} queue items"\n            }\n        ]\n    }	t	f	2025-10-20 22:31:35.191464+00
\.


--
-- Data for Name: workplace_registrations; Type: TABLE DATA; Schema: public; Owner: taf
--

COPY public.workplace_registrations (id, company_name, address, name_of_owners_of_business, trading_name, address_of_workplace, postal_address, date_of_business_commenced_operations_at_these_premises, details_of_ownership_of_premises, name_and_address_of_owner_of_the_building, details_of_business_activiy, main_activity_conducted_by_business, principal_articles_to_be_manufactured_repaired_or_sold, sales_type, goods_sold, has_site_previously_been_used_as_a_workplace, name_of_previous_occupier, contact_telephone_number, maximum_number_of_employees, committee_members, training_undergone, district, ohs_policy, minutes, tin, contact_person, contact_email, contact_phone, invoice_id, status, branch_id, assigned_reviewer_id, tenant_id, isdeleted, updatedat) FROM stdin;
\.


--
-- Name: account_ai_feedback_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.account_ai_feedback_id_seq', 1, false);


--
-- Name: appeals_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.appeals_id_seq', 1, false);


--
-- Name: appraisal_templates_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.appraisal_templates_id_seq', 1, false);


--
-- Name: attendance_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.attendance_id_seq', 1, false);


--
-- Name: audit_logs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.audit_logs_id_seq', 1, false);


--
-- Name: bank_detail_changes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.bank_detail_changes_id_seq', 1, false);


--
-- Name: calendar_accounts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.calendar_accounts_id_seq', 1, false);


--
-- Name: calendar_availability_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.calendar_availability_id_seq', 1, false);


--
-- Name: calendar_categories_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.calendar_categories_id_seq', 4, true);


--
-- Name: calendar_event_documents_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.calendar_event_documents_id_seq', 1, false);


--
-- Name: calendar_event_permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.calendar_event_permissions_id_seq', 1, false);


--
-- Name: calendar_events_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.calendar_events_id_seq', 3, true);


--
-- Name: career_paths_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.career_paths_id_seq', 1, false);


--
-- Name: career_steps_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.career_steps_id_seq', 1, false);


--
-- Name: case_evidence_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.case_evidence_id_seq', 1, false);


--
-- Name: case_notes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.case_notes_id_seq', 1, false);


--
-- Name: case_participants_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.case_participants_id_seq', 1, false);


--
-- Name: case_tasks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.case_tasks_id_seq', 1, false);


--
-- Name: cash_sessions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.cash_sessions_id_seq', 1, false);


--
-- Name: certificate_templates_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.certificate_templates_id_seq', 1, true);


--
-- Name: check_ins_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.check_ins_id_seq', 1, false);


--
-- Name: companies_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.companies_id_seq', 1, false);


--
-- Name: competencies_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.competencies_id_seq', 1, false);


--
-- Name: competency_assessments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.competency_assessments_id_seq', 1, false);


--
-- Name: contract_approvals_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.contract_approvals_id_seq', 1, false);


--
-- Name: contract_versions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.contract_versions_id_seq', 1, false);


--
-- Name: contracts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.contracts_id_seq', 1, false);


--
-- Name: corrective_actions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.corrective_actions_id_seq', 1, false);


--
-- Name: countries_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.countries_id_seq', 1, false);


--
-- Name: country_holidays_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.country_holidays_id_seq', 1, false);


--
-- Name: custom_field_values_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.custom_field_values_id_seq', 1, false);


--
-- Name: custom_fields_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.custom_fields_id_seq', 1, false);


--
-- Name: customer_history_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.customer_history_id_seq', 1, false);


--
-- Name: customer_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.customer_settings_id_seq', 1, false);


--
-- Name: dashboard_card_permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.dashboard_card_permissions_id_seq', 1, false);


--
-- Name: demo_graph_data_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.demo_graph_data_id_seq', 1, false);


--
-- Name: detail_view_elements_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.detail_view_elements_id_seq', 1, false);


--
-- Name: detail_views_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.detail_views_id_seq', 1, false);


--
-- Name: disciplinary_actions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.disciplinary_actions_id_seq', 1, false);


--
-- Name: disciplinary_cases_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.disciplinary_cases_id_seq', 1, false);


--
-- Name: districts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.districts_id_seq', 4, true);


--
-- Name: document_categories_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.document_categories_id_seq', 1, false);


--
-- Name: document_folders_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.document_folders_id_seq', 1, false);


--
-- Name: element_options_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.element_options_id_seq', 1, false);


--
-- Name: element_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.element_types_id_seq', 23, true);


--
-- Name: employee_authorized_locations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.employee_authorized_locations_id_seq', 1, false);


--
-- Name: employee_certificates_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.employee_certificates_id_seq', 1, false);


--
-- Name: employee_competencies_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.employee_competencies_id_seq', 1, false);


--
-- Name: employee_custom_fields_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.employee_custom_fields_id_seq', 1, false);


--
-- Name: employee_custom_values_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.employee_custom_values_id_seq', 1, false);


--
-- Name: employee_documents_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.employee_documents_id_seq', 1, false);


--
-- Name: employee_exits_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.employee_exits_id_seq', 1, false);


--
-- Name: employee_items_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.employee_items_id_seq', 1, false);


--
-- Name: employee_location_changes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.employee_location_changes_id_seq', 1, false);


--
-- Name: employee_shifts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.employee_shifts_id_seq', 1, false);


--
-- Name: employee_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.employee_types_id_seq', 1, false);


--
-- Name: employees2locations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.employees2locations_id_seq', 1, false);


--
-- Name: employees2users_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.employees2users_id_seq', 1, false);


--
-- Name: event_categories_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.event_categories_id_seq', 1, false);


--
-- Name: exit_approvals_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.exit_approvals_id_seq', 1, false);


--
-- Name: exit_clearances_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.exit_clearances_id_seq', 1, false);


--
-- Name: exit_feedback_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.exit_feedback_id_seq', 1, false);


--
-- Name: exit_interviews_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.exit_interviews_id_seq', 1, false);


--
-- Name: expense_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.expense_types_id_seq', 1, false);


--
-- Name: feedback_notes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.feedback_notes_id_seq', 1, false);


--
-- Name: feedback_requests_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.feedback_requests_id_seq', 1, false);


--
-- Name: field_definitions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.field_definitions_id_seq', 1, false);


--
-- Name: final_settlements_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.final_settlements_id_seq', 1, false);


--
-- Name: fishbone_diagrams_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.fishbone_diagrams_id_seq', 1, false);


--
-- Name: form_buttons_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.form_buttons_id_seq', 7, true);


--
-- Name: form_categories_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.form_categories_id_seq', 1, true);


--
-- Name: form_certificates_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.form_certificates_id_seq', 1, false);


--
-- Name: form_definitions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.form_definitions_id_seq', 1, false);


--
-- Name: form_submission_reviews_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.form_submission_reviews_id_seq', 1, false);


--
-- Name: form_submission_values_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.form_submission_values_id_seq', 1, false);


--
-- Name: form_submissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.form_submissions_id_seq', 1, false);


--
-- Name: form_wizard_steps_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.form_wizard_steps_id_seq', 18, true);


--
-- Name: form_wizards_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.form_wizards_id_seq', 7, true);


--
-- Name: forms_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.forms_id_seq', 627, true);


--
-- Name: goal_alignment_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.goal_alignment_id_seq', 1, false);


--
-- Name: goal_documents_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.goal_documents_id_seq', 1, false);


--
-- Name: goal_milestones_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.goal_milestones_id_seq', 1, false);


--
-- Name: goal_score_labels_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.goal_score_labels_id_seq', 1, false);


--
-- Name: goal_templates_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.goal_templates_id_seq', 1, false);


--
-- Name: graphs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.graphs_id_seq', 2, true);


--
-- Name: incident_alert_rules_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.incident_alert_rules_id_seq', 1, false);


--
-- Name: inspection_assignment_rules_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.inspection_assignment_rules_id_seq', 1, false);


--
-- Name: inspection_requests_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.inspection_requests_id_seq', 1, false);


--
-- Name: interview_logs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.interview_logs_id_seq', 1, false);


--
-- Name: invoice_payments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.invoice_payments_id_seq', 1, false);


--
-- Name: invoice_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.invoice_settings_id_seq', 1, true);


--
-- Name: job_opening_templates_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.job_opening_templates_id_seq', 1, false);


--
-- Name: kanban_boards_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.kanban_boards_id_seq', 4, true);


--
-- Name: kanban_columns_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.kanban_columns_id_seq', 15, true);


--
-- Name: kanban_comments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.kanban_comments_id_seq', 1, false);


--
-- Name: kanban_tasks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.kanban_tasks_id_seq', 3, true);


--
-- Name: legacy_resources_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.legacy_resources_id_seq', 19, true);


--
-- Name: line_items_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.line_items_id_seq', 1, false);


--
-- Name: locations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.locations_id_seq', 3, true);


--
-- Name: meeting_links_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.meeting_links_id_seq', 1, false);


--
-- Name: notification_log_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.notification_log_id_seq', 1, false);


--
-- Name: ohs_action_signoffs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_action_signoffs_id_seq', 1, false);


--
-- Name: ohs_actions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_actions_id_seq', 1, false);


--
-- Name: ohs_assignment_rules_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_assignment_rules_id_seq', 1, false);


--
-- Name: ohs_compliance_logs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_compliance_logs_id_seq', 1, false);


--
-- Name: ohs_compliance_tasks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_compliance_tasks_id_seq', 1, false);


--
-- Name: ohs_emergency_contacts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_emergency_contacts_id_seq', 1, false);


--
-- Name: ohs_emergency_drills_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_emergency_drills_id_seq', 1, false);


--
-- Name: ohs_fault_trees_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_fault_trees_id_seq', 1, false);


--
-- Name: ohs_field_incidents_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_field_incidents_id_seq', 1, false);


--
-- Name: ohs_five_whys_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_five_whys_id_seq', 1, false);


--
-- Name: ohs_hazard_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_hazard_types_id_seq', 5, true);


--
-- Name: ohs_hazards_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_hazards_id_seq', 1, false);


--
-- Name: ohs_health_checks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_health_checks_id_seq', 1, false);


--
-- Name: ohs_incident_custom_fields_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_incident_custom_fields_id_seq', 1, false);


--
-- Name: ohs_incident_files_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_incident_files_id_seq', 1, false);


--
-- Name: ohs_incident_logs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_incident_logs_id_seq', 1, false);


--
-- Name: ohs_incident_signoffs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_incident_signoffs_id_seq', 1, false);


--
-- Name: ohs_incident_statuses_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_incident_statuses_id_seq', 8, true);


--
-- Name: ohs_incident_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_incident_types_id_seq', 9, true);


--
-- Name: ohs_incidents_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_incidents_id_seq', 1, false);


--
-- Name: ohs_inspection_audits_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_inspection_audits_id_seq', 1, false);


--
-- Name: ohs_inspection_items_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_inspection_items_id_seq', 1, false);


--
-- Name: ohs_inspection_templates_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_inspection_templates_id_seq', 1, false);


--
-- Name: ohs_inspection_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_inspection_types_id_seq', 5, true);


--
-- Name: ohs_inspections_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_inspections_id_seq', 1, false);


--
-- Name: ohs_issues_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_issues_id_seq', 1, false);


--
-- Name: ohs_jsa_reviewers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_jsa_reviewers_id_seq', 1, false);


--
-- Name: ohs_jsa_signoffs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_jsa_signoffs_id_seq', 1, false);


--
-- Name: ohs_jsa_step_files_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_jsa_step_files_id_seq', 1, false);


--
-- Name: ohs_jsa_steps_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_jsa_steps_id_seq', 1, false);


--
-- Name: ohs_jsa_training_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_jsa_training_id_seq', 1, false);


--
-- Name: ohs_jsa_versions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_jsa_versions_id_seq', 1, false);


--
-- Name: ohs_jsas_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_jsas_id_seq', 1, false);


--
-- Name: ohs_medicals_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_medicals_id_seq', 1, false);


--
-- Name: ohs_needs_expectations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_needs_expectations_id_seq', 1, false);


--
-- Name: ohs_regulations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_regulations_id_seq', 1, false);


--
-- Name: ohs_risk_matrices_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_risk_matrices_id_seq', 1, false);


--
-- Name: ohs_risk_reviews_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_risk_reviews_id_seq', 1, false);


--
-- Name: ohs_root_causes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_root_causes_id_seq', 1, false);


--
-- Name: ohs_severities_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_severities_id_seq', 5, true);


--
-- Name: ohs_stakeholders_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_stakeholders_id_seq', 1, false);


--
-- Name: ohs_training_requirements_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ohs_training_requirements_id_seq', 1, false);


--
-- Name: overtime_rules_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.overtime_rules_id_seq', 1, false);


--
-- Name: payment_request_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.payment_request_id_seq', 1, false);


--
-- Name: payment_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.payment_types_id_seq', 1, false);


--
-- Name: payroll_anomalies_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.payroll_anomalies_id_seq', 1, false);


--
-- Name: performance_goals_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.performance_goals_id_seq', 1, false);


--
-- Name: performance_reviews_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.performance_reviews_id_seq', 1, false);


--
-- Name: permissions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.permissions_id_seq', 1, false);


--
-- Name: permit_applications_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.permit_applications_id_seq', 1, false);


--
-- Name: permit_documents_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.permit_documents_id_seq', 1, false);


--
-- Name: permit_inspections_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.permit_inspections_id_seq', 1, false);


--
-- Name: permit_signatures_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.permit_signatures_id_seq', 1, false);


--
-- Name: permit_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.permit_types_id_seq', 1, false);


--
-- Name: policy_acknowledgments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.policy_acknowledgments_id_seq', 1, false);


--
-- Name: policy_approvals_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.policy_approvals_id_seq', 1, false);


--
-- Name: policy_targets_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.policy_targets_id_seq', 1, false);


--
-- Name: policy_templates_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.policy_templates_id_seq', 1, false);


--
-- Name: projects_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.projects_id_seq', 1, false);


--
-- Name: properties_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.properties_id_seq', 1, false);


--
-- Name: property_rates_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.property_rates_id_seq', 1, false);


--
-- Name: push_subscriptions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.push_subscriptions_id_seq', 1, false);


--
-- Name: rate_invoices_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.rate_invoices_id_seq', 1, false);


--
-- Name: rate_payments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.rate_payments_id_seq', 1, false);


--
-- Name: ratepayers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.ratepayers_id_seq', 1, false);


--
-- Name: receipts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.receipts_id_seq', 1, false);


--
-- Name: reimbursement_claims_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.reimbursement_claims_id_seq', 1, false);


--
-- Name: resource_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.resource_types_id_seq', 7, true);


--
-- Name: resources_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.resources_id_seq', 1, false);


--
-- Name: review_calibrations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.review_calibrations_id_seq', 1, false);


--
-- Name: review_cycles_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.review_cycles_id_seq', 1, false);


--
-- Name: review_documents_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.review_documents_id_seq', 1, false);


--
-- Name: review_schedules_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.review_schedules_id_seq', 1, false);


--
-- Name: rfq_items_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.rfq_items_id_seq', 2, true);


--
-- Name: risk_assessment_files_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.risk_assessment_files_id_seq', 1, false);


--
-- Name: risk_assessment_hazards_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.risk_assessment_hazards_id_seq', 1, false);


--
-- Name: risk_assessment_ppe_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.risk_assessment_ppe_id_seq', 1, false);


--
-- Name: risk_assessment_signoffs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.risk_assessment_signoffs_id_seq', 1, false);


--
-- Name: risk_assessment_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.risk_assessment_types_id_seq', 1, false);


--
-- Name: risk_assessments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.risk_assessments_id_seq', 1, false);


--
-- Name: risk_categories_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.risk_categories_id_seq', 1, false);


--
-- Name: risk_identifications_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.risk_identifications_id_seq', 1, false);


--
-- Name: role_competencies_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.role_competencies_id_seq', 1, false);


--
-- Name: safety_alert_files_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.safety_alert_files_id_seq', 1, false);


--
-- Name: safety_alert_logs_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.safety_alert_logs_id_seq', 1, false);


--
-- Name: safety_alerts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.safety_alerts_id_seq', 1, false);


--
-- Name: safety_document_versions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.safety_document_versions_id_seq', 1, false);


--
-- Name: safety_documents_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.safety_documents_id_seq', 1, false);


--
-- Name: safety_field_incidents_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.safety_field_incidents_id_seq', 1, false);


--
-- Name: safety_incident_files_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.safety_incident_files_id_seq', 1, false);


--
-- Name: safety_incident_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.safety_incident_types_id_seq', 6, true);


--
-- Name: safety_incidents_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.safety_incidents_id_seq', 1, false);


--
-- Name: scheduled_reports_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.scheduled_reports_id_seq', 1, false);


--
-- Name: service_connections_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.service_connections_id_seq', 1, false);


--
-- Name: service_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.service_types_id_seq', 1, false);


--
-- Name: settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.settings_id_seq', 4, true);


--
-- Name: shift_swaps_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.shift_swaps_id_seq', 1, false);


--
-- Name: shifts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.shifts_id_seq', 1, false);


--
-- Name: supervisor_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.supervisor_types_id_seq', 1, false);


--
-- Name: table_column_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.table_column_settings_id_seq', 1, false);


--
-- Name: table_views_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.table_views_id_seq', 1, true);


--
-- Name: tasks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.tasks_id_seq', 1, false);


--
-- Name: tax_core_request_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.tax_core_request_id_seq', 1, false);


--
-- Name: tax_core_response_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.tax_core_response_id_seq', 1, false);


--
-- Name: tax_ledger_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.tax_ledger_id_seq', 1, false);


--
-- Name: tenant_admins_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.tenant_admins_id_seq', 1, false);


--
-- Name: tenant_module_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.tenant_module_settings_id_seq', 1, false);


--
-- Name: tenant_modules_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.tenant_modules_id_seq', 1, false);


--
-- Name: tenant_tables_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.tenant_tables_id_seq', 1, false);


--
-- Name: tenants_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.tenants_id_seq', 1, false);


--
-- Name: timesheets_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.timesheets_id_seq', 1, false);


--
-- Name: training_answers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.training_answers_id_seq', 1, false);


--
-- Name: training_badges_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.training_badges_id_seq', 1, false);


--
-- Name: training_bookmarks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.training_bookmarks_id_seq', 1, false);


--
-- Name: training_categories_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.training_categories_id_seq', 1, false);


--
-- Name: training_certificates_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.training_certificates_id_seq', 1, false);


--
-- Name: training_contents_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.training_contents_id_seq', 1, false);


--
-- Name: training_courses_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.training_courses_id_seq', 1, false);


--
-- Name: training_enrollments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.training_enrollments_id_seq', 1, false);


--
-- Name: training_feedback_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.training_feedback_id_seq', 1, false);


--
-- Name: training_path_courses_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.training_path_courses_id_seq', 1, false);


--
-- Name: training_paths_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.training_paths_id_seq', 1, false);


--
-- Name: training_questions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.training_questions_id_seq', 1, false);


--
-- Name: training_quizzes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.training_quizzes_id_seq', 1, false);


--
-- Name: training_results_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.training_results_id_seq', 1, false);


--
-- Name: training_sessions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.training_sessions_id_seq', 1, false);


--
-- Name: user_2fa_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.user_2fa_id_seq', 1, false);


--
-- Name: user_board_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.user_board_settings_id_seq', 4, true);


--
-- Name: user_passkeys_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.user_passkeys_id_seq', 1, false);


--
-- Name: user_settings_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.user_settings_id_seq', 1, false);


--
-- Name: user_tokens_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.user_tokens_id_seq', 1, false);


--
-- Name: vehicle_makes_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.vehicle_makes_id_seq', 1, true);


--
-- Name: vehicle_models_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.vehicle_models_id_seq', 1, true);


--
-- Name: vehicle_report_comments_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.vehicle_report_comments_id_seq', 1, false);


--
-- Name: vehicle_report_parts_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.vehicle_report_parts_id_seq', 1, false);


--
-- Name: vehicle_reports_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.vehicle_reports_id_seq', 1, false);


--
-- Name: vehicle_services_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.vehicle_services_id_seq', 1, false);


--
-- Name: vehicle_trip_points_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.vehicle_trip_points_id_seq', 1, false);


--
-- Name: vehicle_trips_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.vehicle_trips_id_seq', 1, false);


--
-- Name: vehicle_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.vehicle_types_id_seq', 1, false);


--
-- Name: vehicles_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.vehicles_id_seq', 1, false);


--
-- Name: view_filters_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.view_filters_id_seq', 1, false);


--
-- Name: violation_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.violation_types_id_seq', 1, false);


--
-- Name: workcom_inspection_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.workcom_inspection_types_id_seq', 1, false);


--
-- Name: workcom_inspections_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.workcom_inspections_id_seq', 1, false);


--
-- Name: workflow_approvals_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.workflow_approvals_id_seq', 1, false);


--
-- Name: workflow_event_triggers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.workflow_event_triggers_id_seq', 3, true);


--
-- Name: workflow_instances_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.workflow_instances_id_seq', 1, false);


--
-- Name: workflow_states_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.workflow_states_id_seq', 1, false);


--
-- Name: workflow_step_types_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.workflow_step_types_id_seq', 15, true);


--
-- Name: workflow_steps_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.workflow_steps_id_seq', 64, true);


--
-- Name: workflow_tasks_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.workflow_tasks_id_seq', 1, false);


--
-- Name: workflow_transitions_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.workflow_transitions_id_seq', 1, false);


--
-- Name: workflow_triggers_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.workflow_triggers_id_seq', 1, false);


--
-- Name: workflows_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.workflows_id_seq', 21, true);


--
-- Name: workplace_registrations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: taf
--

SELECT pg_catalog.setval('public.workplace_registrations_id_seq', 1, false);


--
-- Name: account_ai_feedback account_ai_feedback_pkey; Type: CONSTRAINT; Schema: public; Owner: taf
--

ALTER TABLE ONLY public.account_ai_feedback
    ADD CONSTRAINT account_ai_feedback_pkey PRIMARY KEY (id);


--
-- Name: appeals appeals_pkey; Type: CONSTRAINT; Schema: public; Owner: taf
--

ALTER TABLE ONLY public.appeals
    ADD CONSTRAINT appeals_pkey PRIMARY KEY (id);


--
-- Name: applications applications_pkey; Type: CONSTRAINT; Schema: public; Owner: taf
--

ALTER TABLE ONLY public.applications
    ADD CONSTRAINT applications_pkey PRIMARY KEY (application_id);


--
-- Name: appraisal_templates appraisal_templates_pkey; Type: CONSTRAINT; Schema: public; Owner: taf
--

ALTER TABLE ONLY public.appraisal_templates
    ADD CONSTRAINT appraisal_templates_pkey PRIMARY KEY (id);


--
-- Name: attendance attendance_pkey; Type: CONSTRAINT; Schema: public; Owner: taf
--

ALTER TABLE ONLY public.attendance
    ADD CONSTRAINT attendance_pkey PRIMARY KEY (id);


--
-- Name: audit_logs audit_logs_pkey; Type: CONSTRAINT; Schema: public; Owner: taf
--

ALTER TABLE ONLY public.audit_logs
    ADD CONSTRAINT audit_logs_pkey PRIMARY KEY (id);


--
-- Name: auth_events auth_events_pkey; Type: CONSTRAINT; Schema: public; Owner: taf
--

ALTER TABLE ONLY public.auth_events
    ADD CONSTRAINT auth_events_pkey PRIMARY KEY (event_id);


--
-- Name: auto_orders auto_orders_pkey; Type: CONSTRAINT; Schema: public; Owner: taf
--

ALTER TABLE ONLY public.auto_orders
    ADD CONSTRAINT auto_orders_pkey PRIMARY KEY (auto_order_id);


--
