MenuRepository

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

Inheritors

Functions

Link copied to clipboard
abstract fun delete(entity: Menu)
Link copied to clipboard
abstract fun findAllByRestaurantId(restaurantId: RestaurantId): List<Menu>

Finds all Menu entities associated with a specific RestaurantId.

Link copied to clipboard
abstract fun findById(id: MenuId): Menu?
Link copied to clipboard
abstract fun findByIdAndRestaurantId(id: MenuId, restaurantId: RestaurantId): Menu?

Finds a Menu by its ID and associated RestaurantId.

Link copied to clipboard
abstract fun save(entity: Menu)
Link copied to clipboard
abstract fun update(entity: Menu)