-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add create business tag functionallity #408
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Add BusinessTag struct to the model list for database migration - This change enables the system to store and manage business tags
- Implement BusinessTagUsecase and BusinessTagRepo interfaces - Add CreateBusinessTag method to create new business tags - Integrate with storage layer to persist business tag data
- Implement CreateBusinessTag method in DMSController - Add corresponding route in APIServer - Create BusinessTagUsecase and implement create business tag logic - Include error handling and user authentication
- Initialize and integrate BusinessTagUsecase into DMSService - NewBusinessTagUsecase is created and added to the DMSService struct
PR Reviewer Guide 🔍(Review updated until commit f67cf5b)
|
PR Code Suggestions ✨No code suggestions found for the PR. |
- Changed the length of BusinessName field in BusinessTag struct from varchar(255) to varchar(100)
Persistent review updated to latest commit b63f863 |
PR Code Suggestions ✨No code suggestions found for the PR. |
- Rename BusinessTagName to Name in BusinessTag struct - Update related function parameters and method calls - Adjust database model to use Name instead of BusinessName
Persistent review updated to latest commit f67cf5b |
PR Code Suggestions ✨No code suggestions found for the PR. |
littleniannian
approved these changes
Apr 3, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User description
Description
添加业务标签数据模型和数据库迁移
实现业务标签的存储和管理功能
增加API接口和路由以支持业务标签的创建
集成业务标签功能到DMS服务层
Changes walkthrough 📝
7 files
实现CreateBusinessTag控制器方法
新增业务标签的API路由
添加业务标签业务逻辑
实现业务标签服务方法
集成BusinessTagUsecase到DMSService
实现业务标签的存储层
定义业务标签数据模型