linstrom/storage-new/models/UserToUserRelation.go
mstar 67b507f4bd
Some checks are pending
/ test (push) Waiting to run
Describe all types for the new storage system
2025-03-27 10:45:57 +01:00

12 lines
329 B
Go

package models
// A relation between two accounts
// There may be multiple relations from an account X to an account Y,
// each describing a different aspect
type UserToUserRelation struct {
User User
UserId string
TargetUser User
TargetUserId string
Relation RelationType `gorm:"type:relation_type"`
}