package models // A binding of one note to one mentioned account. // A note may ping multiple users, but each ping wil be stored // at most once type NoteToPing struct { ID uint64 `gorm:"primarykey"` Note Note // The note mentioning an account NoteId string PingTarget User // The account being mentioned PingTargetId string }