GraphQL API and utilities for the rpdata project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
662 B

5 years ago
  1. package models
  2. import "time"
  3. // A Comment is a comment on a chapter.
  4. type Comment struct {
  5. ID string `bson:"_id"`
  6. ChapterID string `bson:"chapterId"`
  7. Subject string `bson:"subject"`
  8. Author string `bson:"author"`
  9. CharacterName string `bson:"characterName"`
  10. CharacterID string `bson:"characterId"`
  11. FictionalDate time.Time `bson:"fictionalDate"`
  12. CreatedDate time.Time `bson:"createdDate"`
  13. EditedDate time.Time `bson:"editeddDate"`
  14. Source string `bson:"source"`
  15. }
  16. // IsChangeObject is a dummy interface implementation
  17. func (*Comment) IsChangeObject() {
  18. // Dummy interface implementation
  19. }