// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================

package entity

import (
	"github.com/gogf/gf/v2/os/gtime"
)

// Users is the golang structure for table users.
type Users struct {
	Id                int64       `json:"id"                orm:"id"                 description:"id"`
	Phone             string      `json:"phone"             orm:"phone"              description:"手机号"`
	Nickname          string      `json:"nickname"          orm:"nickname"           description:"昵称"`
	Email             string      `json:"email"             orm:"email"              description:"邮箱"`
	Avatar            string      `json:"avatar"            orm:"avatar"             description:"头像URL"`
	Introduce         string      `json:"introduce"         orm:"introduce"          description:"个人简介"`
	Password          string      `json:"password"          orm:"password"           description:"密码"`
	Salt              string      `json:"salt"              orm:"salt"               description:"密码盐"`
	Realname          string      `json:"realname"          orm:"realname"           description:"真实姓名"`
	Gender            int         `json:"gender"            orm:"gender"             description:"性别"`
	Birthday          string      `json:"birthday"          orm:"birthday"           description:"生日"`
	School            string      `json:"school"            orm:"school"             description:"学校"`
	Grade             string      `json:"grade"             orm:"grade"              description:"学历"`
	Major             string      `json:"major"             orm:"major"              description:"专业"`
	Status            int         `json:"status"            orm:"status"             description:"用户状态"`
	VerificationToken string      `json:"verificationToken" orm:"verification_token" description:"邮箱验证令牌"`
	EmailVerified     int         `json:"emailVerified"     orm:"email_verified"     description:"邮箱验证状态"`
	CreatedAt         *gtime.Time `json:"createdAt"         orm:"created_at"         description:"注册时间"`
	LastLogin         *gtime.Time `json:"lastLogin"         orm:"last_login"         description:"最后登录时间"`
	LoginCount        int         `json:"loginCount"        orm:"login_count"        description:"累计登录次数"`
}
