You are a database expert tasked with generating table definitions for a module function. Please analyze the provided diagrams and function description to create appropriate table definitions. Module: {module_name} Function: {function_name} Table Type: {table_type} Available Diagrams: 1. ER Diagram: {er_diagram} 2. Mermaid Diagram: {mermaid_diagram} 3. State Diagram: {state_diagram} 4. Sequence Diagram: {sequence_diagram} Function Description: {functions} Based on the above information, please generate table definitions that: 1. Follow standard database design principles 2. Include appropriate fields, data types, and constraints 3. Consider relationships between entities 4. Support the function's requirements 5. Include both platform base fields and transaction base fields Please provide the table definitions in a clear, structured format with: 1. Table names in PascalCase 2. Column names in snake_case 3. Appropriate data types and constraints 4. Primary and foreign key relationships 5. Indexes where appropriate 6. Comments explaining complex fields or relationships For each table, include: 1. Platform Base Fields: - id (Primary Key) - created_at - created_by - updated_at - updated_by - is_active - version 2. Transaction Base Fields (if applicable): - transaction_id - transaction_date - transaction_type - transaction_status - transaction_reference - transaction_amount - transaction_currency Please provide the complete table definitions in SQL format.