MCPcopy Create free account
hub / github.com/PaperDebugger/paperdebugger / Comment

Struct Comment

internal/models/comment.go:27–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25)
26
27type Comment struct {
28 BaseModel `bson:",inline"`
29 UserID bson.ObjectID `bson:"user_id"`
30 ProjectID string `bson:"project_id"`
31 DocID string `bson:"doc_id"`
32 DocVersion int `bson:"doc_version"`
33 DocSHA1 string `bson:"doc_sha1"`
34 QuotePosition int `bson:"quote_position"`
35 QuoteText string `bson:"quote_text"`
36 Comment string `bson:"comment"`
37 ImportanceLevel ImportanceLevel `bson:"importance_level"`
38 IsAddedToOverleaf CommentStatus `bson:"is_added_to_overleaf"`
39 DocPath string `bson:"doc_path"`
40 Section string `bson:"section"`
41}
42
43func (c Comment) CollectionName() string {
44 return "comments"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected