27 lines
1.5 KiB
Go
27 lines
1.5 KiB
Go
// =================================================================================
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|
// =================================================================================
|
|
|
|
package entity
|
|
|
|
import (
|
|
"github.com/gogf/gf/v2/os/gtime"
|
|
)
|
|
|
|
// User is the golang structure for table user.
|
|
type User struct {
|
|
Id uint64 `json:"id" orm:"id" description:""` //
|
|
UnionId string `json:"unionId" orm:"union_id" description:""` //
|
|
OpenId string `json:"openId" orm:"open_id" description:""` //
|
|
Mobile string `json:"mobile" orm:"mobile" description:""` //
|
|
Account string `json:"account" orm:"account" description:""` //
|
|
PasswordHash string `json:"passwordHash" orm:"password_hash" description:""` //
|
|
Nickname string `json:"nickname" orm:"nickname" description:""` //
|
|
Avatar string `json:"avatar" orm:"avatar" description:""` //
|
|
Status int `json:"status" orm:"status" description:""` //
|
|
LastLoginAt *gtime.Time `json:"lastLoginAt" orm:"last_login_at" description:""` //
|
|
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""` //
|
|
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""` //
|
|
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:""` //
|
|
}
|