domain

package
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 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 Authority

type Authority struct {
	AuthType string `gorm:"column:auth_type;primaryKey" json:"authType"`
	AuthId   int64  `gorm:"column:auth_id;primaryKey" json:"authId"`
	Sort     int    `gorm:"column:sort;default:100" json:"sort"`
	Status   int    `gorm:"column:status;default:1" json:"status"`
}

type OrganizationAuthority

type OrganizationAuthority struct {
	domain.AuditingEnabled
	Authority
	OrganizationId string `gorm:"column:organization_id;primaryKey" json:"organizationId"`
}

func (*OrganizationAuthority) TableName

func (*OrganizationAuthority) TableName() string

type RoleAuthority

type RoleAuthority struct {
	domain.AuditingEnabled
	Authority
	RoleId string `gorm:"column:role_id;primaryKey" json:"roleId"`
}

func (*RoleAuthority) TableName

func (*RoleAuthority) TableName() string

type UserAuthority

type UserAuthority struct {
	domain.AuditingEnabled
	Authority
	UserId string `gorm:"column:user_id;primaryKey" json:"userId"`
}

func (*UserAuthority) TableName

func (*UserAuthority) TableName() string

Jump to

Keyboard shortcuts

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