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
132pub use acdoca::*;
133pub use anomaly::*;
134pub use approval::*;
135pub use chart_of_accounts::*;
136pub use company::*;
137pub use control_mapping::*;
138pub use coso::*;
139pub use cost_center::*;
140pub use currency_translation_result::*;
141pub use customer_segment::*;
142pub use deferred_tax::*;
143pub use department::*;
144pub use entity_registry::*;
145pub use fixed_asset::*;
146pub use fx::*;
147pub use graph_properties::*;
148pub use internal_control::*;
149pub use journal_entry::*;
150pub use master_data::*;
151pub use material::*;
152pub use period_close::*;
153pub use project::*;
154pub use project_accounting::*;
155pub use relationship::*;
156pub use sod::*;
157pub use tax::*;
158pub use temporal::*;
159pub use treasury::*;
160pub use user::*;
161pub use vendor_network::*;
162
163// ESG / Sustainability exports
164pub use esg::*;
165
166// Sourcing exports
167pub use sourcing::*;
168
169// Bank reconciliation exports
170pub use bank_reconciliation::*;
171
172// Financial statement exports
173pub use financial_statements::*;
174
175// Notes to financial statements exports (IAS 1 / ASC 235)
176pub use financial_statement_notes::*;
177
178// Hire-to-Retire (H2R) exports
179pub use expense_report::*;
180pub use payroll::*;
181pub use time_entry::*;
182
183// Manufacturing exports
184pub use cycle_count::*;
185pub use manufacturing_models::*;
186pub use production_order::*;
187pub use quality_inspection::*;
188
189// Wave 4 exports
190pub use budget::*;
191pub use management_kpi::*;
192pub use sales_quote::*;
193
194// Pattern drift exports
195pub use drift_events::*;
196pub use organizational_event::*;
197pub use process_evolution::*;
198pub use regulatory_events::*;
199pub use technology_transition::*;
200
201// Counterfactual simulation exports
202pub use causal_dag::*;
203pub use intervention::*;
204pub use scenario::*;
205
206// Business combination exports
207pub use business_combination::*;
208
209// Pension exports (IAS 19 / ASC 715)
210pub use pension::*;
211
212// Expected Credit Loss exports (IFRS 9 / ASC 326)
213pub use expected_credit_loss::*;
214
215// Provisions and Contingencies exports (IAS 37 / ASC 450)
216pub use provision::*;
217
218// Stock-based compensation exports (ASC 718 / IFRS 2)
219pub use stock_compensation::*;
220
221// Unified generation pipeline session exports
222pub use generation_session::*;