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;
24mod customer_segment;
25mod department;
26mod entity_registry;
27mod fixed_asset;
28mod fx;
29pub mod graph_properties;
30mod internal_control;
31mod journal_entry;
32mod master_data;
33mod material;
34mod period_close;
35mod project;
36mod project_accounting;
37mod relationship;
38mod sod;
39mod tax;
40mod temporal;
41mod treasury;
42mod user;
43
44// ESG / Sustainability models
45mod esg;
46mod vendor_network;
47
48// Source-to-Contract models (S2C pipeline)
49pub mod sourcing;
50
51// Bank reconciliation models
52mod bank_reconciliation;
53
54// Financial statement models
55mod financial_statements;
56
57// Hire-to-Retire (H2R) models
58mod expense_report;
59mod payroll;
60mod time_entry;
61
62// Manufacturing models
63mod cycle_count;
64mod manufacturing_models;
65mod production_order;
66mod quality_inspection;
67
68// Wave 4: Sales Quotes, KPIs, Budgets
69mod budget;
70mod management_kpi;
71mod sales_quote;
72
73// Pattern drift models (Phase: Pattern and Process Drift Over Time)
74pub mod drift_events;
75pub mod organizational_event;
76pub mod process_evolution;
77pub mod regulatory_events;
78pub mod technology_transition;
79
80// Document models (Phase 2)
81pub mod documents;
82
83// Intercompany models (Phase 3)
84pub mod intercompany;
85
86// Balance coherence models (Phase 4)
87pub mod balance;
88
89// Subledger models (Phase 5)
90pub mod subledger;
91
92// Audit models (Phase 13-14: RustAssureTwin integration)
93pub mod audit;
94
95// Banking models (KYC/AML transaction generation)
96pub mod banking;
97
98// Counterfactual simulation models
99pub mod causal_dag;
100mod intervention;
101mod scenario;
102
103// Unified generation pipeline session models
104pub mod generation_session;
105
106pub use acdoca::*;
107pub use anomaly::*;
108pub use approval::*;
109pub use chart_of_accounts::*;
110pub use company::*;
111pub use control_mapping::*;
112pub use coso::*;
113pub use customer_segment::*;
114pub use department::*;
115pub use entity_registry::*;
116pub use fixed_asset::*;
117pub use fx::*;
118pub use graph_properties::*;
119pub use internal_control::*;
120pub use journal_entry::*;
121pub use master_data::*;
122pub use material::*;
123pub use period_close::*;
124pub use project::*;
125pub use project_accounting::*;
126pub use relationship::*;
127pub use sod::*;
128pub use tax::*;
129pub use temporal::*;
130pub use treasury::*;
131pub use user::*;
132pub use vendor_network::*;
133
134// ESG / Sustainability exports
135pub use esg::*;
136
137// Sourcing exports
138pub use sourcing::*;
139
140// Bank reconciliation exports
141pub use bank_reconciliation::*;
142
143// Financial statement exports
144pub use financial_statements::*;
145
146// Hire-to-Retire (H2R) exports
147pub use expense_report::*;
148pub use payroll::*;
149pub use time_entry::*;
150
151// Manufacturing exports
152pub use cycle_count::*;
153pub use manufacturing_models::*;
154pub use production_order::*;
155pub use quality_inspection::*;
156
157// Wave 4 exports
158pub use budget::*;
159pub use management_kpi::*;
160pub use sales_quote::*;
161
162// Pattern drift exports
163pub use drift_events::*;
164pub use organizational_event::*;
165pub use process_evolution::*;
166pub use regulatory_events::*;
167pub use technology_transition::*;
168
169// Counterfactual simulation exports
170pub use causal_dag::*;
171pub use intervention::*;
172pub use scenario::*;
173
174// Unified generation pipeline session exports
175pub use generation_session::*;