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