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.

17 lines
535 B

  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:"sources"`
  15. }