feat(pos): add favorite functionality for goods
- Implemented PosGoodFavoriteController to handle attaching and detaching favorites for goods. - Created PosGoodFavoriteService to manage the business logic for favorites, including database operations and cache invalidation. - Added PosGoodFavoriteModule to encapsulate the controller and service.
This commit is contained in:
@@ -167,6 +167,11 @@ export type Complex = Prisma.ComplexModel
|
||||
*
|
||||
*/
|
||||
export type Pos = Prisma.PosModel
|
||||
/**
|
||||
* Model ConsumerAccountGoodFavorite
|
||||
*
|
||||
*/
|
||||
export type ConsumerAccountGoodFavorite = Prisma.ConsumerAccountGoodFavoriteModel
|
||||
/**
|
||||
* Model Good
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user