调整表结构
This commit is contained in:
@ -1,26 +0,0 @@
|
||||
// =================================================================================
|
||||
// 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 // 软删除时间
|
||||
}
|
||||
@ -1,23 +0,0 @@
|
||||
// =================================================================================
|
||||
// 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 // 软删除时间
|
||||
}
|
||||
@ -1,29 +0,0 @@
|
||||
// =================================================================================
|
||||
// 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 // 软删除时间戳
|
||||
}
|
||||
@ -1,28 +0,0 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// Menus is the golang structure of table menus for DAO operations like Where/Data.
|
||||
type Menus struct {
|
||||
g.Meta `orm:"table:menus, do:true"`
|
||||
Id interface{} // 菜单ID
|
||||
ParentId interface{} // 父级菜单ID
|
||||
Name interface{} // 菜单名称
|
||||
Path interface{} // 前端路由路径
|
||||
Component interface{} // 前端组件路径
|
||||
Type interface{} // 类型:1=目录(父级菜单),2=菜单(功能页面)
|
||||
Icon interface{} // 图标
|
||||
Sort interface{} // 排序
|
||||
Hidden interface{} // 是否隐藏:0=显示,1=隐藏
|
||||
Status interface{} // 状态:1=启用,2=禁用
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
@ -33,4 +33,5 @@ type Merchants struct {
|
||||
AuditAt *gtime.Time // 审核时间
|
||||
AuditRemark interface{} // 审核备注
|
||||
RejectReason interface{} // 拒绝原因
|
||||
MerchantCode interface{} // 商户编号
|
||||
}
|
||||
|
||||
@ -1,26 +0,0 @@
|
||||
// =================================================================================
|
||||
// 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 // 软删除时间戳
|
||||
}
|
||||
@ -1,28 +0,0 @@
|
||||
// =================================================================================
|
||||
// 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 // 软删除时间戳
|
||||
}
|
||||
@ -1,21 +0,0 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// RoleMenus is the golang structure of table role_menus for DAO operations like Where/Data.
|
||||
type RoleMenus struct {
|
||||
g.Meta `orm:"table:role_menus, do:true"`
|
||||
Id interface{} // ID
|
||||
RoleId interface{} // 角色ID
|
||||
MenuId interface{} // 菜单ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
@ -1,25 +0,0 @@
|
||||
// =================================================================================
|
||||
// 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
|
||||
RewardTypeId interface{} // 奖励类型ID
|
||||
RewardName interface{} // 奖励名称
|
||||
Amount interface{} // 奖励数量
|
||||
Total interface{} // 该奖励总库存(NULL 表示无限)
|
||||
MerchantId interface{} // 所属商户ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
@ -1,23 +0,0 @@
|
||||
// =================================================================================
|
||||
// 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 // 软删除时间戳
|
||||
}
|
||||
@ -1,35 +0,0 @@
|
||||
// =================================================================================
|
||||
// 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 // 软删除时间戳
|
||||
}
|
||||
@ -1,20 +0,0 @@
|
||||
// =================================================================================
|
||||
// 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 // 软删除时间戳
|
||||
}
|
||||
@ -1,26 +0,0 @@
|
||||
// =================================================================================
|
||||
// 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
|
||||
LoginIp interface{} // 登录IP地址
|
||||
LoginPlatform interface{} // 登录平台:1=PC
|
||||
LoginType interface{} // 登录方式:1=微信,2=手机号,3=账号密码,4=其他
|
||||
LoginStatus interface{} // 登录状态:1=成功,2=失败
|
||||
FailReason interface{} // 失败原因
|
||||
CreatedAt *gtime.Time // 登录时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
@ -1,25 +0,0 @@
|
||||
// =================================================================================
|
||||
// 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{} // 任务状态:1=未开始,2=进行中,3=已完成,4=已领取奖励
|
||||
Progress interface{} // 任务进度
|
||||
FinishedAt *gtime.Time // 完成时间
|
||||
RewardReceivedAt *gtime.Time // 领取奖励时间
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间
|
||||
}
|
||||
Reference in New Issue
Block a user