This commit is contained in:
parent
b6f12b7acf
commit
8f8ad3035a
33 changed files with 166 additions and 111 deletions
|
@ -1,10 +1,12 @@
|
|||
package models
|
||||
|
||||
// A binding of one note to one mentioned account
|
||||
// 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
|
||||
Note Note // The note mentioning an account
|
||||
NoteId string
|
||||
PingTarget User
|
||||
PingTarget User // The account being mentioned
|
||||
PingTargetId string
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue