pivot

package
v0.0.0-...-52c8aec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserPermissions

type UserPermissions struct {
	UserID       uuid.UUID `gorm:"primary_key" json:"user_id"`
	PermissionID uint      `gorm:"primary_key" json:"permission_id"`
}

UserPermissions represents the database model of user permissions relationships

func (UserPermissions) TableName

func (UserPermissions) TableName() string

TableName sets the table name

type UserRoles

type UserRoles struct {
	UserID uuid.UUID `gorm:"primary_key" json:"user_id"`
	RoleID uint      `gorm:"primary_key" json:"role_id"`
}

UserRoles represents the database model of user roles relationships

func (UserRoles) TableName

func (UserRoles) TableName() string

TableName sets the table name

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL