model

package
v0.0.0-...-d6791e1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 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 Role

type Role struct {
	*base.Model

	Name        string `db:"name" json:"name"`
	Description string `db:"description" json:"description"`
}

type RolePermissionMapping

type RolePermissionMapping struct {
	*base.JunctionModel

	RoleId       string `db:"role_id" json:"roleId"`
	PermissionId string `db:"permission_id" json:"permissionId"`
}

Jump to

Keyboard shortcuts

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