chore: 初始开源发布
iotlcm-admin-svr:管理后台服务。 - Go module:iotlcm → git.5iot.com/iotlcm-public/iotlcm-admin-svr(729 文件) - 凭据与地址脱敏:JWT signingKey(含代码里的 MustGet 默认值)、 MySQL DSN、Redis 口令、告警邮件发件人邮箱全部改为占位; 私网 IP → 文档地址段;库名 xiujie_admin → iotlcm - 真实手机号/邮箱 → 合法 11 位编造号 / example.com - 移除内部资产:CI 触发器、过时 DDL(sql/db_iotlcm.sql)、 私有依赖 go get 行、明文 registry 登录口令 - 启动 banner 统一 IOTLCM 方块字 + 社区惯例署名 - Dockerfile 改用公共基础镜像 - 拼错的 RADEME.md → README.md,README 重写 - 需要真实数据库的用例改为可用 IOTLCM_TEST_WITH_DB=1 显式启用 - 补 Apache-2.0 LICENSE,LF 行尾 + .gitattributes 数据库 schema 不随本仓发布(生产 DDL 已过时),README 已说明。
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// BatchDetail is the golang structure of table batch_detail for DAO operations like Where/Data.
|
||||
type BatchDetail struct {
|
||||
g.Meta `orm:"table:batch_detail, do:true"`
|
||||
Id any // 主键ID
|
||||
BatchNo any // 批次编号
|
||||
BatchType any // 批次类型 枚举(与主表一致)
|
||||
DetailStatus any // 明细异步处理状态 0-待处理 1-处理中 2-成功 3-失败
|
||||
BlankOutStatus any // 作废状态 0-是 1-否
|
||||
RowNo any // 行号
|
||||
ItemId any // 项ID:卡ICCID/设备编码
|
||||
ErrorCode any // 异常编码
|
||||
ErrorReason any // 异常原因
|
||||
Snapshot *gjson.Json // 信息快照
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// BatchMain is the golang structure of table batch_main for DAO operations like Where/Data.
|
||||
type BatchMain struct {
|
||||
g.Meta `orm:"table:batch_main, do:true"`
|
||||
Id any // 主键ID
|
||||
BatchNo any // 批次编号
|
||||
OrderSn any // 订单编号
|
||||
BatchType any // 批次类型 枚举
|
||||
BatchStatus any // 批次状态 枚举
|
||||
BatchAsyncStatus any // 异步处理状态
|
||||
SourceType any // 来源方式 枚举
|
||||
SourceBatchNo any // 来源批次编号
|
||||
SourceOssId any // 源文件OSS ID
|
||||
ResultOssId any // 结果文件OSS ID
|
||||
IsCrossDept any // 是否跨级操作机构
|
||||
TargetDeptId any // 目标机构编号
|
||||
DeptId any // 机构编号
|
||||
TotalCount any // 总数量
|
||||
ValidCount any // 有效数量
|
||||
SuccessCount any // 成功数量
|
||||
FailCount any // 失败数量
|
||||
RunResult any // 运行结果
|
||||
FailReason any // 失败原因
|
||||
BatchInfo *gjson.Json // 批次信息:入库/出库展示字段
|
||||
Remark *gjson.Json // 备注扩展字段
|
||||
StartTime *gtime.Time // 开始时间
|
||||
EndTime *gtime.Time // 结束时间
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
SourceChannel any // 发起渠道:console/mini_program/api/system/legacy
|
||||
ExecutionMode any // 操作规模:0未知1单卡2批量
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// SysClient is the golang structure of table sys_client for DAO operations like Where/Data.
|
||||
type SysClient struct {
|
||||
g.Meta `orm:"table:sys_client, do:true"`
|
||||
Id any // id
|
||||
ClientId any // 客户端id
|
||||
ClientKey any // 客户端key
|
||||
ClientSecret any // 客户端秘钥
|
||||
GrantType any // 授权类型
|
||||
DeviceType any // 设备类型
|
||||
ActiveTimeout any // token活跃超时时间
|
||||
Timeout any // token固定超时
|
||||
Status any // 状态(0正常 1停用)
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedBy any // 删除人
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// SysConfig is the golang structure of table sys_config for DAO operations like Where/Data.
|
||||
type SysConfig struct {
|
||||
g.Meta `orm:"table:sys_config, do:true"`
|
||||
ConfigId any // 参数主键
|
||||
TenantId any // 租户编号
|
||||
ConfigName any // 参数名称
|
||||
ConfigKey any // 参数键名
|
||||
ConfigValue any // 参数键值
|
||||
ConfigType any // 系统内置(Y是 N否)
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
Remark any // 备注
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// SysDept is the golang structure of table sys_dept for DAO operations like Where/Data.
|
||||
type SysDept struct {
|
||||
g.Meta `orm:"table:sys_dept, do:true"`
|
||||
DeptId any // 部门id
|
||||
TenantId any // 租户编号
|
||||
ParentId any // 父部门id
|
||||
Ancestors any // 祖级列表
|
||||
DeptKey any // 机构编号
|
||||
DeptName any // 部门名称
|
||||
DeptType any // 部门类型(0:部门 1:公司)
|
||||
DeptCategory any // 部门类别编码
|
||||
OrderNum any // 显示顺序
|
||||
Leader any // 负责人
|
||||
Phone any // 联系电话
|
||||
Email any // 邮箱
|
||||
Status any // 部门状态(0正常 1停用)
|
||||
CreditCode any // 统一社会信用代码
|
||||
AreaCode any // 行政区域代码
|
||||
Address any // 地址
|
||||
DeptRole any // 机构默认角色ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedBy any // 删除人
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// SysDictData is the golang structure of table sys_dict_data for DAO operations like Where/Data.
|
||||
type SysDictData struct {
|
||||
g.Meta `orm:"table:sys_dict_data, do:true"`
|
||||
DictCode any // 字典编码
|
||||
TenantId any // 租户编号
|
||||
DictSort any // 字典排序
|
||||
DictLabel any // 字典标签
|
||||
DictValue any // 字典键值
|
||||
DictType any // 字典类型
|
||||
CssClass any // 样式属性(其他样式扩展)
|
||||
ListClass any // 表格回显样式
|
||||
IsDefault any // 是否默认(Y是 N否)
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
Remark any // 备注
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// SysDictType is the golang structure of table sys_dict_type for DAO operations like Where/Data.
|
||||
type SysDictType struct {
|
||||
g.Meta `orm:"table:sys_dict_type, do:true"`
|
||||
DictId any // 字典主键
|
||||
TenantId any // 租户编号
|
||||
DictName any // 字典名称
|
||||
DictType any // 字典类型
|
||||
IsSys any // 是否系统(0是 1否)
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
Remark any // 备注
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// SysGenTable is the golang structure of table sys_gen_table for DAO operations like Where/Data.
|
||||
type SysGenTable struct {
|
||||
g.Meta `orm:"table:sys_gen_table, do:true"`
|
||||
TableId any // 生成ID
|
||||
GenType any // 生成类型
|
||||
GenTemplate any // 生成模板
|
||||
VarName any // 实体命名
|
||||
Options any // 配置选项
|
||||
DbName any // 数据库名称
|
||||
TableName any // 主表名称
|
||||
TableComment any // 主表注释
|
||||
DaoName any // 主表dao模型
|
||||
MasterColumns any // 主表字段
|
||||
AddonName any // 插件名称
|
||||
Status any // 生成状态(0成功 1未开始)
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// SysJob is the golang structure of table sys_job for DAO operations like Where/Data.
|
||||
type SysJob struct {
|
||||
g.Meta `orm:"table:sys_job, do:true"`
|
||||
JobId any // 任务ID
|
||||
JobName any // 任务名称
|
||||
JobParams any // 参数
|
||||
JobGroup any // 任务组名
|
||||
InvokeTarget any // 调用目标字符串
|
||||
CronExpression any // cron执行表达式
|
||||
MisfirePolicy any // 计划执行策略(1多次执行 2执行一次)
|
||||
Concurrent any // 是否并发执行(0允许 1禁止)
|
||||
Status any // 状态(0正常 1暂停)
|
||||
Remark any // 备注信息
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedBy any // 删除人
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// SysLogininfor is the golang structure of table sys_logininfor for DAO operations like Where/Data.
|
||||
type SysLogininfor struct {
|
||||
g.Meta `orm:"table:sys_logininfor, do:true"`
|
||||
InfoId any // 访问ID
|
||||
TenantId any // 租户编号
|
||||
UserName any // 用户账号
|
||||
ClientKey any // 客户端
|
||||
DeviceType any // 设备类型
|
||||
Ipaddr any // 登录IP地址
|
||||
LoginLocation any // 登录地点
|
||||
Browser any // 浏览器类型
|
||||
Os any // 操作系统
|
||||
Status any // 登录状态(0成功 1失败)
|
||||
Msg any // 提示消息
|
||||
LoginTime *gtime.Time // 访问时间
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// SysMenu is the golang structure of table sys_menu for DAO operations like Where/Data.
|
||||
type SysMenu struct {
|
||||
g.Meta `orm:"table:sys_menu, do:true"`
|
||||
MenuId any // 菜单ID
|
||||
MenuName any // 菜单名称
|
||||
ParentId any // 父菜单ID
|
||||
Level any // 关系树等级
|
||||
Tree any // 关系树
|
||||
OrderNum any // 显示顺序
|
||||
Path any // 路由地址
|
||||
Component any // 组件路径
|
||||
QueryParam any // 路由参数
|
||||
IsFrame any // 是否为外链(0是 1否)
|
||||
IsCache any // 是否缓存(0缓存 1不缓存)
|
||||
MenuType any // 菜单类型(M目录 C菜单 F按钮)
|
||||
Visible any // 显示状态(0显示 1隐藏)
|
||||
Status any // 菜单状态(0正常 1停用)
|
||||
Perms any // 权限标识
|
||||
Icon any // 菜单图标
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
Remark any // 备注
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// SysNotice is the golang structure of table sys_notice for DAO operations like Where/Data.
|
||||
type SysNotice struct {
|
||||
g.Meta `orm:"table:sys_notice, do:true"`
|
||||
NoticeId any // 公告ID
|
||||
TenantId any // 租户编号
|
||||
NoticeTitle any // 公告标题
|
||||
NoticeType any // 公告类型(1通知 2公告)
|
||||
NoticeContent []byte // 公告内容
|
||||
Status any // 公告状态(0正常 1关闭)
|
||||
NoticeRange any // 通知范围(1全员 2指定机构 3指定用户)
|
||||
DeptIds any // 通知机构ID列表JSON
|
||||
UserIds any // 通知用户ID列表JSON
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
Remark any // 备注
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// SysNoticeUser is the golang structure of table sys_notice_user for DAO operations like Where/Data.
|
||||
type SysNoticeUser struct {
|
||||
g.Meta `orm:"table:sys_notice_user, do:true"`
|
||||
Id interface{} // ID
|
||||
NoticeId interface{} // 公告ID
|
||||
TenantId interface{} // 租户编号
|
||||
NoticeTitle interface{} // 公告标题
|
||||
NoticeType interface{} // 公告类型(1通知 2公告)
|
||||
NoticeContent []byte // 公告内容
|
||||
Status interface{} // 公告状态(0正常 1关闭)
|
||||
UserId interface{} // 用户ID
|
||||
IsRead interface{} // 是否已读(0未读 1已读)
|
||||
CreatedDept interface{} // 创建部门
|
||||
CreatedBy interface{} // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy interface{} // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
Remark interface{} // 备注
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// SysOperLog is the golang structure of table sys_oper_log for DAO operations like Where/Data.
|
||||
type SysOperLog struct {
|
||||
g.Meta `orm:"table:sys_oper_log, do:true"`
|
||||
OperId any // 日志主键
|
||||
TenantId any // 租户编号
|
||||
Title any // 模块标题
|
||||
BusinessType any // 业务类型(0其它 1新增 2修改 3删除)
|
||||
Method any // 方法名称
|
||||
RequestMethod any // 请求方式
|
||||
OperatorType any // 操作类别(0其它 1后台用户 2手机端用户)
|
||||
OperName any // 操作人员
|
||||
DeptName any // 部门名称
|
||||
OperUrl any // 请求URL
|
||||
OperIp any // 主机地址
|
||||
OperLocation any // 操作地点
|
||||
OperParam any // 请求参数
|
||||
JsonResult any // 返回参数
|
||||
Status any // 操作状态(0正常 1异常)
|
||||
ErrorMsg any // 错误消息
|
||||
OperTime *gtime.Time // 操作时间
|
||||
CostTime any // 消耗时间
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// SysOss is the golang structure of table sys_oss for DAO operations like Where/Data.
|
||||
type SysOss struct {
|
||||
g.Meta `orm:"table:sys_oss, do:true"`
|
||||
OssId any // 对象存储主键
|
||||
TenantId any // 租户编号
|
||||
FileName any // 文件名
|
||||
OriginalName any // 原名
|
||||
FileSuffix any // 文件后缀名
|
||||
Path any // 存储路径
|
||||
Url any // URL地址
|
||||
CreatedDept any // 创建部门
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
CreatedBy any // 创建者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
UpdatedBy any // 更新者
|
||||
Service any // 服务商
|
||||
Md5 any // 文件MD5
|
||||
FileSize any // 文件大小
|
||||
FileCrc16 any // 文件Crc16
|
||||
FileSum any // 文件校验和
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// SysOssConfig is the golang structure of table sys_oss_config for DAO operations like Where/Data.
|
||||
type SysOssConfig struct {
|
||||
g.Meta `orm:"table:sys_oss_config, do:true"`
|
||||
OssConfigId any // 主键
|
||||
TenantId any // 租户编号
|
||||
ConfigKey any // 配置key
|
||||
AccessKey any // accessKey
|
||||
SecretKey any // 秘钥
|
||||
BucketName any // 桶名称
|
||||
Prefix any // 前缀
|
||||
Endpoint any // 访问站点
|
||||
Domain any // 自定义域名
|
||||
IsHttps any // 是否https(Y=是,N=否)
|
||||
Region any // 域
|
||||
AccessPolicy any // 桶权限类型(0=private 1=public 2=custom)
|
||||
Status any // 是否默认(0=是,1=否)
|
||||
Ext1 any // 扩展字段
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
Remark any // 备注
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// SysPost is the golang structure of table sys_post for DAO operations like Where/Data.
|
||||
type SysPost struct {
|
||||
g.Meta `orm:"table:sys_post, do:true"`
|
||||
PostId any // 岗位ID
|
||||
TenantId any // 租户编号
|
||||
DeptId any // 部门id
|
||||
PostCode any // 岗位编码
|
||||
PostCategory any // 岗位类别编码
|
||||
PostName any // 岗位名称
|
||||
PostSort any // 显示顺序
|
||||
Status any // 状态(0正常 1停用)
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedBy any // 删除人
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
Remark any // 备注
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// SysRole is the golang structure of table sys_role for DAO operations like Where/Data.
|
||||
type SysRole struct {
|
||||
g.Meta `orm:"table:sys_role, do:true"`
|
||||
RoleId any // 角色ID
|
||||
TenantId any // 租户编号
|
||||
DeptId any // 部门机构id
|
||||
RoleName any // 角色名称
|
||||
RoleKey any // 角色权限字符串
|
||||
RoleSort any // 显示顺序
|
||||
DataScope any // 数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限 5:仅本人数据权限 6:仅本人数据权限 7:本组织及下一级数据权限
|
||||
MenuCheckStrictly any // 菜单树选择项是否关联显示
|
||||
DeptCheckStrictly any // 部门树选择项是否关联显示
|
||||
Status any // 角色状态(0正常 1停用)
|
||||
IsPass any // 是否传递数据权限(0:传递 1:不传递)
|
||||
SourceRoleId any // 来源角色ID
|
||||
SourceDeptId any // 来源组织ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedBy any // 删除人
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
Remark any // 备注
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// SysRoleDept is the golang structure of table sys_role_dept for DAO operations like Where/Data.
|
||||
type SysRoleDept struct {
|
||||
g.Meta `orm:"table:sys_role_dept, do:true"`
|
||||
TenantId any // 租户编号
|
||||
RoleId any // 角色ID
|
||||
DeptId any // 部门ID
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// SysRoleMenu is the golang structure of table sys_role_menu for DAO operations like Where/Data.
|
||||
type SysRoleMenu struct {
|
||||
g.Meta `orm:"table:sys_role_menu, do:true"`
|
||||
TenantId any // 租户编号
|
||||
RoleId any // 角色ID
|
||||
MenuId any // 菜单ID
|
||||
DataScope any // 数据范围(0按角色数据权限 1全部数据权限 3本部门数据权限 4本部门及以下数据权限 5仅本人数据权限 6本部门及以下或本人数据权限 7本组织及本组织下一级数据权限 8本组织下一级数据权限)
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// SysSocial is the golang structure of table sys_social for DAO operations like Where/Data.
|
||||
type SysSocial struct {
|
||||
g.Meta `orm:"table:sys_social, do:true"`
|
||||
Id any // 主键
|
||||
UserId any // 用户ID
|
||||
TenantId any // 租户id
|
||||
AuthId any // 平台+平台唯一id
|
||||
Source any // 用户来源
|
||||
OpenId any // 平台编号唯一id
|
||||
UserName any // 登录账号
|
||||
NickName any // 用户昵称
|
||||
Email any // 用户邮箱
|
||||
Avatar any // 头像地址
|
||||
AccessToken any // 用户的授权令牌
|
||||
ExpireIn any // 用户的授权令牌的有效期,部分平台可能没有
|
||||
RefreshToken any // 刷新令牌,部分平台可能没有
|
||||
AccessCode any // 平台的授权信息,部分平台可能没有
|
||||
UnionId any // 用户的 unionid
|
||||
Scope any // 授予的权限,部分平台可能没有
|
||||
TokenType any // 个别平台的授权信息,部分平台可能没有
|
||||
IdToken any // id token,部分平台可能没有
|
||||
MacAlgorithm any // 小米平台用户的附带属性,部分平台可能没有
|
||||
MacKey any // 小米平台用户的附带属性,部分平台可能没有
|
||||
Code any // 用户的授权code,部分平台可能没有
|
||||
OauthToken any // Twitter平台用户的附带属性,部分平台可能没有
|
||||
OauthTokenSecret any // Twitter平台用户的附带属性,部分平台可能没有
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedBy any // 删除人
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// SysTenant is the golang structure of table sys_tenant for DAO operations like Where/Data.
|
||||
type SysTenant struct {
|
||||
g.Meta `orm:"table:sys_tenant, do:true"`
|
||||
Id any // id
|
||||
TenantId any // 租户编号
|
||||
ContactUserName any // 联系人
|
||||
ContactPhone any // 联系电话
|
||||
CompanyName any // 企业名称
|
||||
LicenseNumber any // 统一社会信用代码
|
||||
Address any // 地址
|
||||
Intro any // 企业简介
|
||||
Domain any // 域名
|
||||
Remark any // 备注
|
||||
PackageId any // 租户套餐编号
|
||||
AdminRoleId any // 管理员角色ID
|
||||
AdminDeptId any // 管理员部门ID
|
||||
AdminUserId any // 管理员用户ID
|
||||
ExpireTime *gtime.Time // 过期时间
|
||||
AccountCount any // 用户数量(-1不限制)
|
||||
Status any // 租户状态(0正常 1停用)
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedBy any // 删除人
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// SysTenantPackage is the golang structure of table sys_tenant_package for DAO operations like Where/Data.
|
||||
type SysTenantPackage struct {
|
||||
g.Meta `orm:"table:sys_tenant_package, do:true"`
|
||||
PackageId any // 租户套餐id
|
||||
PackageName any // 套餐名称
|
||||
MenuIds any // 关联菜单id
|
||||
Remark any // 备注
|
||||
MenuCheckStrictly any // 菜单树选择项是否关联显示
|
||||
Status any // 状态(0正常 1停用)
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedBy any // 删除人
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// SysUser is the golang structure of table sys_user for DAO operations like Where/Data.
|
||||
type SysUser struct {
|
||||
g.Meta `orm:"table:sys_user, do:true"`
|
||||
UserId any // 用户ID
|
||||
TenantId any // 租户编号
|
||||
DeptId any // 部门ID
|
||||
UserName any // 用户账号
|
||||
NickName any // 用户昵称
|
||||
UserType any // 用户类型(sys_user系统用户)
|
||||
Email any // 用户邮箱
|
||||
Phonenumber any // 手机号码
|
||||
Sex any // 用户性别(0男 1女 2未知)
|
||||
Avatar any // 头像地址
|
||||
Salt any // 加密盐
|
||||
Password any // 密码
|
||||
IsInitPassword any // 当前密码是否未由用户本人设置(1=初始或管理员临时密码 0=用户已自设)
|
||||
Status any // 帐号状态(0正常 1停用)
|
||||
LoginIp any // 最后登录IP
|
||||
LoginDate *gtime.Time // 最后登录时间
|
||||
MfaEnabled any // 是否开启邮箱MFA 0否 1是
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedBy any // 删除人
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
Remark any // 备注
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// SysUserOnline is the golang structure of table sys_user_online for DAO operations like Where/Data.
|
||||
type SysUserOnline struct {
|
||||
g.Meta `orm:"table:sys_user_online, do:true"`
|
||||
OnlineId any // 访问ID
|
||||
TenantId any // 租户编号
|
||||
Uuid any // UUID
|
||||
UserName any // 用户账号
|
||||
ClientKey any // 客户端
|
||||
DeviceType any // 设备类型
|
||||
Ipaddr any // 登录IP地址
|
||||
LoginLocation any // 登录地点
|
||||
Browser any // 浏览器类型
|
||||
Os any // 操作系统
|
||||
Token any // Token
|
||||
LoginTime *gtime.Time // 访问时间
|
||||
ExpireTime *gtime.Time // 过期时间
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// SysUserPost is the golang structure of table sys_user_post for DAO operations like Where/Data.
|
||||
type SysUserPost struct {
|
||||
g.Meta `orm:"table:sys_user_post, do:true"`
|
||||
TenantId any // 租户编号
|
||||
UserId any // 用户ID
|
||||
PostId any // 岗位ID
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// SysUserRole is the golang structure of table sys_user_role for DAO operations like Where/Data.
|
||||
type SysUserRole struct {
|
||||
g.Meta `orm:"table:sys_user_role, do:true"`
|
||||
TenantId any // 租户编号
|
||||
UserId any // 用户ID
|
||||
RoleId any // 角色ID
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// TAgentBalance is the golang structure of table t_agent_balance for DAO operations like Where/Data.
|
||||
type TAgentBalance struct {
|
||||
g.Meta `orm:"table:t_agent_balance, do:true"`
|
||||
Id any // 账户ID
|
||||
DeptId any // 机构ID
|
||||
Balance any // 账户余额
|
||||
WithdrawAmount any // 可提现金额
|
||||
WithdrawAmountStatus any // 可提现金额状态: 1-正常, 0-冻结
|
||||
InvoiceAmount any // 已开票金额
|
||||
CanInvoiceAmount any // 可开票金额
|
||||
CreditLimit any // 信用额度
|
||||
UsedCredit any // 已使用信用额度
|
||||
PendingRepayment any // 待还款金额
|
||||
Status any // 状态: 0-正常, 1-禁用
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// TAgentEnterprise is the golang structure of table t_agent_enterprise for DAO operations like Where/Data.
|
||||
type TAgentEnterprise struct {
|
||||
g.Meta `orm:"table:t_agent_enterprise, do:true"`
|
||||
Id any // 主键ID
|
||||
DeptId any // 部门机构id
|
||||
FullName any // 单位全称
|
||||
Industry any // 行业
|
||||
LegalPersonName any // 法人名称
|
||||
LegalPersonIdCard any // 法人身份证号
|
||||
CompanyType any // 单位类型
|
||||
EstablishTime *gtime.Time // 单位成立时间
|
||||
BankName any // 开户行名称
|
||||
BankAccount any // 开户行账号
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// TApi is the golang structure of table t_api for DAO operations like Where/Data.
|
||||
type TApi struct {
|
||||
g.Meta `orm:"table:t_api, do:true"`
|
||||
Id any // ID
|
||||
AppKey any // APPKey
|
||||
AppSecret any // APPSecret
|
||||
GroupId any // 权限组ID
|
||||
Status any // 状态:0启用,1停用
|
||||
RateLimitPeriod any // 限流周期(秒,0:不限流)
|
||||
RateLimitCount any // 限流次数
|
||||
DeptId any // 所属机构
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// TApiGroup is the golang structure of table t_api_group for DAO operations like Where/Data.
|
||||
type TApiGroup struct {
|
||||
g.Meta `orm:"table:t_api_group, do:true"`
|
||||
Id any // 主键ID
|
||||
GroupName any // 权限组名称
|
||||
GroupCode any // 权限组编码
|
||||
Status any // 状态:0启用,1停用
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// TApiGroupResource is the golang structure of table t_api_group_resource for DAO operations like Where/Data.
|
||||
type TApiGroupResource struct {
|
||||
g.Meta `orm:"table:t_api_group_resource, do:true"`
|
||||
GroupId any // 权限组ID,对应t_api_group.id
|
||||
ApiId any // 开放接口资源ID,对应t_api_resource.id
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// TApiResource is the golang structure of table t_api_resource for DAO operations like Where/Data.
|
||||
type TApiResource struct {
|
||||
g.Meta `orm:"table:t_api_resource, do:true"`
|
||||
Id any // 主键ID
|
||||
ApiName any // 接口名称
|
||||
ApiCode any // 接口权限标识
|
||||
Method any // 请求方法:GET/POST/PUT/DELETE
|
||||
Path any // 接口路径
|
||||
Status any // 状态:0启用,1停用
|
||||
Version any // 接口版本
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// TBalanceDetail is the golang structure of table t_balance_detail for DAO operations like Where/Data.
|
||||
type TBalanceDetail struct {
|
||||
g.Meta `orm:"table:t_balance_detail, do:true"`
|
||||
Id any // 明细ID
|
||||
DeptId any // 账户ID
|
||||
SerialNo any // 流水号
|
||||
TransactionTime *gtime.Time // 交易时间
|
||||
IncomeExpenseType any // 收支类型: 0收入,1支出
|
||||
TransactionType any // 交易类型:0充值 1消费 2转可提现 3可提现转入 4人工调整
|
||||
TransactionChannel any // 交易渠道:1支付宝 2微信 3余额
|
||||
TransactionStatus any // 交易状态:0待支付、1已支付、2已过期、3交易失败
|
||||
Amount any // 交易金额
|
||||
BeforeBalance any // 变动前余额
|
||||
BalanceAfter any // 变动后余额
|
||||
ChannelSerialNo any // 交易渠道流水号
|
||||
OrderSn any // 关联订单号
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// TConsumeAccountMonthBill is the golang structure of table t_consume_account_month_bill for DAO operations like Where/Data.
|
||||
type TConsumeAccountMonthBill struct {
|
||||
g.Meta `orm:"table:t_consume_account_month_bill, do:true"`
|
||||
Id any // 账单ID
|
||||
DeptId any // 机构ID
|
||||
AccountPeriod any // 账期YYYY-MM
|
||||
OpeningBalance any // 月初余额
|
||||
RechargeIncome any // 充值收入
|
||||
WithdrawableTransferInIncome any // 可提现转入收入
|
||||
ManualAdjustIncome any // 人工调账收入
|
||||
RefundIncome any // 退款收入
|
||||
ConsumeExpense any // 平台消费支出
|
||||
BalanceTransferOutExpense any // 转可提现支出
|
||||
ManualAdjustExpense any // 人工调账支出
|
||||
ConsumeCreditRepayExpense any // 消费账户还款支出
|
||||
TotalIncome any // 本月收入总额
|
||||
TotalExpense any // 本月支出总额
|
||||
ClosingBalance any // 月末余额(月初余额+本月收入-本月支出)
|
||||
IncomeCount any // 收入笔数
|
||||
ExpenseCount any // 支出笔数
|
||||
CreditUsed any // 本月使用信用额度
|
||||
CreditRepaid any // 本月还款信用额度
|
||||
BillStatus any // 账单状态:1正常,2已调整,3已作废
|
||||
SettleTime *gtime.Time // 结算时间
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// TCreditDetail is the golang structure of table t_credit_detail for DAO operations like Where/Data.
|
||||
type TCreditDetail struct {
|
||||
g.Meta `orm:"table:t_credit_detail, do:true"`
|
||||
Id any // 明细ID
|
||||
DeptId any // 组织机构ID
|
||||
AccountPeriod any // 账期(YYYY-MM)
|
||||
TransactionType any // 交易类型: 使用/还款
|
||||
Amount any // 金额
|
||||
CreditBalanceBefore any // 变动前信用额度余额
|
||||
CreditBalanceAfter any // 变动后信用额度余额
|
||||
RelatedOrderSn any // 关联订单号
|
||||
RepaymentMethod any // 还款方式: 0 余额 1 银行卡 2 支付宝 3 微信
|
||||
RepaymentChannelSerial any // 交易渠道流水号
|
||||
TransactionTime *gtime.Time // 交易时间
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// TCustWithdrawAccount is the golang structure of table t_cust_withdraw_account for DAO operations like Where/Data.
|
||||
type TCustWithdrawAccount struct {
|
||||
g.Meta `orm:"table:t_cust_withdraw_account, do:true"`
|
||||
Id any // 主键ID
|
||||
DeptId any // 企业客户ID
|
||||
AccountType any // 提现账号类型,1:支付宝,2:微信
|
||||
AccountNo any // 账号
|
||||
AccountName any // 账户名称/真实姓名
|
||||
Mobile any // 手机号
|
||||
IsDefault any // 是否默认账号:0-否 1-是
|
||||
Enabled any // 是否启用:0-未启用 1-启用
|
||||
Status any // 状态:0-禁用 1-正常
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// TDeptFlowDaily is the golang structure of table t_dept_flow_daily for DAO operations like Where/Data.
|
||||
type TDeptFlowDaily struct {
|
||||
g.Meta `orm:"table:t_dept_flow_daily, do:true"`
|
||||
Id any // 自增主键
|
||||
DeptId any // 渠道客户ID
|
||||
StatDate *gtime.Time // 统计日期
|
||||
TotalUsedFlowMb any // 当日所有卡总消耗流量MB
|
||||
TotalSms any // 当日总短信使用条数
|
||||
TotalVoiceMin any // 当日总语音分钟数
|
||||
Remark any // 备注,同步失败原因/特殊说明
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// TDivisionCode is the golang structure of table t_division_code for DAO operations like Where/Data.
|
||||
type TDivisionCode struct {
|
||||
g.Meta `orm:"table:t_division_code, do:true"`
|
||||
RegionId any // ID
|
||||
RegionCode any // 行政区域代码
|
||||
RegionName any // 行政区域名称
|
||||
RegionLevel any // 等级
|
||||
RegionParent any // 上级代码
|
||||
RegionType any // 城乡分类代码
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TFinCommissionDetail is the golang structure of table t_fin_commission_detail for DAO operations like Where/Data.
|
||||
type TFinCommissionDetail struct {
|
||||
g.Meta `orm:"table:t_fin_commission_detail, do:true"`
|
||||
Id any // 主键ID
|
||||
CommissionNo any // 分润明细编号
|
||||
OrderSn any // 订单编号
|
||||
OrderType any // 订单类型
|
||||
ProductId any // 商品ID
|
||||
PayerDeptId any // 下级机构ID
|
||||
BenefitDeptId any // 受益机构ID
|
||||
BenefitDeptLevel any // 受益机构层级
|
||||
CommissionAmount any // 分润金额
|
||||
CommissionStatus any // 分润状态:0待结算,1可提现
|
||||
BenefitSnapshot *gjson.Json // 价格快照(受益机构的成本价+利润+利润悉数=出货单价)
|
||||
AccountPeriod any // 账期(YYYY-MM)
|
||||
SettlementTime *gtime.Time // 结算时间
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// TFinWithdrawableChange is the golang structure of table t_fin_withdrawable_change for DAO operations like Where/Data.
|
||||
type TFinWithdrawableChange struct {
|
||||
g.Meta `orm:"table:t_fin_withdrawable_change, do:true"`
|
||||
Id any // 主键ID
|
||||
DeptId any // 机构ID
|
||||
ChangeType any // 变动类型:0分润,1提现,2转出(可提现转余额)3转入(余额转可提现)4还款
|
||||
IncomeExpenseType any // 收支类型: 0收入,1支出
|
||||
ChangeAmount any // 变动金额
|
||||
BeforeBalance any // 变动前可提现余额
|
||||
AfterBalance any // 变动后可提现余额
|
||||
AccountType any // 提现账号类型,1:银行卡,2:支付宝,3:微信
|
||||
BankName any // 开户行名称
|
||||
BankAccount any // 开户行账号或账号
|
||||
AccountName any // 用户姓名
|
||||
IdentityCard any // 用户身份证号
|
||||
SourceNo any // 来源单号
|
||||
Remark any // 备注
|
||||
AccountPeriod any // 账期(YYYY-MM)
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TFinanceApply is the golang structure of table t_finance_apply for DAO operations like Where/Data.
|
||||
type TFinanceApply struct {
|
||||
g.Meta `orm:"table:t_finance_apply, do:true"`
|
||||
Id any // 主键ID
|
||||
ApplyNo any // 申请单号
|
||||
ApplyType any // 申请类型(1:提现申请,2:余额转提现)
|
||||
AuditType any // 审核类型:1初审,2复审
|
||||
ApplyDeptId any // 申请机构ID
|
||||
AuditDeptId any // 审核方机构ID,通常为直属上级或顶级
|
||||
AvailableAmountSnapshot any // 申请前可提现余额快照
|
||||
ApplyAmount any // 申请金额
|
||||
AccountType any // 提现账号类型,1:银行卡,2:支付宝,3:微信
|
||||
BankName any // 开户行名称
|
||||
BankAccount any // 开户行账号或账号
|
||||
AccountName any // 用户姓名
|
||||
IdentityCard any // 用户身份证号
|
||||
ReceiveAccount *gjson.Json // 收款账户信息快照
|
||||
ApplyStatus any // 状态:0待审核,1已通过,2已驳回,3已打款,4已取消
|
||||
ApplyTime *gtime.Time // 申请时间
|
||||
AuditTime *gtime.Time // 最近审核时间
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// TFinanceAuditRecord is the golang structure of table t_finance_audit_record for DAO operations like Where/Data.
|
||||
type TFinanceAuditRecord struct {
|
||||
g.Meta `orm:"table:t_finance_audit_record, do:true"`
|
||||
Id any // 主键ID
|
||||
AuditNo any // 审核记录编号
|
||||
ApplyNo any // 申请单号
|
||||
AuditDeptId any // 审核方机构ID
|
||||
AuditorUserId any // 审核人ID
|
||||
AuditResult any // 审核结果:0通过,1驳回
|
||||
AuditOpinion any // 审核意见
|
||||
AuditTime *gtime.Time // 审核时间
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TFlowPackageConfig is the golang structure of table t_flow_package_config for DAO operations like Where/Data.
|
||||
type TFlowPackageConfig struct {
|
||||
g.Meta `orm:"table:t_flow_package_config, do:true"`
|
||||
Id any // 主键ID
|
||||
PoolPackageCode any // 池编码
|
||||
PackageCodes *gjson.Json // 套餐编码列表
|
||||
TopupPackageCodes *gjson.Json // 可订购加油包套餐编码列表
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TMessageLog is the golang structure of table t_message_log for DAO operations like Where/Data.
|
||||
type TMessageLog struct {
|
||||
g.Meta `orm:"table:t_message_log, do:true"`
|
||||
MessageLogId any // 主键ID
|
||||
MessageType any // 消息类型 1系统通知 2活动通知 3订单通知 4账户通知
|
||||
SendUserType any // 发送用户类型 1代理商 2终端用户
|
||||
UserIds *gjson.Json // 接收用户ID集合(JSON数组)
|
||||
MessageTitle any // 消息标题
|
||||
MessageContent any // 消息内容
|
||||
MessageLink any // 跳转链接地址
|
||||
SendTime *gtime.Time // 发送时间
|
||||
IsRecall any // 是否撤回 0未撤回 1已撤回
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// TNotifyLog is the golang structure of table t_notify_log for DAO operations like Where/Data.
|
||||
type TNotifyLog struct {
|
||||
g.Meta `orm:"table:t_notify_log, do:true"`
|
||||
NotifyId any // 主键ID
|
||||
NotifyTitle any // 标题
|
||||
NotifyContent any // 内容
|
||||
SendUserType any // 发送用户类型 1代理商 2终端用户
|
||||
SendTime *gtime.Time // 发送时间
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// TOrder is the golang structure of table t_order for DAO operations like Where/Data.
|
||||
type TOrder struct {
|
||||
g.Meta `orm:"table:t_order, do:true"`
|
||||
Id any // 主键ID
|
||||
OrderSn any // 订单编号
|
||||
ParentOrderId any // 父订单ID
|
||||
ParentOrderSn any // 父订单编号
|
||||
CustomerType any // 客户类型 枚举
|
||||
CustomerAgentId any // 渠道编号(购买方)
|
||||
EndUserId any // 终端客户编号
|
||||
AgentId any // 渠道编号(销售方)
|
||||
OrderType any // 订单类型 枚举
|
||||
OrderStatus any // 订单状态 枚举
|
||||
ShippingStatus any // 配送状态 枚举
|
||||
ReturnStatus any // 退货状态 枚举
|
||||
Consignee any // 收货人姓名
|
||||
Mobile any // 收货人手机
|
||||
Email any // 收货人邮箱
|
||||
Address any // 详细地址
|
||||
AreaCode any // 行政区域代码
|
||||
BuyerNote any // 买家备注
|
||||
AdminNote any // 商家备注
|
||||
Remark any // 系统备注
|
||||
ShippingMethod any // 发货方式 枚举
|
||||
LogisticsId any // 快递公司ID
|
||||
LogisticsName any // 物流公司名称
|
||||
ShippingTypeId any // 配送类型ID
|
||||
ShippingTypeName any // 配送类型名称
|
||||
TrackingNo any // 物流单号
|
||||
ShippingTime *gtime.Time // 发货时间
|
||||
ReceivedTime *gtime.Time // 收货时间
|
||||
PayType any // 支付类型 枚举
|
||||
PayStatus any // 支付状态 枚举
|
||||
PayOrderSn any // 支付订单编号
|
||||
PayTime *gtime.Time // 支付时间
|
||||
TotalAmount any // 订单总金额
|
||||
ProductAmount any // 商品总金额
|
||||
ShippingFee any // 运费金额
|
||||
ServiceFee any // 服务费金额
|
||||
InvoiceFee any // 发票费金额
|
||||
CouponAmount any // 优惠券抵扣金额
|
||||
DiscountAmount any // 活动优惠金额
|
||||
Balance any // 余额抵扣金额
|
||||
PaidAmount any // 已支付总金额
|
||||
OnlinePaidAmount any // 线上支付金额
|
||||
OfflinePaidAmount any // 线下支付金额
|
||||
UnpaidAmount any // 未支付金额
|
||||
UnrefundAmount any // 未退款金额
|
||||
IsNeedCommission any // 是否需要分佣 枚举:yesno_enum
|
||||
DistributionStatus any // 分销分成状态 枚举
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// TOrderItem is the golang structure of table t_order_item for DAO operations like Where/Data.
|
||||
type TOrderItem struct {
|
||||
g.Meta `orm:"table:t_order_item, do:true"`
|
||||
ItemId any // 订单商品信息自增id
|
||||
OrderId any // 订单ID
|
||||
OrderSn any // 订单编号
|
||||
CustomerType any // 客户类型 枚举
|
||||
CustomerAgentId any // 渠道编号(购买方)
|
||||
EndUserId any // 客户编号
|
||||
Price any // 商品最终单价
|
||||
Quantity any // 商品的购买数量
|
||||
ProductId any // 商品ID
|
||||
ProductName any // 商品的名称
|
||||
ProductSn any // 商品的唯一货号
|
||||
PicThumb any // 商品缩略图
|
||||
SkuId any // 规格ID
|
||||
SkuData any // 【JSON】sku信息[{sku_id,sku_value,sku_name}]
|
||||
DeliveryQuantity any // 发货数量
|
||||
ProductType any // 商品类型 枚举
|
||||
IsGift any // 是否为赠品 枚举:yesno_enum
|
||||
AgentId any // 渠道编号(销售方)
|
||||
PrepayPrice any // 预售价格
|
||||
Commission any // 佣金数据
|
||||
OriginPrice any // 商品初始价格
|
||||
PromotionData any // 优惠信息
|
||||
ExtraSkuData any // 附加属性
|
||||
PayMode any // 付费方式 枚举
|
||||
ServiceBeginTime *gtime.Time // 服务开始时间
|
||||
ServiceEndTime *gtime.Time // 服务结束时间
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// TPackageCustomer is the golang structure of table t_package_customer for DAO operations like Where/Data.
|
||||
type TPackageCustomer struct {
|
||||
g.Meta `orm:"table:t_package_customer, do:true"`
|
||||
Id any // 主键ID
|
||||
PackageCode any // 套餐编码
|
||||
PackageName any // 套餐名称
|
||||
DeptId any // 组织客户ID
|
||||
DeptName any // 组织客户名称
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// TProfitAccountMonthBill is the golang structure of table t_profit_account_month_bill for DAO operations like Where/Data.
|
||||
type TProfitAccountMonthBill struct {
|
||||
g.Meta `orm:"table:t_profit_account_month_bill, do:true"`
|
||||
Id any // 账单ID
|
||||
DeptId any // 机构ID
|
||||
AccountPeriod any // 账期YYYY-MM
|
||||
OpeningBalance any // 月初余额
|
||||
CommissionIncome any // 分润收入
|
||||
BalanceTransferInIncome any // 余额转提现收入
|
||||
WithdrawalExpense any // 提现支出
|
||||
WithdrawableTransferOutExpense any // 可提现转余额支出
|
||||
ProfitCreditRepayExpense any // 盈利账户还款支出
|
||||
TotalIncome any // 本月收入总额
|
||||
TotalExpense any // 本月支出总额
|
||||
ClosingBalance any // 月末余额(月初余额+本月收入-本月支出)
|
||||
IncomeCount any // 收入笔数
|
||||
ExpenseCount any // 支出笔数
|
||||
BillStatus any // 账单状态:1正常,2已调整,3已作废
|
||||
SettleTime *gtime.Time // 结算时间
|
||||
SettleBy any // 结算人ID
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TResourceBatchDownload is the golang structure of table t_resource_batch_download for DAO operations like Where/Data.
|
||||
type TResourceBatchDownload struct {
|
||||
g.Meta `orm:"table:t_resource_batch_download, do:true"`
|
||||
Id any // 主键ID
|
||||
BatchNo any // 批次编号(全局唯一)
|
||||
TaskName any // 任务名称
|
||||
ResourceType any // 资源类型 枚举
|
||||
ExportScene any // 导出场景 枚举
|
||||
QueryParams *gjson.Json // 导出查询条件快照
|
||||
TotalCount any // 预计导出总条数
|
||||
SuccessCount any // 已成功导出条数
|
||||
FailCount any // 失败条数
|
||||
DownloadStatus any // 下载状态 枚举
|
||||
OssId any // OSS文件ID
|
||||
FileName any // 导出文件名
|
||||
FileExt any // 文件扩展名
|
||||
FileUrl any // 文件访问地址
|
||||
FilePath any // 服务器本地路径
|
||||
FileSize any // 文件大小(字节)
|
||||
FileMd5 any // 文件MD5
|
||||
DownloadCount any // 下载次数
|
||||
LastDownloadTime *gtime.Time // 最后下载时间
|
||||
MaxDownloadCount any // 最大下载次数限制
|
||||
ErrorMessage any // 失败原因
|
||||
DeptId any // 所属机构ID
|
||||
StartTime *gtime.Time // 任务开始时间
|
||||
FinishTime *gtime.Time // 任务完成时间
|
||||
ExpireTime *gtime.Time // 文件过期时间
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// TSimBindPackageLogs is the golang structure of table t_sim_bind_package_logs for DAO operations like Where/Data.
|
||||
type TSimBindPackageLogs struct {
|
||||
g.Meta `orm:"table:t_sim_bind_package_logs, do:true"`
|
||||
Id any // 主键ID
|
||||
SubscriptionNo any // 订购记录编号
|
||||
BatchNo any // 批次编号
|
||||
Iccid any // ICCID
|
||||
Msisdn any // MSISDN/卡号
|
||||
DeptId any // 部门机构编号
|
||||
PackageType any // 套餐类型
|
||||
PackageCode any // 套餐编号
|
||||
PreviousPackageCode any // 变更前套餐编号
|
||||
BusinessType any // 类型 枚举
|
||||
EffectiveStatus any // 订购状态 枚举
|
||||
HandleTime *gtime.Time // 办理时间
|
||||
EffectiveTime *gtime.Time // 生效时间
|
||||
ExpectedExpireTime *gtime.Time // 预计到期时间
|
||||
ActualExpireTime *gtime.Time // 实际到期时间
|
||||
DurationMonths any // 套餐时长(月)
|
||||
GiftDurationMonths any // 赠送时长(月)
|
||||
OrderCode any // 订单编号
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// TSimCardBindPkg is the golang structure of table t_sim_card_bind_pkg for DAO operations like Where/Data.
|
||||
type TSimCardBindPkg struct {
|
||||
g.Meta `orm:"table:t_sim_card_bind_pkg, do:true"`
|
||||
Id any // 主键ID
|
||||
SubscriptionNo any // 订购记录编号
|
||||
BatchNo any // 批次编号
|
||||
Iccid any // ICCID
|
||||
Msisdn any // MSISDN/卡号
|
||||
DeptId any // 部门机构编号
|
||||
PackageType any // 套餐类型
|
||||
PackageCode any // 套餐编号
|
||||
PreviousPackageCode any // 变更前套餐编号
|
||||
BusinessType any // 类型 枚举
|
||||
EffectiveStatus any // 订购状态 枚举
|
||||
HandleTime *gtime.Time // 办理时间
|
||||
EffectiveTime *gtime.Time // 生效时间
|
||||
ExpectedExpireTime *gtime.Time // 预计到期时间
|
||||
ActualExpireTime *gtime.Time // 实际到期时间
|
||||
DurationMonths any // 套餐时长(月)
|
||||
GiftDurationMonths any // 赠送时长(月)
|
||||
OrderCode any // 订单编号
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// TSimCardCancellation is the golang structure of table t_sim_card_cancellation for DAO operations like Where/Data.
|
||||
type TSimCardCancellation struct {
|
||||
g.Meta `orm:"table:t_sim_card_cancellation, do:true"`
|
||||
Id any // 主键ID
|
||||
Iccid any // ICCID
|
||||
Msisdn any // MSISDN/卡号
|
||||
Imsi any // IMSI
|
||||
Imei any // IMEI
|
||||
RegionCode any // 归属地
|
||||
DeptId any // 渠道客户ID
|
||||
CurrentPackageCode any // 当前套餐编号
|
||||
PackageStatus any // 套餐状态:0 无套餐,1待生效,2生效中,3已过期
|
||||
AccessType any // 接入方式:ipv4、ipv6、ipv4_ipv6
|
||||
BossCardStatus any // 运营商卡状态 枚举
|
||||
CancelBatchNo any // 系统销户批次号
|
||||
CancelledAt *gtime.Time // 系统销户完成时间
|
||||
CardType any // 卡类型 枚举
|
||||
BossOpenAt *gtime.Time // 运营商开户日期
|
||||
BossActivateAt *gtime.Time // 运营商激活日期
|
||||
IsBossActivateEnabled any // 是否按运营商激活减去赠送时长方:1是,0否
|
||||
InboundBatchNo any // 入库批次
|
||||
OutboundBatchNo any // 出库批次
|
||||
AllocationBatchNo any // 划拨批次
|
||||
IsFlowPool any // 是否为池卡:1是,0否
|
||||
FlowPoolCode any // 流量池编号
|
||||
FlowPkgBeginAt *gtime.Time // 当前套餐生效时间
|
||||
FlowPkgPresentAt *gtime.Time // 套餐赠送结束时间
|
||||
FlowPkgRealPresentAt *gtime.Time // 实际赠送结束时间
|
||||
FlowPkgEndAt *gtime.Time // 当前套餐预计到期时间
|
||||
DataServiceStatus any // 数据服务状态:0启用,1停用
|
||||
PackageTotalFlowMb any // 套餐总流量MB
|
||||
UsedFlowMb any // 已用流量MB
|
||||
TrafficCutoffStatus any // 达量断网配置状态:0未配置,1已开启,2已关闭
|
||||
TrafficCutoffThreshold any // 达量断网阈值
|
||||
SmsServiceStatus any // 短信服务状态:0启用,1停用
|
||||
PackageTotalSms any // 套餐短信总条数
|
||||
UsedSms any // 已用短信条数
|
||||
VoiceServiceStatus any // 语音服务状态:0启用,1停用
|
||||
PackageTotalVoice any // 套餐语音总分钟数
|
||||
UsedVoice any // 已用语音分钟数
|
||||
RoamServiceStatus any // 国漫服务状态:0启用,1停用
|
||||
PackageTotalRoamFlowMb any // 套餐国际流量MB
|
||||
UsedRoamFlowMb any // 已用国际流量MB
|
||||
StatusSyncTime *gtime.Time // 状态最后一次同步时间
|
||||
FlowSyncTime *gtime.Time // 流量最后一次同步时间
|
||||
SmsSyncTime *gtime.Time // 短信最后一次同步时间
|
||||
VoiceSyncTime *gtime.Time // 语音最后一次同步时间
|
||||
RoamSyncTime *gtime.Time // 国漫最后一次同步时间
|
||||
ExtraFeeEnabled any // 是否收取附加费:0是,1否
|
||||
ExtraFeeMultiple any // 附加费用倍数
|
||||
ExtraFee any // 附加金额
|
||||
ChanKey any // 通道编号
|
||||
NetModel any // 网络类型 枚举
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// TSimCardInfo is the golang structure of table t_sim_card_info for DAO operations like Where/Data.
|
||||
type TSimCardInfo struct {
|
||||
g.Meta `orm:"table:t_sim_card_info, do:true"`
|
||||
Id any // 主键ID
|
||||
Iccid any // ICCID
|
||||
Msisdn any // MSISDN/卡号
|
||||
Imsi any // IMSI
|
||||
Imei any // IMEI
|
||||
RegionCode any // 归属地
|
||||
DeptId any // 渠道客户ID
|
||||
CurrentPackageCode any // 当前套餐编号
|
||||
PackageStatus any // 套餐状态:0 无套餐,1待生效,2生效中,3已过期
|
||||
AccessType any // 接入方式:ipv4、ipv6、ipv4_ipv6
|
||||
BossCardStatus any // 运营商卡状态 枚举
|
||||
CardType any // 卡类型 枚举
|
||||
BossOpenAt *gtime.Time // 运营商开户日期
|
||||
BossActivateAt *gtime.Time // 运营商激活日期
|
||||
IsBossActivateEnabled any // 是否按运营商激活减去赠送时长方:1是,0否
|
||||
InboundBatchNo any // 入库批次
|
||||
OutboundBatchNo any // 出库批次
|
||||
AllocationBatchNo any // 划拨批次
|
||||
IsFlowPool any // 是否为池卡:1是,0否
|
||||
FlowPoolCode any // 流量池编号
|
||||
OutStockTime *gtime.Time // 出库时间
|
||||
FlowPkgBeginAt *gtime.Time // 当前套餐生效时间
|
||||
FlowPkgPresentAt *gtime.Time // 套餐赠送结束时间
|
||||
FlowPkgRealPresentAt *gtime.Time // 实际赠送结束时间
|
||||
FlowPkgEndAt *gtime.Time // 当前套餐预计到期时间
|
||||
DataServiceStatus any // 数据服务状态:1启用、0禁用
|
||||
PackageTotalFlowMb any // 套餐总流量MB
|
||||
UsedFlowMb any // 已用流量MB
|
||||
TrafficCutoffStatus any // 达量断网配置状态:0未配置,1已开启,2已关闭
|
||||
TrafficCutoffThreshold any // 达量断网阈值
|
||||
SmsServiceStatus any // 短信服务状态:1启用、0禁用
|
||||
PackageTotalSms any // 套餐短信总条数
|
||||
UsedSms any // 已用短信条数
|
||||
VoiceServiceStatus any // 语音服务状态:1启用、0禁用
|
||||
PackageTotalVoice any // 套餐语音总分钟数
|
||||
UsedVoice any // 已用语音分钟数
|
||||
RoamServiceStatus any // 国漫服务状态:1启用、0禁用
|
||||
PackageTotalRoamFlowMb any // 套餐国际流量MB
|
||||
UsedRoamFlowMb any // 已用国际流量MB
|
||||
StatusSyncTime *gtime.Time // 状态最后一次同步时间
|
||||
FlowSyncTime *gtime.Time // 流量最后一次同步时间
|
||||
SmsSyncTime *gtime.Time // 短信最后一次同步时间
|
||||
VoiceSyncTime *gtime.Time // 语音最后一次同步时间
|
||||
RoamSyncTime *gtime.Time // 国漫最后一次同步时间
|
||||
ExtraFeeEnabled any // 是否收取附加费:1是,0否
|
||||
ExtraFeeMultiple any // 附加费用倍数
|
||||
ExtraFee any // 附加金额
|
||||
ChanKey any // 通道编号
|
||||
NetModel any // 网络类型:4G、5G、NB-IoT
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// TSimCardStock is the golang structure of table t_sim_card_stock for DAO operations like Where/Data.
|
||||
type TSimCardStock struct {
|
||||
g.Meta `orm:"table:t_sim_card_stock, do:true"`
|
||||
Id any // 主键ID
|
||||
BatchNo any //
|
||||
Iccid any // ICCID
|
||||
Msisdn any // MSISDN
|
||||
Imsi any // IMSI
|
||||
Imei any // IMEI
|
||||
ChanKey any // 通道编号
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package do
|
||||
|
||||
import "github.com/gogf/gf/v2/frame/g"
|
||||
|
||||
// TSimCardTrafficCutoffConfig contains writable traffic-cutoff extension fields.
|
||||
type TSimCardTrafficCutoffConfig struct {
|
||||
g.Meta `orm:"table:t_sim_card_info, do:true"`
|
||||
TrafficCutoffStatus any `orm:"traffic_cutoff_status"`
|
||||
TrafficCutoffThreshold any `orm:"traffic_cutoff_threshold"`
|
||||
TrafficCutoffCrossMonthHold any `orm:"traffic_cutoff_cross_month_hold"`
|
||||
TrafficCutoffTriggeredAt any `orm:"traffic_cutoff_triggered_at"`
|
||||
UpdatedBy any `orm:"updated_by"`
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// TSimChannelTemplate is the golang structure of table t_sim_channel_template for DAO operations like Where/Data.
|
||||
type TSimChannelTemplate struct {
|
||||
g.Meta `orm:"table:t_sim_channel_template, do:true"`
|
||||
Id any // ID
|
||||
TempKey any // 模板标识
|
||||
TempName any // 模板名称
|
||||
TempModel any // 模板模型
|
||||
TempConfig any // 模板配置
|
||||
TempStatus any // 模板状态(0未启用,1启用)
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// TSimChannels is the golang structure of table t_sim_channels for DAO operations like Where/Data.
|
||||
type TSimChannels struct {
|
||||
Operator any // 运营商:1移动,2联通,3电信
|
||||
g.Meta `orm:"table:t_sim_channels, do:true"`
|
||||
Id any // ID
|
||||
TempKey any // 模板标识
|
||||
SyncEnabled any // 是否轮询:0是(参与) 1否(不参与)
|
||||
ChanKey any // 通道编号
|
||||
ChanName any // 通道名称
|
||||
ChanConfig any // 通道配置
|
||||
ChanStatus any // 通道状态(0启用,1停用, 2未申请, 3申请中, 4接口信息不全)
|
||||
ShareEnabled any // 是否开放共享Token(0否,1是)
|
||||
IsNormal any // 是否正常(0是,1否)
|
||||
DockingStatus any // 对接信息(0接口信息不全,1接口申请中,2不需要对接,3已对接,4未申请,5接口订阅不全)
|
||||
ChanAlias any // 通道别名
|
||||
RegionCode any // 通道行政区域代码(省市)
|
||||
AppKey any // 应用标识
|
||||
AppSecret any // 应用密钥
|
||||
AccessToken any // 接口调用凭证
|
||||
AccessTokenCreated *gtime.Time // 凭证申请时间
|
||||
AccessTokenExpire *gtime.Time // 凭证过期时间
|
||||
RefreshToken any // 刷新凭证
|
||||
LoginUser any // 登录账号
|
||||
LoginPassword any // 登录密码
|
||||
LoginUrl any // 登录地址
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
StockCardCount any // 库存卡数量
|
||||
CardInfoCount any // 卡信息数量
|
||||
CancellationCardCount any // 销户卡数量
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimFlowPackageInfo is the golang structure of table t_sim_flow_package_info for DAO operations like Where/Data.
|
||||
type TSimFlowPackageInfo struct {
|
||||
g.Meta `orm:"table:t_sim_flow_package_info, do:true"`
|
||||
Id any // 主键ID
|
||||
PackageCode any // 套餐编码
|
||||
CategoryCode any // 套餐分类编码
|
||||
PoolPackageCode any // 池套餐编码
|
||||
PackageName any // 套餐名称
|
||||
PackageType any // 套餐类型:101-卡套餐 102-池套餐 103-单卡加油包 104-池卡加油包
|
||||
BillingMethod any // 计费方式
|
||||
SortNo any // 排序号
|
||||
FlowMb any // 套餐流量(MB)
|
||||
FlowGb any // 套餐流量(GB)
|
||||
Enabled any // 是否启用:0-否 1-是(yesno_enum)
|
||||
ListPrice any // 目录售价
|
||||
CostPrice any // 成本价
|
||||
SysDefaultProfit any // 系统默认利润
|
||||
SysDefaultRatio any // 系统默认系数
|
||||
TerminalCost any // 终端成本
|
||||
SysDefaultTerminalProfit any // 系统默认终端利润
|
||||
SysDefaultTerminalRatio any // 系统默认终端系数
|
||||
RenewableDurationConfig *gjson.Json // 可续费时长配置:[1,2,3]
|
||||
DiscountRateConfig *gjson.Json // 折扣率配置:{"duration":1,"rate":100}
|
||||
RenewablePackageCodes *gjson.Json // 可续费套餐编码列表
|
||||
ChangeablePackageCodes *gjson.Json // 可变更套餐编码列表
|
||||
TopupPackageCodes *gjson.Json // 可订购加油包套餐编码列表
|
||||
IsAutoRenew any // 是否自动续费:0-否 1-是
|
||||
AutoRenewPackageId any // 自动续费套餐ID
|
||||
AutoRenewYears any // 自动续费年限
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// TSimFlowPackagePrice is the golang structure of table t_sim_flow_package_price for DAO operations like Where/Data.
|
||||
type TSimFlowPackagePrice struct {
|
||||
g.Meta `orm:"table:t_sim_flow_package_price, do:true"`
|
||||
Id any // 主键ID
|
||||
PackageCode any // 套餐编码
|
||||
AgentScopeType any // 渠道适用类型:0-所有客户 1-指定客户
|
||||
TargetAgentId any // 指定渠道客户ID
|
||||
DeptId any // 机构编号
|
||||
AgentCostRatio any // 渠道成本系数
|
||||
AgentCostProfit any // 渠道成本利润
|
||||
UserCostRatio any // 终端用户成本系数
|
||||
UserCostProfit any // 终端用户成本利润
|
||||
Enabled any // 是否启用:0-否 1-是(yesno_enum)
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimFlowPool is the golang structure of table t_sim_flow_pool for DAO operations like Where/Data.
|
||||
type TSimFlowPool struct {
|
||||
g.Meta `orm:"table:t_sim_flow_pool, do:true"`
|
||||
Id any // 主键ID
|
||||
FlowPoolCode any // 流量池编号
|
||||
DeptId any // 客户编号
|
||||
PackageCodes *gjson.Json // 套餐编号列表(冗余)
|
||||
PoolPackageCode any // 池套餐编码
|
||||
CardCount any // 关联卡数量
|
||||
CardFlowMb any // 套餐卡流量MB
|
||||
PoolPackageFlowMb any // 套内总流量MB
|
||||
AddOnFlowMb any // 加油包总流量MB
|
||||
TotalFlowMb any // 总流量MB(套内+加油包)
|
||||
UsedFlowMb any // 已使用流量MB
|
||||
RemainFlowMb any // 剩余流量MB
|
||||
PoolStatus any // 状态:0 正常、1 停用、2 锁定
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// TSimPackageCategory is the golang structure of table t_sim_package_category for DAO operations like Where/Data.
|
||||
type TSimPackageCategory struct {
|
||||
g.Meta `orm:"table:t_sim_package_category, do:true"`
|
||||
Id any // 主键ID
|
||||
CategoryCode any // 套餐分类编号
|
||||
CategoryName any // 套餐分类名称
|
||||
SortNo any // 排序
|
||||
Enabled any // 是否启用:1启用,0停用
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// TSimPoolBindPackage is the golang structure of table t_sim_pool_bind_package for DAO operations like Where/Data.
|
||||
type TSimPoolBindPackage struct {
|
||||
g.Meta `orm:"table:t_sim_pool_bind_package, do:true"`
|
||||
Id any // 主键ID
|
||||
SubscriptionNo any // 订购记录编号
|
||||
BatchNo any // 批次编号
|
||||
PoolNo any // 流量池编号
|
||||
DeptId any // 部门机构编号
|
||||
PackageType any // 套餐类型
|
||||
PackageCode any // 套餐编号
|
||||
PreviousPackageCode any // 变更前套餐编号
|
||||
BusinessType any // 类型 枚举
|
||||
EffectiveStatus any // 订购状态 枚举
|
||||
HandleTime *gtime.Time // 办理时间
|
||||
EffectiveTime *gtime.Time // 生效时间
|
||||
ExpectedExpireTime *gtime.Time // 预计到期时间
|
||||
ActualExpireTime *gtime.Time // 实际到期时间
|
||||
DurationMonths any // 套餐时长(月)
|
||||
GiftDurationMonths any // 赠送时长(月)
|
||||
OrderCode any // 订单编号
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// TSimPoolWarnConfig is the golang structure of table t_sim_pool_warn_config for DAO operations like Where/Data.
|
||||
type TSimPoolWarnConfig struct {
|
||||
g.Meta `orm:"table:t_sim_pool_warn_config, do:true"`
|
||||
Id any // 主键ID
|
||||
PoolId any // 流量池ID
|
||||
WarnLevel any // 预警等级:1提示,2注意,3警告,4危险,5紧急
|
||||
ThresholdPercent any // 阈值(例如0.7)
|
||||
WarnMethods any // 预警方式:0短信,1邮箱,2电话,3平台消息 多选逗号分隔
|
||||
WarnPhones any // 预警手机号 多个逗号分隔
|
||||
WarnEmails any // 预警邮箱 多个逗号分隔
|
||||
AutoAction any // 自动动作:0无,1限速,2断网
|
||||
IsEnabled any // 是否启用:1启用,0停用
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// TUpstreamPackage is the golang structure of table t_sim_upstream_package for DAO operations like Where/Data.
|
||||
type TUpstreamPackage struct {
|
||||
g.Meta `orm:"table:t_sim_upstream_package, do:true"`
|
||||
Id any // 主键
|
||||
UpPkgCode any // 上游套餐编码
|
||||
UpPkgName any // 上游套餐名称
|
||||
Operator any // 运营商:1移动,2联通,3电信
|
||||
ApnName any // APN名称
|
||||
Remark any // 备注
|
||||
CreatedDept any // 创建部门
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
CreatedBy any // 创建者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
UpdatedBy any // 更新者
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// TTplatformSetting is the golang structure of table t_tplatform_setting for DAO operations like Where/Data.
|
||||
type TTplatformSetting struct {
|
||||
g.Meta `orm:"table:t_tplatform_setting, do:true"`
|
||||
Id any // 主键ID
|
||||
SubDomain any // 二级域名前缀
|
||||
FullDomain any // 完整域名
|
||||
AppTitle any // 平台标题
|
||||
AppIcon any // 图标地址
|
||||
LoginPageTitle any // 登录页大标题
|
||||
LoginPageDescription any // 登录页描述文案
|
||||
LoginSloganImage any // 登录标语图地址
|
||||
Sort any // 排序
|
||||
Status any // 状态 0启用 1禁用
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// TUserMessage is the golang structure of table t_user_message for DAO operations like Where/Data.
|
||||
type TUserMessage struct {
|
||||
g.Meta `orm:"table:t_user_message, do:true"`
|
||||
MessageId any // 主键ID
|
||||
MessageLogId any // 消息日志ID
|
||||
UserId any // 用户ID
|
||||
IsRead any // 是否已读 0未读 1已读
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// TWarnConfig is the golang structure of table t_warn_config for DAO operations like Where/Data.
|
||||
type TWarnConfig struct {
|
||||
g.Meta `orm:"table:t_warn_config, do:true"`
|
||||
Id any // 主键ID
|
||||
TenantId any // 租户ID
|
||||
BatchNo any // 批次编号
|
||||
ItemType any // 对象类型:1卡,2流量池
|
||||
ItemId any // 对象ID:单卡为t_sim_card_info.id,流量池为t_sim_flow_pool.id
|
||||
ItemCode any // 对象编码快照:ICCID/MSISDN/流量池编码
|
||||
WarnUnit any // 预警单位:1MB,2百分比,3天数,4月数
|
||||
FirstWarn any // 第一档预警阈值,单位由warn_unit决定
|
||||
SecondWarn any // 第二档预警阈值,单位由warn_unit决定
|
||||
ThirdWarn any // 第三档预警阈值,单位由warn_unit决定
|
||||
WarnMethods any // 预警方式:0短信,1邮箱,2电话,3平台消息;多选逗号分隔
|
||||
WarnPhones any // 预警手机号,多个逗号分隔
|
||||
WarnEmails any // 预警邮箱,多个逗号分隔
|
||||
AutoAction any // 自动动作:0无,2断网;第一期只保存配置不自动执行
|
||||
IsEnabled any // 是否启用:1启用,0停用
|
||||
WxTemplateId any // 微信订阅消息模板ID
|
||||
Remark any // 备注
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
AppNotifyEnabled any // 是否开启小程序预警通知:0关闭,1开启
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// TWarnLog is the golang structure of table t_warn_log for DAO operations like Where/Data.
|
||||
type TWarnLog struct {
|
||||
g.Meta `orm:"table:t_warn_log, do:true"`
|
||||
Id any // 主键ID
|
||||
TenantId any // 租户ID
|
||||
ConfigId any // 预警配置ID
|
||||
ItemType any // 对象类型:1单卡,2流量池
|
||||
ItemId any // 对象ID:单卡为t_sim_card_info.id,流量池为t_sim_flow_pool.id
|
||||
ItemCode any // 对象编码快照:ICCID/MSISDN/流量池编码
|
||||
WarnStage any // 触发档位:1第一档,2第二档,3第三档
|
||||
WarnLevel any // 预警级别:1提示,2注意,3警告,4危险,5紧急
|
||||
WarnUnit any // 预警单位/维度:1MB,2百分比,3天数,4月数
|
||||
ThresholdValue any // 触发阈值,单位由warn_unit决定
|
||||
ActualValue any // 触发时实际值,单位由warn_unit决定
|
||||
TotalFlowMb any // 触发时总流量MB;流量类预警使用
|
||||
RemainFlowMb any // 触发时剩余流量MB;流量类预警使用
|
||||
WarnMethods any // 实际预警方式快照
|
||||
WarnPhones any // 实际预警手机号快照
|
||||
WarnEmails any // 实际预警邮箱快照
|
||||
MessageLogId any // 平台消息ID;聚合通知时可能为空
|
||||
WarnTime *gtime.Time // 预警时间
|
||||
Remark any // 备注
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// TWoAudit is the golang structure of table t_wo_audit for DAO operations like Where/Data.
|
||||
type TWoAudit struct {
|
||||
g.Meta `orm:"table:t_wo_audit, do:true"`
|
||||
Id any // 主键ID
|
||||
AuditNo any // 审核编号
|
||||
WoId any // 工单ID
|
||||
WoNo any // 工单编号
|
||||
AuditType any // 审核类型:0分派,1转派,2退回,3解决,4关闭,5废除
|
||||
AuditorType any // 审核人类型:1终端用户,2代理商,3客服
|
||||
AuditorDeptId any // 审核人机构ID
|
||||
AuditorUserId any // 审核人用户ID
|
||||
AuditorName any // 审核人姓名
|
||||
BeforeStatus any // 变更前状态
|
||||
AfterStatus any // 变更后状态
|
||||
AuditResult any // 审核结果:0通过,1驳回
|
||||
AuditOpinion any // 审核意见
|
||||
AuditTime *gtime.Time // 审核时间
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TWoCommunication is the golang structure of table t_wo_communication for DAO operations like Where/Data.
|
||||
type TWoCommunication struct {
|
||||
g.Meta `orm:"table:t_wo_communication, do:true"`
|
||||
Id any // 主键ID
|
||||
CommNo any // 沟通编号
|
||||
WoId any // 工单ID
|
||||
WoNo any // 工单编号
|
||||
CommType any // 沟通类型:0回复,1反馈
|
||||
SenderType any // 发送人类型:1终端用户,2代理商
|
||||
SenderDeptId any // 发送人机构ID
|
||||
SenderUserId any // 发送人用户ID
|
||||
SenderName any // 发送人姓名
|
||||
Content any // 沟通内容
|
||||
AttachmentUrls *gjson.Json // 附件URL列表
|
||||
CommTime *gtime.Time // 沟通时间
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// TWoMain is the golang structure of table t_wo_main for DAO operations like Where/Data.
|
||||
type TWoMain struct {
|
||||
g.Meta `orm:"table:t_wo_main, do:true"`
|
||||
Id any // 主键ID
|
||||
WoNo any // 工单编号
|
||||
WoType any // 工单类型 0卡,1模组,2设备,3订单,4余额,5提现
|
||||
RelatedId any // 关联业务ID
|
||||
Title any // 工单标题
|
||||
Content any // 问题描述
|
||||
Attachment any // 附件
|
||||
CreatorType any // 创建人类型:1终端用户,2代理商
|
||||
CreatorDeptId any // 创建机构ID
|
||||
CreatorUserId any // 创建用户ID
|
||||
CreatorName any // 创建人姓名
|
||||
CreatorPhone any // 创建人手机号
|
||||
AssignDeptId any // 分派方机构ID
|
||||
AssignUserId any // 分派人用户ID
|
||||
CurrentStatus any // 当前处理状态:1已分派,2处理中,3已解决,4已完结_关单,5已取消
|
||||
HandlerDeptId any // 处理方机构ID
|
||||
HandlerUserId any // 处理人用户ID
|
||||
FirstResponseTime *gtime.Time // 首次响应时间
|
||||
ResolveTime *gtime.Time // 确认时间
|
||||
CloseTime *gtime.Time // 关闭时间
|
||||
SatisfactionLevel any // 满意度:1-5分
|
||||
EvalContent any // 评价内容
|
||||
EvalTime *gtime.Time // 评价时间
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// TWoRecord is the golang structure of table t_wo_record for DAO operations like Where/Data.
|
||||
type TWoRecord struct {
|
||||
g.Meta `orm:"table:t_wo_record, do:true"`
|
||||
Id any // 主键ID
|
||||
WoNo any // 工单编号
|
||||
OperationType any // 操作类型:0创建,1分派,2处理,3完成,4关单,5取消
|
||||
OperationDeptId any // 操作机构ID
|
||||
OperationUserId any // 操作用户ID
|
||||
TargetDeptId any // 目标部门ID
|
||||
TargetUserId any // 目标用户ID
|
||||
BeforeStatus any // 变更前状态
|
||||
AfterStatus any // 变更后状态
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// TestDemo is the golang structure of table test_demo for DAO operations like Where/Data.
|
||||
type TestDemo struct {
|
||||
g.Meta `orm:"table:test_demo, do:true"`
|
||||
Id interface{} // 主键
|
||||
TenantId interface{} // 租户编号
|
||||
DeptId interface{} // 部门id
|
||||
UserId interface{} // 用户id
|
||||
OrderNum interface{} // 排序号
|
||||
TestKey interface{} // key键
|
||||
Value interface{} // 值
|
||||
Version interface{} // 版本
|
||||
CreatedDept interface{} // 创建部门
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
CreatedBy interface{} // 创建者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
UpdatedBy interface{} // 更新者
|
||||
DeletedBy interface{} // 删除人
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
}
|
||||
Reference in New Issue
Block a user