# Cashcard System – ERD (Logical)

## users
- id
- name
- email
- password
- status
- created_at

## roles
- id
- name

## role_user
- user_id
- role_id

## clients
- id
- type (individual/corporate)
- full_name
- kyc_level
- status
- created_at

## accounts
- id
- client_id
- account_number
- balance (future use)
- status
- created_at

## cards
- id
- account_id
- pan
- pan_masked
- expiry_month
- expiry_year
- cvv_hash
- status
- created_at

## card_print_jobs
- id
- card_id
- printer_id
- status
- printed_at

## printers
- id
- name
- model
- status

## audit_logs
- id
- user_id
- action
- entity
- entity_id
- ip_address
- created_at
