user

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IUserDependency

type IUserDependency interface {
}

type User

type User struct {
	gorm.Model
	Id        primitive.ObjectID `bson:"_id"`
	MysqlId   uint               `gorm:"primaryKey"`
	PostgreId uint               `gorm:"primaryKey"`
	mongodb.MongoDbDatabaseObject
	mysql.MysqlDatabaseObject
	postgres.PostgresDatabaseObject
	FirstName      string
	MiddleName     string
	LastName       string
	Email          string
	EmailConfirmed bool
	Password       string
	Roles          []primitive.ObjectID `gorm:"serializer:json"`
	TotpSecret     string
}

type UserDependency

type UserDependency struct {
}

type UserDependencyConfiguration

type UserDependencyConfiguration struct {
	MongoDbDatabaseConnectionString string
	MongoDbDatabaseUsername         string
	MongoDbDatabasePassword         string
	PostgresDatabaseDsn             string
	MysqlDatabaseDsn                string
	AdminRoleId                     primitive.ObjectID
	MysqlAdminRoleId                uint
	PostgresAdminRoleId             uint
	DatabaseName                    stirng
}

Jump to

Keyboard shortcuts

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