🎨 improvement of comment-related code and database structure
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
package types
|
||||
|
||||
import "github.com/chenmingyong0423/go-mongox/v2"
|
||||
|
||||
type CommentImage struct {
|
||||
mongox.Model `bson:",inline"`
|
||||
TopicID string `bson:"topic_id"`
|
||||
CommentID string `bson:"comment_id"`
|
||||
UserID string `bson:"user_id"`
|
||||
Images []string `bson:"images"`
|
||||
}
|
Reference in New Issue
Block a user