linstrom/storage-new/models/UserBeings.go
mstar 8f8ad3035a
Some checks are pending
/ test (push) Waiting to run
Comment all new code
2025-04-02 15:33:07 +02:00

12 lines
320 B
Go

package models
// Defines an user to be a being of the set type
// Each user may have multiple mappings
//
// TODO: Decide whether Being here could be changed to an open string instead
type UserToBeing struct {
ID uint64 `gorm:"primarykey"`
User User
UserId string
Being BeingType `gorm:"type:being_type"`
}