How mabdulahadch/lesco-management-system works
Main Components
A. Client Layer (UI Components):
• Customer Interface
• Dashboard
• Bill View
• CNIC Update
• Employee Interface
• Dashboard
• Bill Management
• Customer Management
• Reports Generation
• Tariff Management
B. Business Logic Layer (BL Components):
• Core Services
• Bill Management Service
• Customer Management Service
• Employee Management Service
• NADRA Verification Service
• Tariff Management Service
• Server Component
• LESCO Server (handles client-server communication)
C. Data Layer (DB Components):
• File-based Storage System
• Customer Information Store
• Billing Information Store
• Employee Data Store
• NADRA Database
• Traffic Tax Information Store
[UI Layer (Top)]
• ↕
[Business Logic Layer (Middle)]
• ↕
[Data Layer (Bottom)]
Component Relationships to Highlight
• Data flow between business logic services and data stores
• Client-server communication pattern
• Authentication flow for both customer and employee access
Technical Details
• Java-based implementation
• File-based storage system
• Client-server architecture
• MVC pattern implementation in UI layer
Specific Component Relationships
• CustomerClient ↔ LescoServer
• EmployeeClient ↔ LescoServer
• LescoServer ↔ Data Stores
• UI Panels ↔ Corresponding Business Logic Classes
• NADRA Verification Flow
Notes Section
Notes about:
• File-based storage implementation
• Security considerations
• System requirements
• Scalability aspects