gooauthmodel

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoUserPathBack added in v0.0.4

type GoUserPathBack struct {
	gorm.Model
	PathBackId     uint   `gorm:"column:id"`
	PathRoute      string `gorm:"column:path_route;not null"`
	OperationRoute string `gorm:"column:operation_route;not null"`
}

type GoUserRole added in v0.0.4

type GoUserRole struct {
	gorm.Model
	RoleId   uint   `gorm:"column:id"`
	RoleName string `gorm:"column:role_name;not null"`
}

type GoUserRolePath added in v0.0.4

type GoUserRolePath struct {
	gorm.Model
	RolePathId uint `gorm:"column:id"`

	GoUserRoleId uint `gorm:"column:role_id;not null"`
	GoUserRole   GoUserRole

	GoUserPathBackId uint `gorm:"column:path_back_id;not null"`
	GoUserPathBack   GoUserPathBack
}

type GoUserUser added in v0.0.4

type GoUserUser struct {
	gorm.Model
	UserId   uint   `gorm:"column:id"`
	Email    string `gorm:"column:email;not null"`
	Name     string `gorm:"column:name;not null"`
	SubName  string `gorm:"column:sub_name"`
	Enabled  bool   `gorm:"column:enabled;not null"`
	Password string `gorm:"column:password;not null"`

	GoUserRoleId uint `gorm:"column:role_id;not null"`
	GoUserRole   GoUserRole

	CodeValidateEmail    *string `gorm:"column:code_validate_email"`
	CodeRemenberPassword *string `gorm:"column:code_remenber_password"`
}

type GoUserUserAttributtes added in v0.0.4

type GoUserUserAttributtes struct {
	gorm.Model
	UserAttributteId uint `gorm:"column:id"`
	GoUserUserId     uint `gorm:"column:user_id;not null"`
	GoUserUser       GoUserUser
	NameAttributte   string `gorm:"column:name_attributte;not null"`
	ValueAttributtes string `gorm:"column:vale_attributte;not null"`
}

type GoUserUserMigration added in v0.0.4

type GoUserUserMigration struct {
	gorm.Model
	MigrationId      uint      `gorm:"column:id;not null"`
	MigrationVersion string    `gorm:"column:migrate_version;not null"`
	DateCreate       time.Time `gorm:"column:date_create;not null"`
}

type GoUserUserPath added in v0.0.4

type GoUserUserPath struct {
	gorm.Model
	UserPathId       uint `gorm:"column:id"`
	GoUserUserId     uint `gorm:"column:user_id;not null"`
	GoUserUser       GoUserUser
	GoUserPathBackId uint `gorm:"column:path_back_id;not null"`
	GoUserPathBack   GoUserPathBack
}

Jump to

Keyboard shortcuts

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