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"` }