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