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:
2026-05-20 11:42:59 +03:30
parent 98099e97e7
commit fc27b9d616
19 changed files with 1989 additions and 62 deletions
+1
View File
@@ -38,6 +38,7 @@ export type * from './models/ConsumerLegal.js'
export type * from './models/BusinessActivity.js'
export type * from './models/Complex.js'
export type * from './models/Pos.js'
export type * from './models/ConsumerAccountGoodFavorite.js'
export type * from './models/Good.js'
export type * from './models/GoodCategory.js'
export type * from './models/Guild.js'