⬅️ Back to Layers Overview

Domain Model & Data Layer

The Domain Model Layer represents the core business entities and their relationships. These JPA entities map directly to database tables and form the foundation of the application’s data persistence.

Location: src/main/java/com/smartsupplypro/inventory/model/

Responsibility: Entity definitions, relationships, constraints, audit tracking, enumeration types

Quick Navigation

By Topic

By Role

Core Entities Overview

  • Supplier - Inventory goods providers with contact information
  • InventoryItem - Individual products/items with stock tracking
  • StockHistory - Immutable audit trail of all stock movements
  • AppUser - OAuth2 user principals with roles

⬅️ Back to Layers Overview