Add market_id FK to POS entities and market-filtered repository queries

Featurekamo-shared-library
Shipped
March 10, 2026 at 3:07 PM UTC
Author
Kamo
Commit
8006979

Add market association (ManyToOne FK to CommerceMarket) to Offering, InventoryItem, RentalAsset, Vendor, and SubscriptionPlan entities. Add findByMarketId queries to all corresponding repositories including InventoryPoolRepository (via JPQL join through inventoryItem). Add findByMarketId service methods to CommerceService for products, stocks, rental assets, vendors, and subscription plans.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing