生成表结构、
This commit is contained in:
28
internal/model/do/admins.go
Normal file
28
internal/model/do/admins.go
Normal file
@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Admins is the golang structure of table admins for DAO operations like Where/Data.
|
||||
type Admins struct {
|
||||
g.Meta `orm:"table:admins, do:true"`
|
||||
Id interface{} // 管理员ID
|
||||
Username interface{} // 管理员用户名
|
||||
PasswordHash interface{} // 密码哈希
|
||||
RealName interface{} // 真实姓名
|
||||
Phone interface{} // 手机号
|
||||
Email interface{} // 邮箱
|
||||
Role interface{} // 角色:1=超级管理员,2=运营管理员,3=客服管理员,4=财务管理员
|
||||
Status interface{} // 状态:1=正常,2=禁用
|
||||
LastLoginAt *gtime.Time // 最后登录时间
|
||||
LastLoginIp interface{} // 最后登录IP
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
26
internal/model/do/competition_awards.go
Normal file
26
internal/model/do/competition_awards.go
Normal file
@ -0,0 +1,26 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// CompetitionAwards is the golang structure of table competition_awards for DAO operations like Where/Data.
|
||||
type CompetitionAwards struct {
|
||||
g.Meta `orm:"table:competition_awards, do:true"`
|
||||
Id interface{} // 赛事获奖ID
|
||||
CompetitionId interface{} // 赛事ID
|
||||
UserId interface{} // 获奖用户ID
|
||||
AwardRank interface{} // 获奖名次(1:冠军,2:亚军,3:季军,依次类推)
|
||||
RewardType interface{} // 奖励类型:1=平台奖励,2=门店奖励
|
||||
RewardId interface{} // 对应奖励ID
|
||||
Amount interface{} // 奖励数量
|
||||
IssuedAt *gtime.Time // 奖励发放时间
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间
|
||||
}
|
||||
23
internal/model/do/competition_participants.go
Normal file
23
internal/model/do/competition_participants.go
Normal file
@ -0,0 +1,23 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// CompetitionParticipants is the golang structure of table competition_participants for DAO operations like Where/Data.
|
||||
type CompetitionParticipants struct {
|
||||
g.Meta `orm:"table:competition_participants, do:true"`
|
||||
Id interface{} // 参赛记录ID
|
||||
CompetitionId interface{} // 赛事ID
|
||||
UserId interface{} // 参赛用户ID
|
||||
RegistrationTime *gtime.Time // 报名时间
|
||||
Status interface{} // 参赛状态:1=已报名,2=已取消,3=已禁赛
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间
|
||||
}
|
||||
29
internal/model/do/competitions.go
Normal file
29
internal/model/do/competitions.go
Normal file
@ -0,0 +1,29 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Competitions is the golang structure of table competitions for DAO operations like Where/Data.
|
||||
type Competitions struct {
|
||||
g.Meta `orm:"table:competitions, do:true"`
|
||||
Id interface{} // 赛事唯一标识符
|
||||
Name interface{} // 赛事名称
|
||||
Description interface{} // 赛事描述
|
||||
GameMode interface{} // 游戏模式
|
||||
Conditions interface{} // 赛事条件
|
||||
Rules interface{} // 赛事规则说明
|
||||
StartTime *gtime.Time // 赛事开始时间
|
||||
EndTime *gtime.Time // 赛事结束时间
|
||||
IsActive interface{} // 赛事是否启用
|
||||
MerchantId interface{} // 所属商户ID
|
||||
StoreId interface{} // 所属门店ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
25
internal/model/do/feedbacks.go
Normal file
25
internal/model/do/feedbacks.go
Normal file
@ -0,0 +1,25 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Feedbacks is the golang structure of table feedbacks for DAO operations like Where/Data.
|
||||
type Feedbacks struct {
|
||||
g.Meta `orm:"table:feedbacks, do:true"`
|
||||
Id interface{} // 反馈唯一标识符
|
||||
UserId interface{} // 提交者用户ID
|
||||
Title interface{} // 反馈标题
|
||||
Content interface{} // 反馈内容
|
||||
FeedbackType interface{} // 反馈类型:1=BUG,2=建议,3=投诉,4=其他
|
||||
Status interface{} // 处理状态:0=待处理,1=处理中,2=已处理,3=已驳回
|
||||
Reply interface{} // 管理员回复内容
|
||||
CreatedAt *gtime.Time // 反馈提交时间
|
||||
UpdatedAt *gtime.Time // 反馈更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
28
internal/model/do/merchant_admins.go
Normal file
28
internal/model/do/merchant_admins.go
Normal file
@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// MerchantAdmins is the golang structure of table merchant_admins for DAO operations like Where/Data.
|
||||
type MerchantAdmins struct {
|
||||
g.Meta `orm:"table:merchant_admins, do:true"`
|
||||
Id interface{} // 商户管理员ID
|
||||
MerchantId interface{} // 所属商户ID
|
||||
Username interface{} // 用户名
|
||||
PasswordHash interface{} // 密码哈希
|
||||
RealName interface{} // 真实姓名
|
||||
Phone interface{} // 手机号
|
||||
Email interface{} // 邮箱
|
||||
Role interface{} // 角色:1=超级管理员,2=普通管理员
|
||||
Status interface{} // 状态:1=正常,2=禁用
|
||||
LastLoginAt *gtime.Time // 最后登录时间
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
28
internal/model/do/merchants.go
Normal file
28
internal/model/do/merchants.go
Normal file
@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Merchants is the golang structure of table merchants for DAO operations like Where/Data.
|
||||
type Merchants struct {
|
||||
g.Meta `orm:"table:merchants, do:true"`
|
||||
Id interface{} // 商户ID
|
||||
Name interface{} // 商户名称
|
||||
BusinessLicense interface{} // 营业执照号
|
||||
LegalPerson interface{} // 法人姓名
|
||||
ContactName interface{} // 联系人姓名
|
||||
ContactPhone interface{} // 联系人电话
|
||||
ContactEmail interface{} // 联系人邮箱
|
||||
Address interface{} // 商户地址
|
||||
Status interface{} // 状态:1=正常,2=禁用,3=待审核
|
||||
ExpireAt *gtime.Time // 服务到期时间
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
26
internal/model/do/notices.go
Normal file
26
internal/model/do/notices.go
Normal file
@ -0,0 +1,26 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Notices is the golang structure of table notices for DAO operations like Where/Data.
|
||||
type Notices struct {
|
||||
g.Meta `orm:"table:notices, do:true"`
|
||||
Id interface{} // 通知ID
|
||||
Title interface{} // 通知标题
|
||||
Content interface{} // 通知内容
|
||||
Type interface{} // 通知类型:1=系统公告,2=活动通知,3=维护通知
|
||||
Status interface{} // 状态:0=关闭,1=发布
|
||||
VisibleTo interface{} // 可见范围:1=所有人,2=仅门店,3=仅用户
|
||||
MerchantId interface{} // 所属商户ID
|
||||
StoreId interface{} // 所属门店ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
28
internal/model/do/reward_distributions.go
Normal file
28
internal/model/do/reward_distributions.go
Normal file
@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// RewardDistributions is the golang structure of table reward_distributions for DAO operations like Where/Data.
|
||||
type RewardDistributions struct {
|
||||
g.Meta `orm:"table:reward_distributions, do:true"`
|
||||
Id interface{} // 奖励下发记录ID
|
||||
UserId interface{} // 接收奖励的用户ID
|
||||
TaskId interface{} // 触发该奖励的任务ID
|
||||
RewardId interface{} // 奖励ID
|
||||
RewardSource interface{} // 奖励来源:1=平台,2=门店
|
||||
Amount interface{} // 奖励数量
|
||||
StoreId interface{} // 所属门店ID
|
||||
Status interface{} // 发放状态:0=待发放,1=已发放,2=失败
|
||||
IssuedAt *gtime.Time // 实际发放时间
|
||||
Remark interface{} // 备注信息
|
||||
CreatedAt *gtime.Time // 记录创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
28
internal/model/do/store_admins.go
Normal file
28
internal/model/do/store_admins.go
Normal file
@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// StoreAdmins is the golang structure of table store_admins for DAO operations like Where/Data.
|
||||
type StoreAdmins struct {
|
||||
g.Meta `orm:"table:store_admins, do:true"`
|
||||
Id interface{} // 门店管理员ID
|
||||
StoreId interface{} // 所属门店ID
|
||||
Username interface{} // 用户名
|
||||
PasswordHash interface{} // 密码哈希
|
||||
RealName interface{} // 真实姓名
|
||||
Phone interface{} // 手机号
|
||||
Email interface{} // 邮箱
|
||||
Role interface{} // 角色:1=店长,2=收银员,3=网管
|
||||
Status interface{} // 状态:1=正常,2=禁用
|
||||
LastLoginAt *gtime.Time // 最后登录时间
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
25
internal/model/do/store_rewards.go
Normal file
25
internal/model/do/store_rewards.go
Normal file
@ -0,0 +1,25 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// StoreRewards is the golang structure of table store_rewards for DAO operations like Where/Data.
|
||||
type StoreRewards struct {
|
||||
g.Meta `orm:"table:store_rewards, do:true"`
|
||||
Id interface{} // 门店奖励ID
|
||||
StoreId interface{} // 所属门店ID
|
||||
RewardType interface{} // 奖励类型:1=积分,2=优惠券,3=商品,4=抽奖券
|
||||
RewardName interface{} // 奖励名称
|
||||
Amount interface{} // 奖励数量
|
||||
Total interface{} // 该奖励总库存(NULL 表示无限)
|
||||
MerchantId interface{} // 所属商户ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
23
internal/model/do/store_task_rewards.go
Normal file
23
internal/model/do/store_task_rewards.go
Normal file
@ -0,0 +1,23 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// StoreTaskRewards is the golang structure of table store_task_rewards for DAO operations like Where/Data.
|
||||
type StoreTaskRewards struct {
|
||||
g.Meta `orm:"table:store_task_rewards, do:true"`
|
||||
Id interface{} // 门店奖励记录ID
|
||||
StoreId interface{} // 门店ID
|
||||
TaskId interface{} // 任务ID
|
||||
StoreRewardId interface{} // 门店奖励ID
|
||||
IsEnabled interface{} // 是否启用
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
27
internal/model/do/stores.go
Normal file
27
internal/model/do/stores.go
Normal file
@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Stores is the golang structure of table stores for DAO operations like Where/Data.
|
||||
type Stores struct {
|
||||
g.Meta `orm:"table:stores, do:true"`
|
||||
Id interface{} // 门店ID
|
||||
MerchantId interface{} // 所属商户ID
|
||||
Name interface{} // 门店名称
|
||||
StoreCode interface{} // 门店编号
|
||||
Address interface{} // 门店地址
|
||||
ContactName interface{} // 联系人姓名
|
||||
ContactPhone interface{} // 联系人电话
|
||||
BusinessHours interface{} // 营业时间
|
||||
Status interface{} // 状态:1=正常营业,2=暂停营业,3=已关闭
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
35
internal/model/do/system_operation_logs.go
Normal file
35
internal/model/do/system_operation_logs.go
Normal file
@ -0,0 +1,35 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SystemOperationLogs is the golang structure of table system_operation_logs for DAO operations like Where/Data.
|
||||
type SystemOperationLogs struct {
|
||||
g.Meta `orm:"table:system_operation_logs, do:true"`
|
||||
Id interface{} // 日志ID
|
||||
OperatorType interface{} // 操作者类型:1=系统管理员,2=商户管理员,3=门店管理员,4=普通用户
|
||||
OperatorId interface{} // 操作者ID
|
||||
MerchantId interface{} // 所属商户ID
|
||||
StoreId interface{} // 所属门店ID
|
||||
Module interface{} // 操作模块
|
||||
Action interface{} // 操作类型
|
||||
TargetType interface{} // 操作对象类型
|
||||
TargetId interface{} // 操作对象ID
|
||||
Content interface{} // 操作内容描述
|
||||
RequestMethod interface{} // 请求方法
|
||||
RequestUrl interface{} // 请求URL
|
||||
RequestParams interface{} // 请求参数
|
||||
ResponseCode interface{} // 响应状态码
|
||||
ResponseMessage interface{} // 响应信息
|
||||
IpAddress interface{} // 操作IP地址
|
||||
UserAgent interface{} // 用户代理信息
|
||||
CreatedAt *gtime.Time // 操作时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
20
internal/model/do/tasks.go
Normal file
20
internal/model/do/tasks.go
Normal file
@ -0,0 +1,20 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Tasks is the golang structure of table tasks for DAO operations like Where/Data.
|
||||
type Tasks struct {
|
||||
g.Meta `orm:"table:tasks, do:true"`
|
||||
Id interface{} // 任务ID
|
||||
QqTaskId interface{} // QQ网吧任务ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
28
internal/model/do/user_login_records.go
Normal file
28
internal/model/do/user_login_records.go
Normal file
@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// UserLoginRecords is the golang structure of table user_login_records for DAO operations like Where/Data.
|
||||
type UserLoginRecords struct {
|
||||
g.Meta `orm:"table:user_login_records, do:true"`
|
||||
Id interface{} // 记录ID
|
||||
UserId interface{} // 用户ID
|
||||
StoreId interface{} // 登录门店ID
|
||||
MerchantId interface{} // 所属商户ID
|
||||
LoginIp interface{} // 登录IP地址
|
||||
LoginDevice interface{} // 登录设备信息
|
||||
LoginPlatform interface{} // 登录平台:1=Web,2=iOS,3=Android,4=微信小程序,5=支付宝小程序,6=其他
|
||||
LoginType interface{} // 登录方式:1=微信,2=手机号,3=账号密码,4=其他
|
||||
LoginStatus interface{} // 登录状态:1=成功,2=失败
|
||||
FailReason interface{} // 失败原因
|
||||
CreatedAt *gtime.Time // 登录时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
25
internal/model/do/user_task_records.go
Normal file
25
internal/model/do/user_task_records.go
Normal file
@ -0,0 +1,25 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// UserTaskRecords is the golang structure of table user_task_records for DAO operations like Where/Data.
|
||||
type UserTaskRecords struct {
|
||||
g.Meta `orm:"table:user_task_records, do:true"`
|
||||
Id interface{} // 任务记录ID
|
||||
UserId interface{} // 用户ID
|
||||
TaskId interface{} // 任务ID
|
||||
Status interface{} // 任务状态:0=未开始,1=进行中,2=已完成,3=已领取奖励
|
||||
Progress interface{} // 任务进度
|
||||
FinishedAt *gtime.Time // 完成时间
|
||||
RewardReceivedAt *gtime.Time // 领取奖励时间
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间
|
||||
}
|
||||
30
internal/model/do/users.go
Normal file
30
internal/model/do/users.go
Normal file
@ -0,0 +1,30 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Users is the golang structure of table users for DAO operations like Where/Data.
|
||||
type Users struct {
|
||||
g.Meta `orm:"table:users, do:true"`
|
||||
Id interface{} // 用户唯一标识符
|
||||
WxOpenId interface{} // 微信 OpenID
|
||||
Username interface{} // 用户名
|
||||
Nickname interface{} // 昵称
|
||||
Avatar interface{} // 用户头像URL
|
||||
PasswordHash interface{} // 密码哈希
|
||||
Email interface{} // 邮箱地址
|
||||
PhoneNumber interface{} // 手机号
|
||||
WxPopenId interface{} // 微信 PopenID
|
||||
QqPopenId interface{} // QQ PopenID
|
||||
FirstVisitAt *gtime.Time // 首次访问时间
|
||||
LastLoginAt *gtime.Time // 最后登录时间
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间
|
||||
}
|
||||
Reference in New Issue
Block a user