manage_role

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 ManageRole

type ManageRole 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"`
	Name       string        `db:"name"`
	Status     string        `db:"status"`
	Code       string        `db:"code"`
	Desc       string        `db:"desc"`
}

type ManageRoleModel

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

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

func NewManageRoleModel

func NewManageRoleModel(conn sqlx.SqlConn, op ...opts.Opt[modelx.ModelOpts]) ManageRoleModel

NewManageRoleModel 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