RestaurantRepository

Repository interface for managing Restaurant entities. Extends the base Repository with specific query operations.

Inheritors

Functions

Link copied to clipboard
abstract fun delete(entity: Restaurant)
Link copied to clipboard
abstract fun findAllByManagerId(managerId: UserId): List<Restaurant>

Finds all Restaurant entities associated with a specific manager ID.

Link copied to clipboard
abstract fun findById(id: RestaurantId): Restaurant?
Link copied to clipboard
abstract fun save(entity: Restaurant)
Link copied to clipboard
abstract fun update(entity: Restaurant)