| 25 | ) |
| 26 | |
| 27 | type 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 | |
| 43 | func (c Comment) CollectionName() string { |
| 44 | return "comments" |
nothing calls this directly
no outgoing calls
no test coverage detected