sysuser

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 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 SysUser

type SysUser struct {
	common.BaseModel `storm:"inline"`
	Username         string    `json:"userName" storm:"index,unique"` // 账号
	NickName         string    `json:"nickName"`                      //昵称
	Password         string    `json:"password"`                      //密码
	Email            string    `json:"email"`                         //邮箱
	Phone            string    `json:"phone"`                         //手机号码
	OtpSecret        string    `json:"OtpSecret"`                     //otp密钥
	OtpInterval      int       `json:"otpInterval"`                   //otp 步数
	LastLogin        time.Time `json:"lastLogin"`                     //最后登录时间
}

Jump to

Keyboard shortcuts

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