Skip to main content

datasynth_core/models/
mod.rs

1//! Domain models for synthetic accounting data generation.
2//!
3//! This module provides all the core data models for the enterprise
4//! simulation, including:
5//!
6//! - Master data (vendors, customers, materials, fixed assets, employees)
7//! - Transaction data (journal entries, ACDOCA event logs)
8//! - Organizational data (companies, departments, cost centers)
9//! - Control data (internal controls, SoD, approvals)
10//! - Document data (purchase orders, invoices, payments, deliveries)
11//! - Intercompany data (relationships, transfer pricing, eliminations)
12//! - Temporal data (bi-temporal support for audit trails)
13//! - Audit data (engagements, workpapers, evidence, findings)
14
15mod acdoca;
16mod anomaly;
17
18// Graph property mapping trait (DS-001)
19mod approval;
20
21// Intercompany pair identifier (group audit v5.0, Task 3.1)
22pub mod ic_pair;
23pub use ic_pair::IcPairId;
24
25// Cost center hierarchy model (D.2)
26mod cgu;
27mod chart_of_accounts;
28mod company;
29mod control_mapping;
30mod coso;
31mod cost_center;
32pub mod currency_translation_result;
33mod customer_segment;
34pub mod deferred_tax;
35mod department;
36pub mod dimensional_export;
37mod entity_registry;
38mod fixed_asset;
39mod fx;
40pub mod graph_properties;
41pub mod hyperinflation;
42pub mod internal_control;
43pub mod journal_entry;
44pub mod ledger_coherence;
45mod master_data;
46mod material;
47mod period_close;
48mod profit_center;
49mod project;
50mod project_accounting;
51mod relationship;
52mod sod;
53pub mod structural_fingerprint;
54mod tax;
55mod temporal;
56mod treasury;
57mod user;
58
59// ESG / Sustainability models
60mod esg;
61mod vendor_network;
62
63// Source-to-Contract models (S2C pipeline)
64pub mod sourcing;
65
66// Bank reconciliation models
67mod bank_reconciliation;
68
69// Financial statement models
70mod financial_statements;
71
72// Notes to financial statements models (IAS 1 / ASC 235)
73mod financial_statement_notes;
74
75// Hire-to-Retire (H2R) models
76mod expense_report;
77mod payroll;
78mod time_entry;
79
80// Manufacturing models
81mod cycle_count;
82mod manufacturing_models;
83mod production_order;
84mod quality_inspection;
85
86// Wave 4: Sales Quotes, KPIs, Budgets
87mod budget;
88mod evidence_anchor;
89mod external_expectation;
90mod management_kpi;
91mod sales_quote;
92
93// Pattern drift models (Phase: Pattern and Process Drift Over Time)
94pub mod drift_events;
95pub mod organizational_event;
96pub mod process_evolution;
97pub mod regulatory_events;
98pub mod technology_transition;
99
100// Document models (Phase 2)
101pub mod documents;
102
103// Intercompany models (Phase 3)
104pub mod intercompany;
105
106// Balance coherence models (Phase 4)
107pub mod balance;
108
109// Subledger models (Phase 5)
110pub mod subledger;
111
112// Business combination models (IFRS 3 / ASC 805)
113pub mod business_combination;
114
115// Pension models (IAS 19 / ASC 715)
116pub mod pension;
117
118// Expected Credit Loss models (IFRS 9 / ASC 326)
119pub mod expected_credit_loss;
120
121// Provisions and Contingencies models (IAS 37 / ASC 450)
122pub mod provision;
123
124// Stock-based compensation models (ASC 718 / IFRS 2)
125pub mod stock_compensation;
126
127// Audit models (Phase 13-14: RustAssureTwin integration)
128pub mod audit;
129
130// Banking models (KYC/AML transaction generation)
131pub mod banking;
132
133// Counterfactual simulation models
134pub mod causal_dag;
135mod intervention;
136mod scenario;
137
138// Unified generation pipeline session models
139pub mod generation_session;
140
141// Compliance & Regulations Framework models
142pub mod compliance;
143
144// Industry benchmark models (WI-3)
145mod industry_benchmark;
146
147// Legal document models (GAM audit engagement support)
148mod legal_document;
149
150// Governance models — board minutes (WI-5)
151mod governance;
152
153// Organizational profile models (WI-6)
154mod organizational_profile;
155
156// IT controls models — access logs and change management (WI-4)
157mod it_controls;
158
159// Prior-year comparative data models (WI-2)
160mod prior_year;
161
162// Management report models (WI-7)
163// Note: ManagementReport, KpiSummaryLine, BudgetVarianceLine live in financial_statements
164
165pub use acdoca::*;
166pub use anomaly::*;
167pub use approval::*;
168pub use cgu::*;
169pub use chart_of_accounts::*;
170pub use company::*;
171pub use control_mapping::*;
172pub use coso::*;
173pub use cost_center::*;
174pub use currency_translation_result::*;
175pub use customer_segment::*;
176pub use deferred_tax::*;
177pub use department::*;
178pub use dimensional_export::*;
179pub use entity_registry::*;
180pub use fixed_asset::*;
181pub use fx::*;
182pub use graph_properties::*;
183pub use hyperinflation::*;
184pub use internal_control::*;
185pub use journal_entry::*;
186pub use ledger_coherence::*;
187pub use master_data::*;
188pub use material::*;
189pub use period_close::*;
190pub use profit_center::*;
191pub use project::*;
192pub use project_accounting::*;
193pub use relationship::*;
194pub use sod::*;
195pub use structural_fingerprint::*;
196pub use tax::*;
197pub use temporal::*;
198pub use treasury::*;
199pub use user::*;
200pub use vendor_network::*;
201
202// ESG / Sustainability exports
203pub use esg::*;
204
205// Sourcing exports
206pub use sourcing::*;
207
208// Bank reconciliation exports
209pub use bank_reconciliation::*;
210
211// Financial statement exports
212pub use financial_statements::*;
213
214// Notes to financial statements exports (IAS 1 / ASC 235)
215pub use financial_statement_notes::*;
216
217// Hire-to-Retire (H2R) exports
218pub use expense_report::*;
219pub use payroll::*;
220pub use time_entry::*;
221
222// Manufacturing exports
223pub use cycle_count::*;
224pub use manufacturing_models::*;
225pub use production_order::*;
226pub use quality_inspection::*;
227
228// Wave 4 exports
229pub use budget::*;
230pub use evidence_anchor::*;
231pub use external_expectation::*;
232pub use management_kpi::*;
233pub use sales_quote::*;
234
235// Pattern drift exports
236pub use drift_events::*;
237pub use organizational_event::*;
238pub use process_evolution::*;
239pub use regulatory_events::*;
240pub use technology_transition::*;
241
242// Counterfactual simulation exports
243pub use causal_dag::*;
244pub use intervention::*;
245pub use scenario::*;
246
247// Business combination exports
248pub use business_combination::*;
249
250// Pension exports (IAS 19 / ASC 715)
251pub use pension::*;
252
253// Expected Credit Loss exports (IFRS 9 / ASC 326)
254pub use expected_credit_loss::*;
255
256// Provisions and Contingencies exports (IAS 37 / ASC 450)
257pub use provision::*;
258
259// Stock-based compensation exports (ASC 718 / IFRS 2)
260pub use stock_compensation::*;
261
262// Unified generation pipeline session exports
263pub use generation_session::*;
264
265// Industry benchmark exports (WI-3)
266pub use industry_benchmark::*;
267
268// Legal document exports (GAM audit engagement)
269pub use legal_document::*;
270
271// Governance exports (WI-5)
272pub use governance::*;
273
274// Organizational profile exports (WI-6)
275pub use organizational_profile::*;
276
277// IT controls exports (WI-4)
278pub use it_controls::*;
279
280// Prior-year comparative data exports (WI-2)
281pub use prior_year::*;