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