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