manage_user

package
v0.0.0-...-035d22f Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = sqlx.ErrNotFound

Functions

This section is empty.

Types

type ManageUser

type ManageUser struct {
	Id         uint64         `db:"id"`
	CreateTime time.Time      `db:"create_time"`
	UpdateTime time.Time      `db:"update_time"`
	CreateBy   sql.NullInt64  `db:"create_by"`
	UpdateBy   sql.NullInt64  `db:"update_by"`
	Username   string         `db:"username"`
	Password   string         `db:"password"`
	Nickname   string         `db:"nickname"`
	Gender     string         `db:"gender"`
	Phone      sql.NullString `db:"phone"`
	Status     string         `db:"status"`
	Email      sql.NullString `db:"email"`
}

type ManageUserModel

type ManageUserModel interface {
	// contains filtered or unexported methods
}

ManageUserModel is an interface to be customized, add more methods here, and implement the added methods in customManageUserModel.

func NewManageUserModel

func NewManageUserModel(conn sqlx.SqlConn, op ...opts.Opt[modelx.ModelOpts]) ManageUserModel

NewManageUserModel returns a model for the database table.

Jump to

Keyboard shortcuts

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