Files
TrangleAgent/Backend/internal/model/entity/users.go
2026-01-18 20:35:21 +08:00

30 lines
2.3 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// =================================================================================
// 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 uint64 `json:"id" orm:"id" description:"用户ID"` // 用户ID
Account string `json:"account" orm:"account" description:"账号"` // 账号
Password string `json:"password" orm:"password" description:"密码哈希"` // 密码哈希
Nickname string `json:"nickname" orm:"nickname" description:"昵称"` // 昵称
Gender int `json:"gender" orm:"gender" description:"性别0未知 1男 2女"` // 性别0未知 1男 2女
BirthDate *gtime.Time `json:"birthDate" orm:"birth_date" description:"生日"` // 生日
UserType string `json:"userType" orm:"user_type" description:"用户类型1 user 2 admin"` // 用户类型1 user 2 admin
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
RealityRole string `json:"realityRole" orm:"reality_role" description:"现实身份/角色"` // 现实身份/角色
AbnormalRole string `json:"abnormalRole" orm:"abnormal_role" description:"异常身份/角色"` // 异常身份/角色
JobTitle string `json:"jobTitle" orm:"job_title" description:"职位"` // 职位
Email string `json:"email" orm:"email" description:""` //
RedTrace int `json:"redTrace" orm:"red_trace" description:"红轨"` // 红轨
YellowTrace int `json:"yellowTrace" orm:"yellow_trace" description:"黄轨"` // 黄轨
BlueTrace int `json:"blueTrace" orm:"blue_trace" description:"蓝轨"` // 蓝轨
}