chore: 并入 iotlcm-openapi 历史到 openapi/(原提交 3b05d5a)
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// BatchDetail is the golang structure for table batch_detail.
|
||||
type BatchDetail struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
BatchNo string `json:"batchNo" orm:"batch_no" description:"批次编号"`
|
||||
BatchType int `json:"batchType" orm:"batch_type" description:"批次类型 枚举(与主表一致)"`
|
||||
DetailStatus int `json:"detailStatus" orm:"detail_status" description:"明细异步处理状态 0-待处理 1-处理中 2-成功 3-失败"`
|
||||
BlankOutStatus int `json:"blankOutStatus" orm:"blank_out_status" description:"作废状态 0-是 1-否"`
|
||||
RowNo int `json:"rowNo" orm:"row_no" description:"行号"`
|
||||
ItemId string `json:"itemId" orm:"item_id" description:"项ID:卡ICCID/设备编码"`
|
||||
ErrorCode string `json:"errorCode" orm:"error_code" description:"异常编码"`
|
||||
ErrorReason string `json:"errorReason" orm:"error_reason" description:"异常原因"`
|
||||
Snapshot *gjson.Json `json:"snapshot" orm:"snapshot" description:"信息快照"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门ID"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者ID"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者ID"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// BatchMain is the golang structure for table batch_main.
|
||||
type BatchMain struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
BatchNo string `json:"batchNo" orm:"batch_no" description:"批次编号"`
|
||||
OrderSn string `json:"orderSn" orm:"order_sn" description:"订单编号"`
|
||||
BatchType int `json:"batchType" orm:"batch_type" description:"批次类型 枚举"`
|
||||
BatchStatus int `json:"batchStatus" orm:"batch_status" description:"批次状态 枚举"`
|
||||
BatchAsyncStatus int `json:"batchAsyncStatus" orm:"batch_async_status" description:"异步处理状态"`
|
||||
SourceType int `json:"sourceType" orm:"source_type" description:"来源方式 枚举"`
|
||||
SourceBatchNo string `json:"sourceBatchNo" orm:"source_batch_no" description:"来源批次编号"`
|
||||
SourceOssId int64 `json:"sourceOssId" orm:"source_oss_id" description:"源文件OSS ID"`
|
||||
ResultOssId int64 `json:"resultOssId" orm:"result_oss_id" description:"结果文件OSS ID"`
|
||||
IsCrossDept int `json:"isCrossDept" orm:"is_cross_dept" description:"是否跨级操作机构"`
|
||||
TargetDeptId int64 `json:"targetDeptId" orm:"target_dept_id" description:"目标机构编号"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"机构编号"`
|
||||
TotalCount int `json:"totalCount" orm:"total_count" description:"总数量"`
|
||||
ValidCount int `json:"validCount" orm:"valid_count" description:"有效数量"`
|
||||
SuccessCount int `json:"successCount" orm:"success_count" description:"成功数量"`
|
||||
FailCount int `json:"failCount" orm:"fail_count" description:"失败数量"`
|
||||
RunResult int `json:"runResult" orm:"run_result" description:"运行结果"`
|
||||
FailReason string `json:"failReason" orm:"fail_reason" description:"失败原因"`
|
||||
BatchInfo *gjson.Json `json:"batchInfo" orm:"batch_info" description:"批次信息:入库/出库展示字段"`
|
||||
Remark *gjson.Json `json:"remark" orm:"remark" description:"备注扩展字段"`
|
||||
StartTime *gtime.Time `json:"startTime" orm:"start_time" description:"开始时间"`
|
||||
EndTime *gtime.Time `json:"endTime" orm:"end_time" description:"结束时间"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门ID"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者ID"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者ID"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
SourceChannel string `json:"sourceChannel" orm:"source_channel" description:"发起渠道:console/mini_program/api/system/legacy"`
|
||||
ExecutionMode uint `json:"executionMode" orm:"execution_mode" description:"操作规模:0未知1单卡2批量"`
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysClient is the golang structure for table sys_client.
|
||||
type SysClient struct {
|
||||
Id int64 `json:"id" orm:"id" description:"id"`
|
||||
ClientId string `json:"clientId" orm:"client_id" description:"客户端id"`
|
||||
ClientKey string `json:"clientKey" orm:"client_key" description:"客户端key"`
|
||||
ClientSecret string `json:"clientSecret" orm:"client_secret" description:"客户端秘钥"`
|
||||
GrantType string `json:"grantType" orm:"grant_type" description:"授权类型"`
|
||||
DeviceType string `json:"deviceType" orm:"device_type" description:"设备类型"`
|
||||
ActiveTimeout int `json:"activeTimeout" orm:"active_timeout" description:"token活跃超时时间"`
|
||||
Timeout int `json:"timeout" orm:"timeout" description:"token固定超时"`
|
||||
Status string `json:"status" orm:"status" description:"状态(0正常 1停用)"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
DeletedBy int64 `json:"deletedBy" orm:"deleted_by" description:"删除人"`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"删除时间"`
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysConfig is the golang structure for table sys_config.
|
||||
type SysConfig struct {
|
||||
ConfigId int64 `json:"configId" orm:"config_id" description:"参数主键"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
|
||||
ConfigName string `json:"configName" orm:"config_name" description:"参数名称"`
|
||||
ConfigKey string `json:"configKey" orm:"config_key" description:"参数键名"`
|
||||
ConfigValue string `json:"configValue" orm:"config_value" description:"参数键值"`
|
||||
ConfigType string `json:"configType" orm:"config_type" description:"系统内置(Y是 N否)"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysDept is the golang structure for table sys_dept.
|
||||
type SysDept struct {
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"部门id"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
|
||||
ParentId int64 `json:"parentId" orm:"parent_id" description:"父部门id"`
|
||||
Ancestors string `json:"ancestors" orm:"ancestors" description:"祖级列表"`
|
||||
DeptKey string `json:"deptKey" orm:"dept_key" description:"机构编号"`
|
||||
DeptName string `json:"deptName" orm:"dept_name" description:"部门名称"`
|
||||
DeptType int `json:"deptType" orm:"dept_type" description:"部门类型(0:部门 1:公司)"`
|
||||
DeptCategory string `json:"deptCategory" orm:"dept_category" description:"部门类别编码"`
|
||||
OrderNum int `json:"orderNum" orm:"order_num" description:"显示顺序"`
|
||||
Leader int64 `json:"leader" orm:"leader" description:"负责人"`
|
||||
Phone string `json:"phone" orm:"phone" description:"联系电话"`
|
||||
Email string `json:"email" orm:"email" description:"邮箱"`
|
||||
Status string `json:"status" orm:"status" description:"部门状态(0正常 1停用)"`
|
||||
CreditCode string `json:"creditCode" orm:"credit_code" description:"统一社会信用代码"`
|
||||
AreaCode string `json:"areaCode" orm:"area_code" description:"行政区域代码"`
|
||||
Address string `json:"address" orm:"address" description:"地址"`
|
||||
DeptRole int64 `json:"deptRole" orm:"dept_role" description:"机构默认角色ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
DeletedBy int64 `json:"deletedBy" orm:"deleted_by" description:"删除人"`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"删除时间"`
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysDictData is the golang structure for table sys_dict_data.
|
||||
type SysDictData struct {
|
||||
DictCode int64 `json:"dictCode" orm:"dict_code" description:"字典编码"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
|
||||
DictSort int `json:"dictSort" orm:"dict_sort" description:"字典排序"`
|
||||
DictLabel string `json:"dictLabel" orm:"dict_label" description:"字典标签"`
|
||||
DictValue string `json:"dictValue" orm:"dict_value" description:"字典键值"`
|
||||
DictType string `json:"dictType" orm:"dict_type" description:"字典类型"`
|
||||
CssClass string `json:"cssClass" orm:"css_class" description:"样式属性(其他样式扩展)"`
|
||||
ListClass string `json:"listClass" orm:"list_class" description:"表格回显样式"`
|
||||
IsDefault string `json:"isDefault" orm:"is_default" description:"是否默认(Y是 N否)"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysDictType is the golang structure for table sys_dict_type.
|
||||
type SysDictType struct {
|
||||
DictId int64 `json:"dictId" orm:"dict_id" description:"字典主键"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
|
||||
DictName string `json:"dictName" orm:"dict_name" description:"字典名称"`
|
||||
DictType string `json:"dictType" orm:"dict_type" description:"字典类型"`
|
||||
IsSys string `json:"isSys" orm:"is_sys" description:"是否系统(0是 1否)"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysGenTable is the golang structure for table sys_gen_table.
|
||||
type SysGenTable struct {
|
||||
TableId int64 `json:"tableId" orm:"table_id" description:"生成ID"`
|
||||
GenType uint `json:"genType" orm:"gen_type" description:"生成类型"`
|
||||
GenTemplate int `json:"genTemplate" orm:"gen_template" description:"生成模板"`
|
||||
VarName string `json:"varName" orm:"var_name" description:"实体命名"`
|
||||
Options string `json:"options" orm:"options" description:"配置选项"`
|
||||
DbName string `json:"dbName" orm:"db_name" description:"数据库名称"`
|
||||
TableName string `json:"tableName" orm:"table_name" description:"主表名称"`
|
||||
TableComment string `json:"tableComment" orm:"table_comment" description:"主表注释"`
|
||||
DaoName string `json:"daoName" orm:"dao_name" description:"主表dao模型"`
|
||||
MasterColumns string `json:"masterColumns" orm:"master_columns" description:"主表字段"`
|
||||
AddonName string `json:"addonName" orm:"addon_name" description:"插件名称"`
|
||||
Status string `json:"status" orm:"status" description:"生成状态(0成功 1未开始)"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysJob is the golang structure for table sys_job.
|
||||
type SysJob struct {
|
||||
JobId int64 `json:"jobId" orm:"job_id" description:"任务ID"`
|
||||
JobName string `json:"jobName" orm:"job_name" description:"任务名称"`
|
||||
JobParams string `json:"jobParams" orm:"job_params" description:"参数"`
|
||||
JobGroup string `json:"jobGroup" orm:"job_group" description:"任务组名"`
|
||||
InvokeTarget string `json:"invokeTarget" orm:"invoke_target" description:"调用目标字符串"`
|
||||
CronExpression string `json:"cronExpression" orm:"cron_expression" description:"cron执行表达式"`
|
||||
MisfirePolicy int `json:"misfirePolicy" orm:"misfire_policy" description:"计划执行策略(1多次执行 2执行一次)"`
|
||||
Concurrent int `json:"concurrent" orm:"concurrent" description:"是否并发执行(0允许 1禁止)"`
|
||||
Status string `json:"status" orm:"status" description:"状态(0正常 1暂停)"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注信息"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
DeletedBy int64 `json:"deletedBy" orm:"deleted_by" description:"删除人"`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"删除时间"`
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysLogininfor is the golang structure for table sys_logininfor.
|
||||
type SysLogininfor struct {
|
||||
InfoId int64 `json:"infoId" orm:"info_id" description:"访问ID"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
|
||||
UserName string `json:"userName" orm:"user_name" description:"用户账号"`
|
||||
ClientKey string `json:"clientKey" orm:"client_key" description:"客户端"`
|
||||
DeviceType string `json:"deviceType" orm:"device_type" description:"设备类型"`
|
||||
Ipaddr string `json:"ipaddr" orm:"ipaddr" description:"登录IP地址"`
|
||||
LoginLocation string `json:"loginLocation" orm:"login_location" description:"登录地点"`
|
||||
Browser string `json:"browser" orm:"browser" description:"浏览器类型"`
|
||||
Os string `json:"os" orm:"os" description:"操作系统"`
|
||||
Status string `json:"status" orm:"status" description:"登录状态(0成功 1失败)"`
|
||||
Msg string `json:"msg" orm:"msg" description:"提示消息"`
|
||||
LoginTime *gtime.Time `json:"loginTime" orm:"login_time" description:"访问时间"`
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysMenu is the golang structure for table sys_menu.
|
||||
type SysMenu struct {
|
||||
MenuId int64 `json:"menuId" orm:"menu_id" description:"菜单ID"`
|
||||
MenuName string `json:"menuName" orm:"menu_name" description:"菜单名称"`
|
||||
ParentId int64 `json:"parentId" orm:"parent_id" description:"父菜单ID"`
|
||||
Level int `json:"level" orm:"level" description:"关系树等级"`
|
||||
Tree string `json:"tree" orm:"tree" description:"关系树"`
|
||||
OrderNum int `json:"orderNum" orm:"order_num" description:"显示顺序"`
|
||||
Path string `json:"path" orm:"path" description:"路由地址"`
|
||||
Component string `json:"component" orm:"component" description:"组件路径"`
|
||||
QueryParam string `json:"queryParam" orm:"query_param" description:"路由参数"`
|
||||
IsFrame int `json:"isFrame" orm:"is_frame" description:"是否为外链(0是 1否)"`
|
||||
IsCache int `json:"isCache" orm:"is_cache" description:"是否缓存(0缓存 1不缓存)"`
|
||||
MenuType string `json:"menuType" orm:"menu_type" description:"菜单类型(M目录 C菜单 F按钮)"`
|
||||
Visible string `json:"visible" orm:"visible" description:"显示状态(0显示 1隐藏)"`
|
||||
Status string `json:"status" orm:"status" description:"菜单状态(0正常 1停用)"`
|
||||
Perms string `json:"perms" orm:"perms" description:"权限标识"`
|
||||
Icon string `json:"icon" orm:"icon" description:"菜单图标"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysNotice is the golang structure for table sys_notice.
|
||||
type SysNotice struct {
|
||||
NoticeId int64 `json:"noticeId" orm:"notice_id" description:"公告ID"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
|
||||
NoticeTitle string `json:"noticeTitle" orm:"notice_title" description:"公告标题"`
|
||||
NoticeType string `json:"noticeType" orm:"notice_type" description:"公告类型(1通知 2公告)"`
|
||||
NoticeContent []byte `json:"noticeContent" orm:"notice_content" description:"公告内容"`
|
||||
Status string `json:"status" orm:"status" description:"公告状态(0正常 1关闭)"`
|
||||
NoticeRange int `json:"noticeRange" orm:"notice_range" description:"通知范围(1全员 2指定机构 3指定用户)"`
|
||||
DeptIds string `json:"deptIds" orm:"dept_ids" description:"通知机构ID列表JSON"`
|
||||
UserIds string `json:"userIds" orm:"user_ids" description:"通知用户ID列表JSON"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysNoticeUser is the golang structure for table sys_notice_user.
|
||||
type SysNoticeUser struct {
|
||||
Id int64 `json:"id" orm:"id" description:"ID"`
|
||||
NoticeId int64 `json:"noticeId" orm:"notice_id" description:"公告ID"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
|
||||
NoticeTitle string `json:"noticeTitle" orm:"notice_title" description:"公告标题"`
|
||||
NoticeType string `json:"noticeType" orm:"notice_type" description:"公告类型(1通知 2公告)"`
|
||||
NoticeContent []byte `json:"noticeContent" orm:"notice_content" description:"公告内容"`
|
||||
Status string `json:"status" orm:"status" description:"公告状态(0正常 1关闭)"`
|
||||
UserId int64 `json:"userId" orm:"user_id" description:"用户ID"`
|
||||
IsRead int `json:"isRead" orm:"is_read" description:"是否已读(0未读 1已读)"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysOperLog is the golang structure for table sys_oper_log.
|
||||
type SysOperLog struct {
|
||||
OperId int64 `json:"operId" orm:"oper_id" description:"日志主键"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
|
||||
Title string `json:"title" orm:"title" description:"模块标题"`
|
||||
BusinessType int `json:"businessType" orm:"business_type" description:"业务类型(0其它 1新增 2修改 3删除)"`
|
||||
Method string `json:"method" orm:"method" description:"方法名称"`
|
||||
RequestMethod string `json:"requestMethod" orm:"request_method" description:"请求方式"`
|
||||
OperatorType int `json:"operatorType" orm:"operator_type" description:"操作类别(0其它 1后台用户 2手机端用户)"`
|
||||
OperName string `json:"operName" orm:"oper_name" description:"操作人员"`
|
||||
DeptName string `json:"deptName" orm:"dept_name" description:"部门名称"`
|
||||
OperUrl string `json:"operUrl" orm:"oper_url" description:"请求URL"`
|
||||
OperIp string `json:"operIp" orm:"oper_ip" description:"主机地址"`
|
||||
OperLocation string `json:"operLocation" orm:"oper_location" description:"操作地点"`
|
||||
OperParam string `json:"operParam" orm:"oper_param" description:"请求参数"`
|
||||
JsonResult string `json:"jsonResult" orm:"json_result" description:"返回参数"`
|
||||
Status int `json:"status" orm:"status" description:"操作状态(0正常 1异常)"`
|
||||
ErrorMsg string `json:"errorMsg" orm:"error_msg" description:"错误消息"`
|
||||
OperTime *gtime.Time `json:"operTime" orm:"oper_time" description:"操作时间"`
|
||||
CostTime int64 `json:"costTime" orm:"cost_time" description:"消耗时间"`
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysOss is the golang structure for table sys_oss.
|
||||
type SysOss struct {
|
||||
OssId int64 `json:"ossId" orm:"oss_id" description:"对象存储主键"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
|
||||
FileName string `json:"fileName" orm:"file_name" description:"文件名"`
|
||||
OriginalName string `json:"originalName" orm:"original_name" description:"原名"`
|
||||
FileSuffix string `json:"fileSuffix" orm:"file_suffix" description:"文件后缀名"`
|
||||
Path string `json:"path" orm:"path" description:"存储路径"`
|
||||
Url string `json:"url" orm:"url" description:"URL地址"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
Service string `json:"service" orm:"service" description:"服务商"`
|
||||
Md5 string `json:"md5" orm:"md5" description:"文件MD5"`
|
||||
FileSize int `json:"fileSize" orm:"file_size" description:"文件大小"`
|
||||
FileCrc16 int `json:"fileCrc16" orm:"file_crc16" description:"文件Crc16"`
|
||||
FileSum int `json:"fileSum" orm:"file_sum" description:"文件校验和"`
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysOssConfig is the golang structure for table sys_oss_config.
|
||||
type SysOssConfig struct {
|
||||
OssConfigId int64 `json:"ossConfigId" orm:"oss_config_id" description:"主键"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
|
||||
ConfigKey string `json:"configKey" orm:"config_key" description:"配置key"`
|
||||
AccessKey string `json:"accessKey" orm:"access_key" description:"accessKey"`
|
||||
SecretKey string `json:"secretKey" orm:"secret_key" description:"秘钥"`
|
||||
BucketName string `json:"bucketName" orm:"bucket_name" description:"桶名称"`
|
||||
Prefix string `json:"prefix" orm:"prefix" description:"前缀"`
|
||||
Endpoint string `json:"endpoint" orm:"endpoint" description:"访问站点"`
|
||||
Domain string `json:"domain" orm:"domain" description:"自定义域名"`
|
||||
IsHttps string `json:"isHttps" orm:"is_https" description:"是否https(Y=是,N=否)"`
|
||||
Region string `json:"region" orm:"region" description:"域"`
|
||||
AccessPolicy string `json:"accessPolicy" orm:"access_policy" description:"桶权限类型(0=private 1=public 2=custom)"`
|
||||
Status string `json:"status" orm:"status" description:"是否默认(0=是,1=否)"`
|
||||
Ext1 string `json:"ext1" orm:"ext1" description:"扩展字段"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysPost is the golang structure for table sys_post.
|
||||
type SysPost struct {
|
||||
PostId int64 `json:"postId" orm:"post_id" description:"岗位ID"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"部门id"`
|
||||
PostCode string `json:"postCode" orm:"post_code" description:"岗位编码"`
|
||||
PostCategory string `json:"postCategory" orm:"post_category" description:"岗位类别编码"`
|
||||
PostName string `json:"postName" orm:"post_name" description:"岗位名称"`
|
||||
PostSort int `json:"postSort" orm:"post_sort" description:"显示顺序"`
|
||||
Status string `json:"status" orm:"status" description:"状态(0正常 1停用)"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
DeletedBy int64 `json:"deletedBy" orm:"deleted_by" description:"删除人"`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"删除时间"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysRole is the golang structure for table sys_role.
|
||||
type SysRole struct {
|
||||
RoleId int64 `json:"roleId" orm:"role_id" description:"角色ID"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"部门机构id"`
|
||||
RoleName string `json:"roleName" orm:"role_name" description:"角色名称"`
|
||||
RoleKey string `json:"roleKey" orm:"role_key" description:"角色权限字符串"`
|
||||
RoleSort int `json:"roleSort" orm:"role_sort" description:"显示顺序"`
|
||||
DataScope string `json:"dataScope" orm:"data_scope" description:"数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限 5:仅本人数据权限 6:仅本人数据权限 7:本组织及下一级数据权限"`
|
||||
MenuCheckStrictly int `json:"menuCheckStrictly" orm:"menu_check_strictly" description:"菜单树选择项是否关联显示"`
|
||||
DeptCheckStrictly int `json:"deptCheckStrictly" orm:"dept_check_strictly" description:"部门树选择项是否关联显示"`
|
||||
Status string `json:"status" orm:"status" description:"角色状态(0正常 1停用)"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
DeletedBy int64 `json:"deletedBy" orm:"deleted_by" description:"删除人"`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"删除时间"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
// SysRoleDept is the golang structure for table sys_role_dept.
|
||||
type SysRoleDept struct {
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
|
||||
RoleId int64 `json:"roleId" orm:"role_id" description:"角色ID"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"部门ID"`
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
// SysRoleMenu is the golang structure for table sys_role_menu.
|
||||
type SysRoleMenu struct {
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
|
||||
RoleId int64 `json:"roleId" orm:"role_id" description:"角色ID"`
|
||||
MenuId int64 `json:"menuId" orm:"menu_id" description:"菜单ID"`
|
||||
DataScope string `json:"dataScope" orm:"data_scope" description:"数据范围(0按角色数据权限 1全部数据权限 3本部门数据权限 4本部门及以下数据权限 5仅本人数据权限 6本部门及以下或本人数据权限 7本组织及本组织下一级数据权限 8本组织下一级数据权限)"`
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysSocial is the golang structure for table sys_social.
|
||||
type SysSocial struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键"`
|
||||
UserId int64 `json:"userId" orm:"user_id" description:"用户ID"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户id"`
|
||||
AuthId string `json:"authId" orm:"auth_id" description:"平台+平台唯一id"`
|
||||
Source string `json:"source" orm:"source" description:"用户来源"`
|
||||
OpenId string `json:"openId" orm:"open_id" description:"平台编号唯一id"`
|
||||
UserName string `json:"userName" orm:"user_name" description:"登录账号"`
|
||||
NickName string `json:"nickName" orm:"nick_name" description:"用户昵称"`
|
||||
Email string `json:"email" orm:"email" description:"用户邮箱"`
|
||||
Avatar string `json:"avatar" orm:"avatar" description:"头像地址"`
|
||||
AccessToken string `json:"accessToken" orm:"access_token" description:"用户的授权令牌"`
|
||||
ExpireIn int `json:"expireIn" orm:"expire_in" description:"用户的授权令牌的有效期,部分平台可能没有"`
|
||||
RefreshToken string `json:"refreshToken" orm:"refresh_token" description:"刷新令牌,部分平台可能没有"`
|
||||
AccessCode string `json:"accessCode" orm:"access_code" description:"平台的授权信息,部分平台可能没有"`
|
||||
UnionId string `json:"unionId" orm:"union_id" description:"用户的 unionid"`
|
||||
Scope string `json:"scope" orm:"scope" description:"授予的权限,部分平台可能没有"`
|
||||
TokenType string `json:"tokenType" orm:"token_type" description:"个别平台的授权信息,部分平台可能没有"`
|
||||
IdToken string `json:"idToken" orm:"id_token" description:"id token,部分平台可能没有"`
|
||||
MacAlgorithm string `json:"macAlgorithm" orm:"mac_algorithm" description:"小米平台用户的附带属性,部分平台可能没有"`
|
||||
MacKey string `json:"macKey" orm:"mac_key" description:"小米平台用户的附带属性,部分平台可能没有"`
|
||||
Code string `json:"code" orm:"code" description:"用户的授权code,部分平台可能没有"`
|
||||
OauthToken string `json:"oauthToken" orm:"oauth_token" description:"Twitter平台用户的附带属性,部分平台可能没有"`
|
||||
OauthTokenSecret string `json:"oauthTokenSecret" orm:"oauth_token_secret" description:"Twitter平台用户的附带属性,部分平台可能没有"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
DeletedBy int64 `json:"deletedBy" orm:"deleted_by" description:"删除人"`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"删除时间"`
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysTenant is the golang structure for table sys_tenant.
|
||||
type SysTenant struct {
|
||||
Id int64 `json:"id" orm:"id" description:"id"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
|
||||
ContactUserName string `json:"contactUserName" orm:"contact_user_name" description:"联系人"`
|
||||
ContactPhone string `json:"contactPhone" orm:"contact_phone" description:"联系电话"`
|
||||
CompanyName string `json:"companyName" orm:"company_name" description:"企业名称"`
|
||||
LicenseNumber string `json:"licenseNumber" orm:"license_number" description:"统一社会信用代码"`
|
||||
Address string `json:"address" orm:"address" description:"地址"`
|
||||
Intro string `json:"intro" orm:"intro" description:"企业简介"`
|
||||
Domain string `json:"domain" orm:"domain" description:"域名"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
PackageId int64 `json:"packageId" orm:"package_id" description:"租户套餐编号"`
|
||||
AdminRoleId int64 `json:"adminRoleId" orm:"admin_role_id" description:"管理员角色ID"`
|
||||
AdminDeptId int64 `json:"adminDeptId" orm:"admin_dept_id" description:"管理员部门ID"`
|
||||
AdminUserId int64 `json:"adminUserId" orm:"admin_user_id" description:"管理员用户ID"`
|
||||
ExpireTime *gtime.Time `json:"expireTime" orm:"expire_time" description:"过期时间"`
|
||||
AccountCount int `json:"accountCount" orm:"account_count" description:"用户数量(-1不限制)"`
|
||||
Status string `json:"status" orm:"status" description:"租户状态(0正常 1停用)"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
DeletedBy int64 `json:"deletedBy" orm:"deleted_by" description:"删除人"`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"删除时间"`
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysTenantPackage is the golang structure for table sys_tenant_package.
|
||||
type SysTenantPackage struct {
|
||||
PackageId int64 `json:"packageId" orm:"package_id" description:"租户套餐id"`
|
||||
PackageName string `json:"packageName" orm:"package_name" description:"套餐名称"`
|
||||
MenuIds string `json:"menuIds" orm:"menu_ids" description:"关联菜单id"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
MenuCheckStrictly int `json:"menuCheckStrictly" orm:"menu_check_strictly" description:"菜单树选择项是否关联显示"`
|
||||
Status string `json:"status" orm:"status" description:"状态(0正常 1停用)"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
DeletedBy int64 `json:"deletedBy" orm:"deleted_by" description:"删除人"`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"删除时间"`
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysUser is the golang structure for table sys_user.
|
||||
type SysUser struct {
|
||||
UserId int64 `json:"userId" orm:"user_id" description:"用户ID"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"部门ID"`
|
||||
UserName string `json:"userName" orm:"user_name" description:"用户账号"`
|
||||
NickName string `json:"nickName" orm:"nick_name" description:"用户昵称"`
|
||||
UserType string `json:"userType" orm:"user_type" description:"用户类型(sys_user系统用户)"`
|
||||
Email string `json:"email" orm:"email" description:"用户邮箱"`
|
||||
Phonenumber string `json:"phonenumber" orm:"phonenumber" description:"手机号码"`
|
||||
Sex string `json:"sex" orm:"sex" description:"用户性别(0男 1女 2未知)"`
|
||||
Avatar string `json:"avatar" orm:"avatar" description:"头像地址"`
|
||||
Salt string `json:"salt" orm:"salt" description:"加密盐"`
|
||||
Password string `json:"password" orm:"password" description:"密码"`
|
||||
Status string `json:"status" orm:"status" description:"帐号状态(0正常 1停用)"`
|
||||
LoginIp string `json:"loginIp" orm:"login_ip" description:"最后登录IP"`
|
||||
LoginDate *gtime.Time `json:"loginDate" orm:"login_date" description:"最后登录时间"`
|
||||
MfaEnabled int `json:"mfaEnabled" orm:"mfa_enabled" description:"是否开启邮箱MFA 0否 1是"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
DeletedBy int64 `json:"deletedBy" orm:"deleted_by" description:"删除人"`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"删除时间"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysUserOnline is the golang structure for table sys_user_online.
|
||||
type SysUserOnline struct {
|
||||
OnlineId int64 `json:"onlineId" orm:"online_id" description:"访问ID"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
|
||||
Uuid string `json:"uuid" orm:"uuid" description:"UUID"`
|
||||
UserName string `json:"userName" orm:"user_name" description:"用户账号"`
|
||||
ClientKey string `json:"clientKey" orm:"client_key" description:"客户端"`
|
||||
DeviceType string `json:"deviceType" orm:"device_type" description:"设备类型"`
|
||||
Ipaddr string `json:"ipaddr" orm:"ipaddr" description:"登录IP地址"`
|
||||
LoginLocation string `json:"loginLocation" orm:"login_location" description:"登录地点"`
|
||||
Browser string `json:"browser" orm:"browser" description:"浏览器类型"`
|
||||
Os string `json:"os" orm:"os" description:"操作系统"`
|
||||
Token string `json:"token" orm:"token" description:"Token"`
|
||||
LoginTime *gtime.Time `json:"loginTime" orm:"login_time" description:"访问时间"`
|
||||
ExpireTime *gtime.Time `json:"expireTime" orm:"expire_time" description:"过期时间"`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"删除时间"`
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
// SysUserPost is the golang structure for table sys_user_post.
|
||||
type SysUserPost struct {
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
|
||||
UserId int64 `json:"userId" orm:"user_id" description:"用户ID"`
|
||||
PostId int64 `json:"postId" orm:"post_id" description:"岗位ID"`
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
// SysUserRole is the golang structure for table sys_user_role.
|
||||
type SysUserRole struct {
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
|
||||
UserId int64 `json:"userId" orm:"user_id" description:"用户ID"`
|
||||
RoleId int64 `json:"roleId" orm:"role_id" description:"角色ID"`
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TAgentBalance is the golang structure for table t_agent_balance.
|
||||
type TAgentBalance struct {
|
||||
Id int64 `json:"id" orm:"id" description:"账户ID"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"机构ID"`
|
||||
Balance float64 `json:"balance" orm:"balance" description:"账户余额"`
|
||||
WithdrawAmount float64 `json:"withdrawAmount" orm:"withdraw_amount" description:"可提现金额"`
|
||||
WithdrawAmountStatus int `json:"withdrawAmountStatus" orm:"withdraw_amount_status" description:"可提现金额状态: 1-正常, 0-冻结"`
|
||||
InvoiceAmount float64 `json:"invoiceAmount" orm:"invoice_amount" description:"已开票金额"`
|
||||
CanInvoiceAmount float64 `json:"canInvoiceAmount" orm:"can_invoice_amount" description:"可开票金额"`
|
||||
CreditLimit float64 `json:"creditLimit" orm:"credit_limit" description:"信用额度"`
|
||||
UsedCredit float64 `json:"usedCredit" orm:"used_credit" description:"已使用信用额度"`
|
||||
PendingRepayment float64 `json:"pendingRepayment" orm:"pending_repayment" description:"待还款金额"`
|
||||
Status int `json:"status" orm:"status" description:"状态: 0-正常, 1-禁用"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TAgentEnterprise is the golang structure for table t_agent_enterprise.
|
||||
type TAgentEnterprise struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"部门机构id"`
|
||||
FullName string `json:"fullName" orm:"full_name" description:"单位全称"`
|
||||
Industry string `json:"industry" orm:"industry" description:"行业"`
|
||||
LegalPersonName string `json:"legalPersonName" orm:"legal_person_name" description:"法人名称"`
|
||||
LegalPersonIdCard string `json:"legalPersonIdCard" orm:"legal_person_id_card" description:"法人身份证号"`
|
||||
CompanyType string `json:"companyType" orm:"company_type" description:"单位类型"`
|
||||
EstablishTime *gtime.Time `json:"establishTime" orm:"establish_time" description:"单位成立时间"`
|
||||
BankName string `json:"bankName" orm:"bank_name" description:"开户行名称"`
|
||||
BankAccount string `json:"bankAccount" orm:"bank_account" description:"开户行账号"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TApi is the golang structure for table t_api.
|
||||
type TApi struct {
|
||||
Id int64 `json:"id" orm:"id" description:"ID"`
|
||||
AppKey string `json:"appKey" orm:"app_key" description:"APPKey"`
|
||||
AppSecret string `json:"appSecret" orm:"app_secret" description:"APPSecret"`
|
||||
GroupId int64 `json:"groupId" orm:"group_id" description:"权限组ID"`
|
||||
Status int `json:"status" orm:"status" description:"状态:0启用,1停用"`
|
||||
RateLimitPeriod int `json:"rateLimitPeriod" orm:"rate_limit_period" description:"限流周期(秒,0:不限流)"`
|
||||
RateLimitCount int `json:"rateLimitCount" orm:"rate_limit_count" description:"限流次数"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"所属机构"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TApiGroup is the golang structure for table t_api_group.
|
||||
type TApiGroup struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
GroupName string `json:"groupName" orm:"group_name" description:"权限组名称"`
|
||||
GroupCode string `json:"groupCode" orm:"group_code" description:"权限组编码"`
|
||||
Status int `json:"status" orm:"status" description:"状态:0启用,1停用"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
// TApiGroupResource is the golang structure for table t_api_group_resource.
|
||||
type TApiGroupResource struct {
|
||||
GroupId int64 `json:"groupId" orm:"group_id" description:"权限组ID,对应t_api_group.id"`
|
||||
ApiId int64 `json:"apiId" orm:"api_id" description:"开放接口资源ID,对应t_api_resource.id"`
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TApiResource is the golang structure for table t_api_resource.
|
||||
type TApiResource struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
ApiName string `json:"apiName" orm:"api_name" description:"接口名称"`
|
||||
ApiCode string `json:"apiCode" orm:"api_code" description:"接口权限标识"`
|
||||
Method string `json:"method" orm:"method" description:"请求方法:GET/POST/PUT/DELETE"`
|
||||
Path string `json:"path" orm:"path" description:"接口路径"`
|
||||
Status int `json:"status" orm:"status" description:"状态:0启用,1停用"`
|
||||
Version string `json:"version" orm:"version" description:"接口版本"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TBalanceDetail is the golang structure for table t_balance_detail.
|
||||
type TBalanceDetail struct {
|
||||
Id int64 `json:"id" orm:"id" description:"明细ID"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"账户ID"`
|
||||
SerialNo string `json:"serialNo" orm:"serial_no" description:"流水号"`
|
||||
TransactionTime *gtime.Time `json:"transactionTime" orm:"transaction_time" description:"交易时间"`
|
||||
IncomeExpenseType int `json:"incomeExpenseType" orm:"income_expense_type" description:"收支类型: 0收入,1支出"`
|
||||
TransactionType int `json:"transactionType" orm:"transaction_type" description:"交易类型:0充值 1消费 2转可提现 3可提现转入 4人工调整"`
|
||||
TransactionChannel int `json:"transactionChannel" orm:"transaction_channel" description:"交易渠道:1支付宝 2微信 3可提现金额"`
|
||||
Amount float64 `json:"amount" orm:"amount" description:"交易金额"`
|
||||
BeforeBalance float64 `json:"beforeBalance" orm:"before_balance" description:"变动前余额"`
|
||||
BalanceAfter float64 `json:"balanceAfter" orm:"balance_after" description:"变动后余额"`
|
||||
ChannelSerialNo string `json:"channelSerialNo" orm:"channel_serial_no" description:"交易渠道流水号"`
|
||||
OrderSn string `json:"orderSn" orm:"order_sn" description:"关联订单号"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TConsumeAccountMonthBill is the golang structure for table t_consume_account_month_bill.
|
||||
type TConsumeAccountMonthBill struct {
|
||||
Id int64 `json:"id" orm:"id" description:"账单ID"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"机构ID"`
|
||||
AccountPeriod string `json:"accountPeriod" orm:"account_period" description:"账期YYYY-MM"`
|
||||
OpeningBalance float64 `json:"openingBalance" orm:"opening_balance" description:"月初余额"`
|
||||
RechargeIncome float64 `json:"rechargeIncome" orm:"recharge_income" description:"充值收入"`
|
||||
WithdrawableTransferInIncome float64 `json:"withdrawableTransferInIncome" orm:"withdrawable_transfer_in_income" description:"可提现转入收入"`
|
||||
ManualAdjustIncome float64 `json:"manualAdjustIncome" orm:"manual_adjust_income" description:"人工调账收入"`
|
||||
RefundIncome float64 `json:"refundIncome" orm:"refund_income" description:"退款收入"`
|
||||
ConsumeExpense float64 `json:"consumeExpense" orm:"consume_expense" description:"平台消费支出"`
|
||||
BalanceTransferOutExpense float64 `json:"balanceTransferOutExpense" orm:"balance_transfer_out_expense" description:"转可提现支出"`
|
||||
ManualAdjustExpense float64 `json:"manualAdjustExpense" orm:"manual_adjust_expense" description:"人工调账支出"`
|
||||
ConsumeCreditRepayExpense float64 `json:"consumeCreditRepayExpense" orm:"consume_credit_repay_expense" description:"消费账户还款支出"`
|
||||
TotalIncome float64 `json:"totalIncome" orm:"total_income" description:"本月收入总额"`
|
||||
TotalExpense float64 `json:"totalExpense" orm:"total_expense" description:"本月支出总额"`
|
||||
ClosingBalance float64 `json:"closingBalance" orm:"closing_balance" description:"月末余额(月初余额+本月收入-本月支出)"`
|
||||
IncomeCount int `json:"incomeCount" orm:"income_count" description:"收入笔数"`
|
||||
ExpenseCount int `json:"expenseCount" orm:"expense_count" description:"支出笔数"`
|
||||
CreditUsed float64 `json:"creditUsed" orm:"credit_used" description:"本月使用信用额度"`
|
||||
CreditRepaid float64 `json:"creditRepaid" orm:"credit_repaid" description:"本月还款信用额度"`
|
||||
BillStatus int `json:"billStatus" orm:"bill_status" description:"账单状态:1正常,2已调整,3已作废"`
|
||||
SettleTime *gtime.Time `json:"settleTime" orm:"settle_time" description:"结算时间"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TCreditDetail is the golang structure for table t_credit_detail.
|
||||
type TCreditDetail struct {
|
||||
Id int64 `json:"id" orm:"id" description:"明细ID"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"组织机构ID"`
|
||||
AccountPeriod string `json:"accountPeriod" orm:"account_period" description:"账期(YYYY-MM)"`
|
||||
TransactionType string `json:"transactionType" orm:"transaction_type" description:"交易类型: 使用/还款"`
|
||||
Amount float64 `json:"amount" orm:"amount" description:"金额"`
|
||||
CreditBalanceBefore float64 `json:"creditBalanceBefore" orm:"credit_balance_before" description:"变动前信用额度余额"`
|
||||
CreditBalanceAfter float64 `json:"creditBalanceAfter" orm:"credit_balance_after" description:"变动后信用额度余额"`
|
||||
RelatedOrderSn string `json:"relatedOrderSn" orm:"related_order_sn" description:"关联订单号"`
|
||||
RepaymentMethod int `json:"repaymentMethod" orm:"repayment_method" description:"还款方式: 0 余额 1 银行卡 2 支付宝 3 微信"`
|
||||
RepaymentChannelSerial string `json:"repaymentChannelSerial" orm:"repayment_channel_serial" description:"交易渠道流水号"`
|
||||
TransactionTime *gtime.Time `json:"transactionTime" orm:"transaction_time" description:"交易时间"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TCustWithdrawAccount is the golang structure for table t_cust_withdraw_account.
|
||||
type TCustWithdrawAccount struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
DeptId uint `json:"deptId" orm:"dept_id" description:"企业客户ID"`
|
||||
AccountType uint `json:"accountType" orm:"account_type" description:"提现账号类型,1:支付宝,2:微信"`
|
||||
AccountNo string `json:"accountNo" orm:"account_no" description:"账号"`
|
||||
AccountName string `json:"accountName" orm:"account_name" description:"账户名称/真实姓名"`
|
||||
Mobile string `json:"mobile" orm:"mobile" description:"手机号"`
|
||||
IsDefault int `json:"isDefault" orm:"is_default" description:"是否默认账号:0-否 1-是"`
|
||||
Enabled int `json:"enabled" orm:"enabled" description:"是否启用:0-未启用 1-启用"`
|
||||
Status int `json:"status" orm:"status" description:"状态:0-禁用 1-正常"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门ID"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者ID"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者ID"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TDeptFlowDaily is the golang structure for table t_dept_flow_daily.
|
||||
type TDeptFlowDaily struct {
|
||||
Id int64 `json:"id" orm:"id" description:"自增主键"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"渠道客户ID"`
|
||||
StatDate *gtime.Time `json:"statDate" orm:"stat_date" description:"统计日期"`
|
||||
TotalUsedFlowMb float64 `json:"totalUsedFlowMb" orm:"total_used_flow_mb" description:"当日所有卡总消耗流量MB"`
|
||||
TotalSms int `json:"totalSms" orm:"total_sms" description:"当日总短信使用条数"`
|
||||
TotalVoiceMin int `json:"totalVoiceMin" orm:"total_voice_min" description:"当日总语音分钟数"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注,同步失败原因/特殊说明"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
// TDivisionCode is the golang structure for table t_division_code.
|
||||
type TDivisionCode struct {
|
||||
RegionId int64 `json:"regionId" orm:"region_id" description:"ID"`
|
||||
RegionCode string `json:"regionCode" orm:"region_code" description:"行政区域代码"`
|
||||
RegionName string `json:"regionName" orm:"region_name" description:"行政区域名称"`
|
||||
RegionLevel int `json:"regionLevel" orm:"region_level" description:"等级"`
|
||||
RegionParent string `json:"regionParent" orm:"region_parent" description:"上级代码"`
|
||||
RegionType string `json:"regionType" orm:"region_type" description:"城乡分类代码"`
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TFinCommissionDetail is the golang structure for table t_fin_commission_detail.
|
||||
type TFinCommissionDetail struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
CommissionNo string `json:"commissionNo" orm:"commission_no" description:"分润明细编号"`
|
||||
OrderSn string `json:"orderSn" orm:"order_sn" description:"订单编号"`
|
||||
OrderType string `json:"orderType" orm:"order_type" description:"订单类型"`
|
||||
ProductId int64 `json:"productId" orm:"product_id" description:"商品ID"`
|
||||
PayerDeptId int64 `json:"payerDeptId" orm:"payer_dept_id" description:"下级机构ID"`
|
||||
BenefitDeptId int64 `json:"benefitDeptId" orm:"benefit_dept_id" description:"受益机构ID"`
|
||||
BenefitDeptLevel int `json:"benefitDeptLevel" orm:"benefit_dept_level" description:"受益机构层级"`
|
||||
CommissionAmount float64 `json:"commissionAmount" orm:"commission_amount" description:"分润金额"`
|
||||
CommissionStatus int `json:"commissionStatus" orm:"commission_status" description:"分润状态:0待结算,1可提现"`
|
||||
BenefitSnapshot *gjson.Json `json:"benefitSnapshot" orm:"benefit_snapshot" description:"价格快照(受益机构的成本价+利润+利润悉数=出货单价)"`
|
||||
AccountPeriod string `json:"accountPeriod" orm:"account_period" description:"账期(YYYY-MM)"`
|
||||
SettlementTime *gtime.Time `json:"settlementTime" orm:"settlement_time" description:"结算时间"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TFinWithdrawableChange is the golang structure for table t_fin_withdrawable_change.
|
||||
type TFinWithdrawableChange struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"机构ID"`
|
||||
ChangeType int `json:"changeType" orm:"change_type" description:"变动类型:0分润,1提现,2转出(可提现转余额)3转入(余额转可提现)4还款"`
|
||||
IncomeExpenseType int `json:"incomeExpenseType" orm:"income_expense_type" description:"收支类型: 0收入,1支出"`
|
||||
ChangeAmount float64 `json:"changeAmount" orm:"change_amount" description:"变动金额"`
|
||||
BeforeBalance float64 `json:"beforeBalance" orm:"before_balance" description:"变动前可提现余额"`
|
||||
AfterBalance float64 `json:"afterBalance" orm:"after_balance" description:"变动后可提现余额"`
|
||||
AccountType int `json:"accountType" orm:"account_type" description:"提现账号类型,1:银行卡,2:支付宝,3:微信"`
|
||||
BankName string `json:"bankName" orm:"bank_name" description:"开户行名称"`
|
||||
BankAccount string `json:"bankAccount" orm:"bank_account" description:"开户行账号或账号"`
|
||||
AccountName string `json:"accountName" orm:"account_name" description:"用户姓名"`
|
||||
IdentityCard string `json:"identityCard" orm:"identity_card" description:"用户身份证号"`
|
||||
SourceNo string `json:"sourceNo" orm:"source_no" description:"来源单号"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
AccountPeriod string `json:"accountPeriod" orm:"account_period" description:"账期(YYYY-MM)"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TFinanceApply is the golang structure for table t_finance_apply.
|
||||
type TFinanceApply struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
ApplyNo string `json:"applyNo" orm:"apply_no" description:"申请单号"`
|
||||
ApplyType int `json:"applyType" orm:"apply_type" description:"申请类型(1:提现申请,2:余额转提现)"`
|
||||
AuditType int `json:"auditType" orm:"audit_type" description:"审核类型:1初审,2复审"`
|
||||
ApplyDeptId int64 `json:"applyDeptId" orm:"apply_dept_id" description:"申请机构ID"`
|
||||
AuditDeptId int64 `json:"auditDeptId" orm:"audit_dept_id" description:"审核方机构ID,通常为直属上级或顶级"`
|
||||
AvailableAmountSnapshot float64 `json:"availableAmountSnapshot" orm:"available_amount_snapshot" description:"申请前可提现余额快照"`
|
||||
ApplyAmount float64 `json:"applyAmount" orm:"apply_amount" description:"申请金额"`
|
||||
AccountType int `json:"accountType" orm:"account_type" description:"提现账号类型,1:银行卡,2:支付宝,3:微信"`
|
||||
BankName string `json:"bankName" orm:"bank_name" description:"开户行名称"`
|
||||
BankAccount string `json:"bankAccount" orm:"bank_account" description:"开户行账号或账号"`
|
||||
AccountName string `json:"accountName" orm:"account_name" description:"用户姓名"`
|
||||
IdentityCard string `json:"identityCard" orm:"identity_card" description:"用户身份证号"`
|
||||
ReceiveAccount *gjson.Json `json:"receiveAccount" orm:"receive_account" description:"收款账户信息快照"`
|
||||
ApplyStatus int `json:"applyStatus" orm:"apply_status" description:"状态:0待审核,1已通过,2已驳回,3已打款,4已取消"`
|
||||
ApplyTime *gtime.Time `json:"applyTime" orm:"apply_time" description:"申请时间"`
|
||||
AuditTime *gtime.Time `json:"auditTime" orm:"audit_time" description:"最近审核时间"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TFinanceAuditRecord is the golang structure for table t_finance_audit_record.
|
||||
type TFinanceAuditRecord struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
AuditNo string `json:"auditNo" orm:"audit_no" description:"审核记录编号"`
|
||||
ApplyNo string `json:"applyNo" orm:"apply_no" description:"申请单号"`
|
||||
AuditDeptId int64 `json:"auditDeptId" orm:"audit_dept_id" description:"审核方机构ID"`
|
||||
AuditorUserId int64 `json:"auditorUserId" orm:"auditor_user_id" description:"审核人ID"`
|
||||
AuditResult int `json:"auditResult" orm:"audit_result" description:"审核结果:0通过,1驳回"`
|
||||
AuditOpinion string `json:"auditOpinion" orm:"audit_opinion" description:"审核意见"`
|
||||
AuditTime *gtime.Time `json:"auditTime" orm:"audit_time" description:"审核时间"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,66 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TOrder is the golang structure for table t_order.
|
||||
type TOrder struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
OrderSn string `json:"orderSn" orm:"order_sn" description:"订单编号"`
|
||||
ParentOrderId int64 `json:"parentOrderId" orm:"parent_order_id" description:"父订单ID"`
|
||||
ParentOrderSn string `json:"parentOrderSn" orm:"parent_order_sn" description:"父订单编号"`
|
||||
CustomerType int `json:"customerType" orm:"customer_type" description:"客户类型 枚举"`
|
||||
CustomerAgentId int64 `json:"customerAgentId" orm:"customer_agent_id" description:"渠道编号(购买方)"`
|
||||
EndUserId int64 `json:"endUserId" orm:"end_user_id" description:"终端客户编号"`
|
||||
AgentId int64 `json:"agentId" orm:"agent_id" description:"渠道编号(销售方)"`
|
||||
OrderType int `json:"orderType" orm:"order_type" description:"订单类型 枚举"`
|
||||
OrderStatus int `json:"orderStatus" orm:"order_status" description:"订单状态 枚举"`
|
||||
ShippingStatus int `json:"shippingStatus" orm:"shipping_status" description:"配送状态 枚举"`
|
||||
ReturnStatus int `json:"returnStatus" orm:"return_status" description:"退货状态 枚举"`
|
||||
Consignee string `json:"consignee" orm:"consignee" description:"收货人姓名"`
|
||||
Mobile string `json:"mobile" orm:"mobile" description:"收货人手机"`
|
||||
Email string `json:"email" orm:"email" description:"收货人邮箱"`
|
||||
Address string `json:"address" orm:"address" description:"详细地址"`
|
||||
AreaCode string `json:"areaCode" orm:"area_code" description:"行政区域代码"`
|
||||
BuyerNote string `json:"buyerNote" orm:"buyer_note" description:"买家备注"`
|
||||
AdminNote string `json:"adminNote" orm:"admin_note" description:"商家备注"`
|
||||
Remark string `json:"remark" orm:"remark" description:"系统备注"`
|
||||
ShippingMethod int `json:"shippingMethod" orm:"shipping_method" description:"发货方式 枚举"`
|
||||
LogisticsId int64 `json:"logisticsId" orm:"logistics_id" description:"快递公司ID"`
|
||||
LogisticsName string `json:"logisticsName" orm:"logistics_name" description:"物流公司名称"`
|
||||
ShippingTypeId int64 `json:"shippingTypeId" orm:"shipping_type_id" description:"配送类型ID"`
|
||||
ShippingTypeName string `json:"shippingTypeName" orm:"shipping_type_name" description:"配送类型名称"`
|
||||
TrackingNo string `json:"trackingNo" orm:"tracking_no" description:"物流单号"`
|
||||
ShippingTime *gtime.Time `json:"shippingTime" orm:"shipping_time" description:"发货时间"`
|
||||
ReceivedTime *gtime.Time `json:"receivedTime" orm:"received_time" description:"收货时间"`
|
||||
PayType int `json:"payType" orm:"pay_type" description:"支付类型 枚举"`
|
||||
PayStatus int `json:"payStatus" orm:"pay_status" description:"支付状态 枚举"`
|
||||
PayOrderSn string `json:"payOrderSn" orm:"pay_order_sn" description:"支付订单编号"`
|
||||
PayTime *gtime.Time `json:"payTime" orm:"pay_time" description:"支付时间"`
|
||||
TotalAmount float64 `json:"totalAmount" orm:"total_amount" description:"订单总金额"`
|
||||
ProductAmount float64 `json:"productAmount" orm:"product_amount" description:"商品总金额"`
|
||||
ShippingFee float64 `json:"shippingFee" orm:"shipping_fee" description:"运费金额"`
|
||||
ServiceFee float64 `json:"serviceFee" orm:"service_fee" description:"服务费金额"`
|
||||
InvoiceFee float64 `json:"invoiceFee" orm:"invoice_fee" description:"发票费金额"`
|
||||
CouponAmount float64 `json:"couponAmount" orm:"coupon_amount" description:"优惠券抵扣金额"`
|
||||
DiscountAmount float64 `json:"discountAmount" orm:"discount_amount" description:"活动优惠金额"`
|
||||
Balance float64 `json:"balance" orm:"balance" description:"余额抵扣金额"`
|
||||
PaidAmount float64 `json:"paidAmount" orm:"paid_amount" description:"已支付总金额"`
|
||||
OnlinePaidAmount float64 `json:"onlinePaidAmount" orm:"online_paid_amount" description:"线上支付金额"`
|
||||
OfflinePaidAmount float64 `json:"offlinePaidAmount" orm:"offline_paid_amount" description:"线下支付金额"`
|
||||
UnpaidAmount float64 `json:"unpaidAmount" orm:"unpaid_amount" description:"未支付金额"`
|
||||
UnrefundAmount float64 `json:"unrefundAmount" orm:"unrefund_amount" description:"未退款金额"`
|
||||
IsNeedCommission int `json:"isNeedCommission" orm:"is_need_commission" description:"是否需要分佣 枚举:yesno_enum"`
|
||||
DistributionStatus int `json:"distributionStatus" orm:"distribution_status" description:"分销分成状态 枚举"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门ID"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者ID"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者ID"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TOrderItem is the golang structure for table t_order_item.
|
||||
type TOrderItem struct {
|
||||
ItemId int64 `json:"itemId" orm:"item_id" description:"订单商品信息自增id"`
|
||||
OrderId int64 `json:"orderId" orm:"order_id" description:"订单ID"`
|
||||
OrderSn string `json:"orderSn" orm:"order_sn" description:"订单编号"`
|
||||
CustomerType int `json:"customerType" orm:"customer_type" description:"客户类型 枚举"`
|
||||
CustomerAgentId int64 `json:"customerAgentId" orm:"customer_agent_id" description:"渠道编号(购买方)"`
|
||||
EndUserId int64 `json:"endUserId" orm:"end_user_id" description:"客户编号"`
|
||||
Price float64 `json:"price" orm:"price" description:"商品最终单价"`
|
||||
Quantity uint `json:"quantity" orm:"quantity" description:"商品的购买数量"`
|
||||
ProductId int64 `json:"productId" orm:"product_id" description:"商品ID"`
|
||||
ProductName string `json:"productName" orm:"product_name" description:"商品的名称"`
|
||||
ProductSn string `json:"productSn" orm:"product_sn" description:"商品的唯一货号"`
|
||||
PicThumb string `json:"picThumb" orm:"pic_thumb" description:"商品缩略图"`
|
||||
SkuId int64 `json:"skuId" orm:"sku_id" description:"规格ID"`
|
||||
SkuData string `json:"skuData" orm:"sku_data" description:"【JSON】sku信息[{sku_id,sku_value,sku_name}]"`
|
||||
DeliveryQuantity uint `json:"deliveryQuantity" orm:"delivery_quantity" description:"发货数量"`
|
||||
ProductType uint `json:"productType" orm:"product_type" description:"商品类型 枚举"`
|
||||
IsGift uint `json:"isGift" orm:"is_gift" description:"是否为赠品 枚举:yesno_enum"`
|
||||
AgentId int64 `json:"agentId" orm:"agent_id" description:"渠道编号(销售方)"`
|
||||
PrepayPrice float64 `json:"prepayPrice" orm:"prepay_price" description:"预售价格"`
|
||||
Commission string `json:"commission" orm:"commission" description:"佣金数据"`
|
||||
OriginPrice float64 `json:"originPrice" orm:"origin_price" description:"商品初始价格"`
|
||||
PromotionData string `json:"promotionData" orm:"promotion_data" description:"优惠信息"`
|
||||
ExtraSkuData string `json:"extraSkuData" orm:"extra_sku_data" description:"附加属性"`
|
||||
PayMode int `json:"payMode" orm:"pay_mode" description:"付费方式 枚举"`
|
||||
ServiceBeginTime *gtime.Time `json:"serviceBeginTime" orm:"service_begin_time" description:"服务开始时间"`
|
||||
ServiceEndTime *gtime.Time `json:"serviceEndTime" orm:"service_end_time" description:"服务结束时间"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TPackageCustomer is the golang structure for table t_package_customer.
|
||||
type TPackageCustomer struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
PackageCode string `json:"packageCode" orm:"package_code" description:"套餐编码"`
|
||||
PackageName string `json:"packageName" orm:"package_name" description:"套餐名称"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"组织客户ID"`
|
||||
DeptName string `json:"deptName" orm:"dept_name" description:"组织客户名称"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门ID"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者ID"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者ID"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TProfitAccountMonthBill is the golang structure for table t_profit_account_month_bill.
|
||||
type TProfitAccountMonthBill struct {
|
||||
Id int64 `json:"id" orm:"id" description:"账单ID"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"机构ID"`
|
||||
AccountPeriod string `json:"accountPeriod" orm:"account_period" description:"账期YYYY-MM"`
|
||||
OpeningBalance float64 `json:"openingBalance" orm:"opening_balance" description:"月初余额"`
|
||||
CommissionIncome float64 `json:"commissionIncome" orm:"commission_income" description:"分润收入"`
|
||||
BalanceTransferInIncome float64 `json:"balanceTransferInIncome" orm:"balance_transfer_in_income" description:"余额转提现收入"`
|
||||
WithdrawalExpense float64 `json:"withdrawalExpense" orm:"withdrawal_expense" description:"提现支出"`
|
||||
WithdrawableTransferOutExpense float64 `json:"withdrawableTransferOutExpense" orm:"withdrawable_transfer_out_expense" description:"可提现转余额支出"`
|
||||
ProfitCreditRepayExpense float64 `json:"profitCreditRepayExpense" orm:"profit_credit_repay_expense" description:"盈利账户还款支出"`
|
||||
TotalIncome float64 `json:"totalIncome" orm:"total_income" description:"本月收入总额"`
|
||||
TotalExpense float64 `json:"totalExpense" orm:"total_expense" description:"本月支出总额"`
|
||||
ClosingBalance float64 `json:"closingBalance" orm:"closing_balance" description:"月末余额(月初余额+本月收入-本月支出)"`
|
||||
IncomeCount int `json:"incomeCount" orm:"income_count" description:"收入笔数"`
|
||||
ExpenseCount int `json:"expenseCount" orm:"expense_count" description:"支出笔数"`
|
||||
BillStatus int `json:"billStatus" orm:"bill_status" description:"账单状态:1正常,2已调整,3已作废"`
|
||||
SettleTime *gtime.Time `json:"settleTime" orm:"settle_time" description:"结算时间"`
|
||||
SettleBy int64 `json:"settleBy" orm:"settle_by" description:"结算人ID"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TResourceBatchDownload is the golang structure for table t_resource_batch_download.
|
||||
type TResourceBatchDownload struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
BatchNo string `json:"batchNo" orm:"batch_no" description:"批次编号(全局唯一)"`
|
||||
TaskName string `json:"taskName" orm:"task_name" description:"任务名称"`
|
||||
ResourceType int `json:"resourceType" orm:"resource_type" description:"资源类型 枚举"`
|
||||
ExportScene int `json:"exportScene" orm:"export_scene" description:"导出场景 枚举"`
|
||||
QueryParams *gjson.Json `json:"queryParams" orm:"query_params" description:"导出查询条件快照"`
|
||||
TotalCount int `json:"totalCount" orm:"total_count" description:"预计导出总条数"`
|
||||
SuccessCount int `json:"successCount" orm:"success_count" description:"已成功导出条数"`
|
||||
FailCount int `json:"failCount" orm:"fail_count" description:"失败条数"`
|
||||
DownloadStatus int `json:"downloadStatus" orm:"download_status" description:"下载状态 枚举"`
|
||||
OssId int64 `json:"ossId" orm:"oss_id" description:"OSS文件ID"`
|
||||
FileName string `json:"fileName" orm:"file_name" description:"导出文件名"`
|
||||
FileExt string `json:"fileExt" orm:"file_ext" description:"文件扩展名"`
|
||||
FileUrl string `json:"fileUrl" orm:"file_url" description:"文件访问地址"`
|
||||
FilePath string `json:"filePath" orm:"file_path" description:"服务器本地路径"`
|
||||
FileSize int64 `json:"fileSize" orm:"file_size" description:"文件大小(字节)"`
|
||||
FileMd5 string `json:"fileMd5" orm:"file_md5" description:"文件MD5"`
|
||||
DownloadCount int `json:"downloadCount" orm:"download_count" description:"下载次数"`
|
||||
LastDownloadTime *gtime.Time `json:"lastDownloadTime" orm:"last_download_time" description:"最后下载时间"`
|
||||
MaxDownloadCount int `json:"maxDownloadCount" orm:"max_download_count" description:"最大下载次数限制"`
|
||||
ErrorMessage string `json:"errorMessage" orm:"error_message" description:"失败原因"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"所属机构ID"`
|
||||
StartTime *gtime.Time `json:"startTime" orm:"start_time" description:"任务开始时间"`
|
||||
FinishTime *gtime.Time `json:"finishTime" orm:"finish_time" description:"任务完成时间"`
|
||||
ExpireTime *gtime.Time `json:"expireTime" orm:"expire_time" description:"文件过期时间"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门ID"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者ID"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者ID"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimBindPackageLogs is the golang structure for table t_sim_bind_package_logs.
|
||||
type TSimBindPackageLogs struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
SubscriptionNo string `json:"subscriptionNo" orm:"subscription_no" description:"订购记录编号"`
|
||||
BatchNo string `json:"batchNo" orm:"batch_no" description:"批次编号"`
|
||||
Iccid string `json:"iccid" orm:"iccid" description:"ICCID"`
|
||||
Msisdn string `json:"msisdn" orm:"msisdn" description:"MSISDN/卡号"`
|
||||
DeptId string `json:"deptId" orm:"dept_id" description:"部门机构编号"`
|
||||
PackageType int `json:"packageType" orm:"package_type" description:"套餐类型"`
|
||||
PackageCode string `json:"packageCode" orm:"package_code" description:"套餐编号"`
|
||||
PreviousPackageCode string `json:"previousPackageCode" orm:"previous_package_code" description:"变更前套餐编号"`
|
||||
BusinessType int `json:"businessType" orm:"business_type" description:"类型 枚举"`
|
||||
EffectiveStatus int `json:"effectiveStatus" orm:"effective_status" description:"订购状态 枚举"`
|
||||
HandleTime *gtime.Time `json:"handleTime" orm:"handle_time" description:"办理时间"`
|
||||
EffectiveTime *gtime.Time `json:"effectiveTime" orm:"effective_time" description:"生效时间"`
|
||||
ExpectedExpireTime *gtime.Time `json:"expectedExpireTime" orm:"expected_expire_time" description:"预计到期时间"`
|
||||
ActualExpireTime *gtime.Time `json:"actualExpireTime" orm:"actual_expire_time" description:"实际到期时间"`
|
||||
DurationMonths int `json:"durationMonths" orm:"duration_months" description:"套餐时长(月)"`
|
||||
GiftDurationMonths int `json:"giftDurationMonths" orm:"gift_duration_months" description:"赠送时长(月)"`
|
||||
OrderCode string `json:"orderCode" orm:"order_code" description:"订单编号"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimCardBindPkg is the golang structure for table t_sim_card_bind_pkg.
|
||||
type TSimCardBindPkg struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
SubscriptionNo string `json:"subscriptionNo" orm:"subscription_no" description:"订购记录编号"`
|
||||
BatchNo string `json:"batchNo" orm:"batch_no" description:"批次编号"`
|
||||
Iccid string `json:"iccid" orm:"iccid" description:"ICCID"`
|
||||
Msisdn string `json:"msisdn" orm:"msisdn" description:"MSISDN/卡号"`
|
||||
DeptId string `json:"deptId" orm:"dept_id" description:"部门机构编号"`
|
||||
PackageType int `json:"packageType" orm:"package_type" description:"套餐类型"`
|
||||
PackageCode string `json:"packageCode" orm:"package_code" description:"套餐编号"`
|
||||
PreviousPackageCode string `json:"previousPackageCode" orm:"previous_package_code" description:"变更前套餐编号"`
|
||||
BusinessType int `json:"businessType" orm:"business_type" description:"类型 枚举"`
|
||||
EffectiveStatus int `json:"effectiveStatus" orm:"effective_status" description:"订购状态 枚举"`
|
||||
HandleTime *gtime.Time `json:"handleTime" orm:"handle_time" description:"办理时间"`
|
||||
EffectiveTime *gtime.Time `json:"effectiveTime" orm:"effective_time" description:"生效时间"`
|
||||
ExpectedExpireTime *gtime.Time `json:"expectedExpireTime" orm:"expected_expire_time" description:"预计到期时间"`
|
||||
ActualExpireTime *gtime.Time `json:"actualExpireTime" orm:"actual_expire_time" description:"实际到期时间"`
|
||||
DurationMonths int `json:"durationMonths" orm:"duration_months" description:"套餐时长(月)"`
|
||||
GiftDurationMonths int `json:"giftDurationMonths" orm:"gift_duration_months" description:"赠送时长(月)"`
|
||||
OrderCode string `json:"orderCode" orm:"order_code" description:"订单编号"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimCardInfo is the golang structure for table t_sim_card_info.
|
||||
type TSimCardInfo struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
Iccid string `json:"iccid" orm:"iccid" description:"ICCID"`
|
||||
Msisdn string `json:"msisdn" orm:"msisdn" description:"MSISDN/卡号"`
|
||||
Imsi string `json:"imsi" orm:"imsi" description:"IMSI"`
|
||||
Imei string `json:"imei" orm:"imei" description:"IMEI"`
|
||||
RegionCode string `json:"regionCode" orm:"region_code" description:"归属地"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"渠道客户ID"`
|
||||
CurrentPackageCode string `json:"currentPackageCode" orm:"current_package_code" description:"当前套餐编号"`
|
||||
PackageStatus int `json:"packageStatus" orm:"package_status" description:"套餐状态:0 无套餐,1待生效,2生效中,3已过期"`
|
||||
AccessType int `json:"accessType" orm:"access_type" description:"接入方式:ipv4、ipv6、ipv4_ipv6"`
|
||||
BossCardStatus int `json:"bossCardStatus" orm:"boss_card_status" description:"运营商卡状态 枚举"`
|
||||
CardType int `json:"cardType" orm:"card_type" description:"卡类型 枚举"`
|
||||
BossOpenAt *gtime.Time `json:"bossOpenAt" orm:"boss_open_at" description:"运营商开户日期"`
|
||||
BossActivateAt *gtime.Time `json:"bossActivateAt" orm:"boss_activate_at" description:"运营商激活日期"`
|
||||
IsBossActivateEnabled int `json:"isBossActivateEnabled" orm:"is_boss_activate_enabled" description:"是否按运营商激活减去赠送时长方:1是,0否"`
|
||||
InboundBatchNo string `json:"inboundBatchNo" orm:"inbound_batch_no" description:"入库批次"`
|
||||
OutboundBatchNo string `json:"outboundBatchNo" orm:"outbound_batch_no" description:"出库批次"`
|
||||
AllocationBatchNo string `json:"allocationBatchNo" orm:"allocation_batch_no" description:"划拨批次"`
|
||||
IsFlowPool int `json:"isFlowPool" orm:"is_flow_pool" description:"是否为池卡:1是,0否"`
|
||||
FlowPoolCode string `json:"flowPoolCode" orm:"flow_pool_code" description:"流量池编号"`
|
||||
OutStockTime *gtime.Time `json:"outStockTime" orm:"out_stock_time" description:"出库时间"`
|
||||
FlowPkgBeginAt *gtime.Time `json:"flowPkgBeginAt" orm:"flow_pkg_begin_at" description:"当前套餐生效时间"`
|
||||
FlowPkgPresentAt *gtime.Time `json:"flowPkgPresentAt" orm:"flow_pkg_present_at" description:"套餐赠送结束时间"`
|
||||
FlowPkgRealPresentAt *gtime.Time `json:"flowPkgRealPresentAt" orm:"flow_pkg_real_present_at" description:"实际赠送结束时间"`
|
||||
FlowPkgEndAt *gtime.Time `json:"flowPkgEndAt" orm:"flow_pkg_end_at" description:"当前套餐预计到期时间"`
|
||||
DataServiceStatus int `json:"dataServiceStatus" orm:"data_service_status" description:"数据服务状态:1启用、0禁用"`
|
||||
PackageTotalFlowMb float64 `json:"packageTotalFlowMb" orm:"package_total_flow_mb" description:"套餐总流量MB"`
|
||||
UsedFlowMb float64 `json:"usedFlowMb" orm:"used_flow_mb" description:"已用流量MB"`
|
||||
TrafficCutoffStatus int `json:"trafficCutoffStatus" orm:"traffic_cutoff_status" description:"达量断网配置状态:0未配置,1已开启,2已关闭"`
|
||||
TrafficCutoffThreshold float64 `json:"trafficCutoffThreshold" orm:"traffic_cutoff_threshold" description:"达量断网阈值"`
|
||||
SmsServiceStatus int `json:"smsServiceStatus" orm:"sms_service_status" description:"短信服务状态:1启用、0禁用"`
|
||||
PackageTotalSms int `json:"packageTotalSms" orm:"package_total_sms" description:"套餐短信总条数"`
|
||||
UsedSms int `json:"usedSms" orm:"used_sms" description:"已用短信条数"`
|
||||
VoiceServiceStatus int `json:"voiceServiceStatus" orm:"voice_service_status" description:"语音服务状态:1启用、0禁用"`
|
||||
PackageTotalVoice int `json:"packageTotalVoice" orm:"package_total_voice" description:"套餐语音总分钟数"`
|
||||
UsedVoice int `json:"usedVoice" orm:"used_voice" description:"已用语音分钟数"`
|
||||
RoamServiceStatus int `json:"roamServiceStatus" orm:"roam_service_status" description:"国漫服务状态:1启用、0禁用"`
|
||||
PackageTotalRoamFlowMb float64 `json:"packageTotalRoamFlowMb" orm:"package_total_roam_flow_mb" description:"套餐国际流量MB"`
|
||||
UsedRoamFlowMb float64 `json:"usedRoamFlowMb" orm:"used_roam_flow_mb" description:"已用国际流量MB"`
|
||||
StatusSyncTime *gtime.Time `json:"statusSyncTime" orm:"status_sync_time" description:"状态最后一次同步时间"`
|
||||
FlowSyncTime *gtime.Time `json:"flowSyncTime" orm:"flow_sync_time" description:"流量最后一次同步时间"`
|
||||
SmsSyncTime *gtime.Time `json:"smsSyncTime" orm:"sms_sync_time" description:"短信最后一次同步时间"`
|
||||
VoiceSyncTime *gtime.Time `json:"voiceSyncTime" orm:"voice_sync_time" description:"语音最后一次同步时间"`
|
||||
RoamSyncTime *gtime.Time `json:"roamSyncTime" orm:"roam_sync_time" description:"国漫最后一次同步时间"`
|
||||
ImeiSyncTime *gtime.Time `json:"imeiSyncTime" orm:"imei_sync_time" description:"IMEI 最后一次轮询同步时间"`
|
||||
ImeiUpdateTime *gtime.Time `json:"imeiUpdateTime" orm:"imei_update_time" description:"IMEI 值最后一次实际变更时间"`
|
||||
ExtraFeeEnabled int `json:"extraFeeEnabled" orm:"extra_fee_enabled" description:"是否收取附加费:1是,0否"`
|
||||
ExtraFeeMultiple float64 `json:"extraFeeMultiple" orm:"extra_fee_multiple" description:"附加费用倍数"`
|
||||
ExtraFee float64 `json:"extraFee" orm:"extra_fee" description:"附加金额"`
|
||||
ChanKey string `json:"chanKey" orm:"chan_key" description:"通道编号"`
|
||||
NetModel int `json:"netModel" orm:"net_model" description:"网络类型:4G、5G、NB-IoT"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimCardStock is the golang structure for table t_sim_card_stock.
|
||||
type TSimCardStock struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
BatchNo string `json:"batchNo" orm:"batch_no" description:""`
|
||||
Iccid string `json:"iccid" orm:"iccid" description:"ICCID"`
|
||||
Msisdn string `json:"msisdn" orm:"msisdn" description:"MSISDN"`
|
||||
Imsi string `json:"imsi" orm:"imsi" description:"IMSI"`
|
||||
Imei string `json:"imei" orm:"imei" description:"IMEI"`
|
||||
ChanKey string `json:"chanKey" orm:"chan_key" description:"通道编号"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimChannelTemplate is the golang structure for table t_sim_channel_template.
|
||||
type TSimChannelTemplate struct {
|
||||
Id int64 `json:"id" orm:"id" description:"ID"`
|
||||
TempKey string `json:"tempKey" orm:"temp_key" description:"模板标识"`
|
||||
TempName string `json:"tempName" orm:"temp_name" description:"模板名称"`
|
||||
TempModel string `json:"tempModel" orm:"temp_model" description:"模板模型"`
|
||||
TempConfig string `json:"tempConfig" orm:"temp_config" description:"模板配置"`
|
||||
TempStatus int `json:"tempStatus" orm:"temp_status" description:"模板状态(0未启用,1启用)"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimChannels is the golang structure for table t_sim_channels.
|
||||
type TSimChannels struct {
|
||||
Id int64 `json:"id" orm:"id" description:"ID"`
|
||||
TempKey string `json:"tempKey" orm:"temp_key" description:"模板标识"`
|
||||
ChanKey string `json:"chanKey" orm:"chan_key" description:"通道编号"`
|
||||
ChanName string `json:"chanName" orm:"chan_name" description:"通道名称"`
|
||||
ChanConfig string `json:"chanConfig" orm:"chan_config" description:"通道配置"`
|
||||
ChanStatus int `json:"chanStatus" orm:"chan_status" description:"通道状态(0启用,1停用)"`
|
||||
ShareEnabled int `json:"shareEnabled" orm:"share_enabled" description:"是否开放共享Token(0否,1是)"`
|
||||
ChanAlias string `json:"chanAlias" orm:"chan_alias" description:"通道别名"`
|
||||
RegionCode string `json:"regionCode" orm:"region_code" description:"通道行政区域代码(省市)"`
|
||||
AppKey string `json:"appKey" orm:"app_key" description:"应用标识"`
|
||||
AppSecret string `json:"appSecret" orm:"app_secret" description:"应用密钥"`
|
||||
AccessToken string `json:"accessToken" orm:"access_token" description:"接口调用凭证"`
|
||||
AccessTokenCreated *gtime.Time `json:"accessTokenCreated" orm:"access_token_created" description:"凭证申请时间"`
|
||||
AccessTokenExpire *gtime.Time `json:"accessTokenExpire" orm:"access_token_expire" description:"凭证过期时间"`
|
||||
RefreshToken string `json:"refreshToken" orm:"refresh_token" description:"刷新凭证"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
LoginUser string `json:"loginUser" orm:"login_user" description:"登录账号"`
|
||||
LoginPassword string `json:"loginPassword" orm:"login_password" description:"登录密码"`
|
||||
LoginUrl string `json:"loginUrl" orm:"login_url" description:"登录地址"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimFlowPackageInfo is the golang structure for table t_sim_flow_package_info.
|
||||
type TSimFlowPackageInfo struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
PackageCode string `json:"packageCode" orm:"package_code" description:"套餐编码"`
|
||||
CategoryCode string `json:"categoryCode" orm:"category_code" description:"套餐分类编码"`
|
||||
PoolPackageCode int64 `json:"poolPackageCode" orm:"pool_package_code" description:"池套餐编码"`
|
||||
PackageName string `json:"packageName" orm:"package_name" description:"套餐名称"`
|
||||
PackageType int `json:"packageType" orm:"package_type" description:"套餐类型:101-卡套餐 102-池套餐 103-单卡加油包 104-池卡加油包"`
|
||||
BillingMethod int `json:"billingMethod" orm:"billing_method" description:"计费方式"`
|
||||
SortNo int `json:"sortNo" orm:"sort_no" description:"排序号"`
|
||||
FlowMb float64 `json:"flowMb" orm:"flow_mb" description:"套餐流量(MB)"`
|
||||
FlowGb float64 `json:"flowGb" orm:"flow_gb" description:"套餐流量(GB)"`
|
||||
Enabled int `json:"enabled" orm:"enabled" description:"是否启用:0-否 1-是(yesno_enum)"`
|
||||
ListPrice float64 `json:"listPrice" orm:"list_price" description:"目录售价"`
|
||||
CostPrice float64 `json:"costPrice" orm:"cost_price" description:"成本价"`
|
||||
SysDefaultProfit float64 `json:"sysDefaultProfit" orm:"sys_default_profit" description:"系统默认利润"`
|
||||
SysDefaultRatio float64 `json:"sysDefaultRatio" orm:"sys_default_ratio" description:"系统默认系数"`
|
||||
TerminalCost float64 `json:"terminalCost" orm:"terminal_cost" description:"终端成本"`
|
||||
SysDefaultTerminalProfit float64 `json:"sysDefaultTerminalProfit" orm:"sys_default_terminal_profit" description:"系统默认终端利润"`
|
||||
SysDefaultTerminalRatio float64 `json:"sysDefaultTerminalRatio" orm:"sys_default_terminal_ratio" description:"系统默认终端系数"`
|
||||
RenewableDurationConfig *gjson.Json `json:"renewableDurationConfig" orm:"renewable_duration_config" description:"可续费时长配置:[1,2,3]"`
|
||||
DiscountRateConfig *gjson.Json `json:"discountRateConfig" orm:"discount_rate_config" description:"折扣率配置:{\"duration\":1,\"rate\":100}"`
|
||||
RenewablePackageCodes *gjson.Json `json:"renewablePackageCodes" orm:"renewable_package_codes" description:"可续费套餐编码列表"`
|
||||
ChangeablePackageCodes *gjson.Json `json:"changeablePackageCodes" orm:"changeable_package_codes" description:"可变更套餐编码列表"`
|
||||
TopupPackageCodes *gjson.Json `json:"topupPackageCodes" orm:"topup_package_codes" description:"可订购加油包套餐编码列表"`
|
||||
IsAutoRenew int `json:"isAutoRenew" orm:"is_auto_renew" description:"是否自动续费:0-否 1-是"`
|
||||
AutoRenewPackageId int64 `json:"autoRenewPackageId" orm:"auto_renew_package_id" description:"自动续费套餐ID"`
|
||||
AutoRenewYears int `json:"autoRenewYears" orm:"auto_renew_years" description:"自动续费年限"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门ID"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者ID"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者ID"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimFlowPackagePrice is the golang structure for table t_sim_flow_package_price.
|
||||
type TSimFlowPackagePrice struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
PackageCode string `json:"packageCode" orm:"package_code" description:"套餐编码"`
|
||||
AgentScopeType int `json:"agentScopeType" orm:"agent_scope_type" description:"渠道适用类型:0-所有客户 1-指定客户"`
|
||||
TargetAgentId int64 `json:"targetAgentId" orm:"target_agent_id" description:"指定渠道客户ID"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"机构编号"`
|
||||
AgentCostRatio float64 `json:"agentCostRatio" orm:"agent_cost_ratio" description:"渠道成本系数"`
|
||||
AgentCostProfit float64 `json:"agentCostProfit" orm:"agent_cost_profit" description:"渠道成本利润"`
|
||||
UserCostRatio float64 `json:"userCostRatio" orm:"user_cost_ratio" description:"终端用户成本系数"`
|
||||
UserCostProfit float64 `json:"userCostProfit" orm:"user_cost_profit" description:"终端用户成本利润"`
|
||||
Enabled int `json:"enabled" orm:"enabled" description:"是否启用:0-否 1-是(yesno_enum)"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门ID"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者ID"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者ID"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimFlowPool is the golang structure for table t_sim_flow_pool.
|
||||
type TSimFlowPool struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
FlowPoolCode string `json:"flowPoolCode" orm:"flow_pool_code" description:"流量池编号"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"客户编号"`
|
||||
PackageCodes *gjson.Json `json:"packageCodes" orm:"package_codes" description:"套餐编号列表(冗余)"`
|
||||
PoolPackageCode int64 `json:"poolPackageCode" orm:"pool_package_code" description:"池套餐编码"`
|
||||
CardCount int64 `json:"cardCount" orm:"card_count" description:"关联卡数量"`
|
||||
CardFlowMb float64 `json:"cardFlowMb" orm:"card_flow_mb" description:"套餐卡流量MB"`
|
||||
PoolPackageFlowMb float64 `json:"poolPackageFlowMb" orm:"pool_package_flow_mb" description:"套内总流量MB"`
|
||||
AddOnFlowMb float64 `json:"addOnFlowMb" orm:"add_on_flow_mb" description:"加油包总流量MB"`
|
||||
TotalFlowMb float64 `json:"totalFlowMb" orm:"total_flow_mb" description:"总流量MB(套内+加油包)"`
|
||||
UsedFlowMb float64 `json:"usedFlowMb" orm:"used_flow_mb" description:"已使用流量MB"`
|
||||
RemainFlowMb float64 `json:"remainFlowMb" orm:"remain_flow_mb" description:"剩余流量MB"`
|
||||
PoolStatus int `json:"poolStatus" orm:"pool_status" description:"状态:0 正常、1 停用、2 锁定"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimPackageCategory is the golang structure for table t_sim_package_category.
|
||||
type TSimPackageCategory struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
CategoryCode string `json:"categoryCode" orm:"category_code" description:"套餐分类编号"`
|
||||
CategoryName string `json:"categoryName" orm:"category_name" description:"套餐分类名称"`
|
||||
SortNo int `json:"sortNo" orm:"sort_no" description:"排序"`
|
||||
Enabled int `json:"enabled" orm:"enabled" description:"是否启用:1启用,0停用"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimPoolBindPackage is the golang structure for table t_sim_pool_bind_package.
|
||||
type TSimPoolBindPackage struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
SubscriptionNo string `json:"subscriptionNo" orm:"subscription_no" description:"订购记录编号"`
|
||||
PoolNo string `json:"poolNo" orm:"pool_no" description:"流量池编号"`
|
||||
DeptId string `json:"deptId" orm:"dept_id" description:"部门机构编号"`
|
||||
PackageType int `json:"packageType" orm:"package_type" description:"套餐类型"`
|
||||
PackageCode string `json:"packageCode" orm:"package_code" description:"套餐编号"`
|
||||
PreviousPackageCode string `json:"previousPackageCode" orm:"previous_package_code" description:"变更前套餐编号"`
|
||||
BusinessType int `json:"businessType" orm:"business_type" description:"类型 枚举"`
|
||||
EffectiveStatus int `json:"effectiveStatus" orm:"effective_status" description:"订购状态 枚举"`
|
||||
HandleTime *gtime.Time `json:"handleTime" orm:"handle_time" description:"办理时间"`
|
||||
EffectiveTime *gtime.Time `json:"effectiveTime" orm:"effective_time" description:"生效时间"`
|
||||
ExpectedExpireTime *gtime.Time `json:"expectedExpireTime" orm:"expected_expire_time" description:"预计到期时间"`
|
||||
ActualExpireTime *gtime.Time `json:"actualExpireTime" orm:"actual_expire_time" description:"实际到期时间"`
|
||||
DurationMonths int `json:"durationMonths" orm:"duration_months" description:"套餐时长(月)"`
|
||||
GiftDurationMonths int `json:"giftDurationMonths" orm:"gift_duration_months" description:"赠送时长(月)"`
|
||||
OrderCode string `json:"orderCode" orm:"order_code" description:"订单编号"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimPoolWarnConfig is the golang structure for table t_sim_pool_warn_config.
|
||||
type TSimPoolWarnConfig struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
PoolId int64 `json:"poolId" orm:"pool_id" description:"流量池ID"`
|
||||
WarnLevel int `json:"warnLevel" orm:"warn_level" description:"预警等级:1提示,2注意,3警告,4危险,5紧急"`
|
||||
ThresholdPercent float64 `json:"thresholdPercent" orm:"threshold_percent" description:"阈值(例如0.7)"`
|
||||
WarnMethods int `json:"warnMethods" orm:"warn_methods" description:"预警方式:0短信,1邮箱,2电话,3平台消息 多选逗号分隔"`
|
||||
WarnPhones string `json:"warnPhones" orm:"warn_phones" description:"预警手机号 多个逗号分隔"`
|
||||
WarnEmails string `json:"warnEmails" orm:"warn_emails" description:"预警邮箱 多个逗号分隔"`
|
||||
AutoAction int `json:"autoAction" orm:"auto_action" description:"自动动作:0无,1限速,2断网"`
|
||||
IsEnabled int `json:"isEnabled" orm:"is_enabled" description:"是否启用:1启用,0停用"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TUpstreamPackage is the golang structure for table t_sim_upstream_package.
|
||||
type TUpstreamPackage struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键"`
|
||||
UpPkgCode string `json:"upPkgCode" orm:"up_pkg_code" description:"上游套餐编码"`
|
||||
UpPkgName string `json:"upPkgName" orm:"up_pkg_name" description:"上游套餐名称"`
|
||||
Operator int `json:"operator" orm:"operator" description:"运营商:1移动,2联通,3电信"`
|
||||
ApnName string `json:"apnName" orm:"apn_name" description:"APN名称"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TTplatformSetting is the golang structure for table t_tplatform_setting.
|
||||
type TTplatformSetting struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
SubDomain string `json:"subDomain" orm:"sub_domain" description:"二级域名前缀"`
|
||||
FullDomain string `json:"fullDomain" orm:"full_domain" description:"完整域名"`
|
||||
AppTitle string `json:"appTitle" orm:"app_title" description:"平台标题"`
|
||||
AppIcon string `json:"appIcon" orm:"app_icon" description:"图标地址"`
|
||||
LoginPageTitle string `json:"loginPageTitle" orm:"login_page_title" description:"登录页大标题"`
|
||||
LoginPageDescription string `json:"loginPageDescription" orm:"login_page_description" description:"登录页描述文案"`
|
||||
LoginSloganImage string `json:"loginSloganImage" orm:"login_slogan_image" description:"登录标语图地址"`
|
||||
Sort int `json:"sort" orm:"sort" description:"排序"`
|
||||
Status int `json:"status" orm:"status" description:"状态 0启用 1禁用"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TWoAudit is the golang structure for table t_wo_audit.
|
||||
type TWoAudit struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
AuditNo string `json:"auditNo" orm:"audit_no" description:"审核编号"`
|
||||
WoId int64 `json:"woId" orm:"wo_id" description:"工单ID"`
|
||||
WoNo string `json:"woNo" orm:"wo_no" description:"工单编号"`
|
||||
AuditType int `json:"auditType" orm:"audit_type" description:"审核类型:0分派,1转派,2退回,3解决,4关闭,5废除"`
|
||||
AuditorType int `json:"auditorType" orm:"auditor_type" description:"审核人类型:1终端用户,2代理商,3客服"`
|
||||
AuditorDeptId int64 `json:"auditorDeptId" orm:"auditor_dept_id" description:"审核人机构ID"`
|
||||
AuditorUserId int64 `json:"auditorUserId" orm:"auditor_user_id" description:"审核人用户ID"`
|
||||
AuditorName string `json:"auditorName" orm:"auditor_name" description:"审核人姓名"`
|
||||
BeforeStatus int `json:"beforeStatus" orm:"before_status" description:"变更前状态"`
|
||||
AfterStatus int `json:"afterStatus" orm:"after_status" description:"变更后状态"`
|
||||
AuditResult int `json:"auditResult" orm:"audit_result" description:"审核结果:0通过,1驳回"`
|
||||
AuditOpinion string `json:"auditOpinion" orm:"audit_opinion" description:"审核意见"`
|
||||
AuditTime *gtime.Time `json:"auditTime" orm:"audit_time" description:"审核时间"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TWoCommunication is the golang structure for table t_wo_communication.
|
||||
type TWoCommunication struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
CommNo string `json:"commNo" orm:"comm_no" description:"沟通编号"`
|
||||
WoId int64 `json:"woId" orm:"wo_id" description:"工单ID"`
|
||||
WoNo string `json:"woNo" orm:"wo_no" description:"工单编号"`
|
||||
CommType int `json:"commType" orm:"comm_type" description:"沟通类型:0回复,1反馈"`
|
||||
SenderType int `json:"senderType" orm:"sender_type" description:"发送人类型:1终端用户,2代理商"`
|
||||
SenderDeptId int64 `json:"senderDeptId" orm:"sender_dept_id" description:"发送人机构ID"`
|
||||
SenderUserId int64 `json:"senderUserId" orm:"sender_user_id" description:"发送人用户ID"`
|
||||
SenderName string `json:"senderName" orm:"sender_name" description:"发送人姓名"`
|
||||
Content string `json:"content" orm:"content" description:"沟通内容"`
|
||||
AttachmentUrls *gjson.Json `json:"attachmentUrls" orm:"attachment_urls" description:"附件URL列表"`
|
||||
CommTime *gtime.Time `json:"commTime" orm:"comm_time" description:"沟通时间"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TWoMain is the golang structure for table t_wo_main.
|
||||
type TWoMain struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
WoNo string `json:"woNo" orm:"wo_no" description:"工单编号"`
|
||||
WoType int `json:"woType" orm:"wo_type" description:"工单类型 0卡,1模组,2设备,3订单,4余额,5提现"`
|
||||
RelatedId int64 `json:"relatedId" orm:"related_id" description:"关联业务ID"`
|
||||
Title string `json:"title" orm:"title" description:"工单标题"`
|
||||
Content string `json:"content" orm:"content" description:"问题描述"`
|
||||
Attachment string `json:"attachment" orm:"attachment" description:"附件"`
|
||||
CreatorType int `json:"creatorType" orm:"creator_type" description:"创建人类型:1终端用户,2代理商"`
|
||||
CreatorDeptId int64 `json:"creatorDeptId" orm:"creator_dept_id" description:"创建机构ID"`
|
||||
CreatorUserId int64 `json:"creatorUserId" orm:"creator_user_id" description:"创建用户ID"`
|
||||
CreatorName string `json:"creatorName" orm:"creator_name" description:"创建人姓名"`
|
||||
CreatorPhone string `json:"creatorPhone" orm:"creator_phone" description:"创建人手机号"`
|
||||
AssignDeptId int64 `json:"assignDeptId" orm:"assign_dept_id" description:"分派方机构ID"`
|
||||
AssignUserId int64 `json:"assignUserId" orm:"assign_user_id" description:"分派人用户ID"`
|
||||
CurrentStatus int `json:"currentStatus" orm:"current_status" description:"当前处理状态:1已分派,2处理中,3已解决,4已完结_关单,5已取消"`
|
||||
HandlerDeptId int64 `json:"handlerDeptId" orm:"handler_dept_id" description:"处理方机构ID"`
|
||||
HandlerUserId int64 `json:"handlerUserId" orm:"handler_user_id" description:"处理人用户ID"`
|
||||
FirstResponseTime *gtime.Time `json:"firstResponseTime" orm:"first_response_time" description:"首次响应时间"`
|
||||
ResolveTime *gtime.Time `json:"resolveTime" orm:"resolve_time" description:"确认时间"`
|
||||
CloseTime *gtime.Time `json:"closeTime" orm:"close_time" description:"关闭时间"`
|
||||
SatisfactionLevel int `json:"satisfactionLevel" orm:"satisfaction_level" description:"满意度:1-5分"`
|
||||
EvalContent string `json:"evalContent" orm:"eval_content" description:"评价内容"`
|
||||
EvalTime *gtime.Time `json:"evalTime" orm:"eval_time" description:"评价时间"`
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TWoRecord is the golang structure for table t_wo_record.
|
||||
type TWoRecord struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键ID"`
|
||||
WoNo string `json:"woNo" orm:"wo_no" description:"工单编号"`
|
||||
OperationType int `json:"operationType" orm:"operation_type" description:"操作类型:0创建,1分派,2处理,3完成,4关单,5取消"`
|
||||
OperationDeptId int64 `json:"operationDeptId" orm:"operation_dept_id" description:"操作机构ID"`
|
||||
OperationUserId int64 `json:"operationUserId" orm:"operation_user_id" description:"操作用户ID"`
|
||||
TargetDeptId int64 `json:"targetDeptId" orm:"target_dept_id" description:"目标部门ID"`
|
||||
TargetUserId int64 `json:"targetUserId" orm:"target_user_id" description:"目标用户ID"`
|
||||
BeforeStatus int `json:"beforeStatus" orm:"before_status" description:"变更前状态"`
|
||||
AfterStatus int `json:"afterStatus" orm:"after_status" description:"变更后状态"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TestDemo is the golang structure for table test_demo.
|
||||
type TestDemo struct {
|
||||
Id int64 `json:"id" orm:"id" description:"主键"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户编号"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"部门id"`
|
||||
UserId int64 `json:"userId" orm:"user_id" description:"用户id"`
|
||||
OrderNum int `json:"orderNum" orm:"order_num" description:"排序号"`
|
||||
TestKey string `json:"testKey" orm:"test_key" description:"key键"`
|
||||
Value string `json:"value" orm:"value" description:"值"`
|
||||
Version int `json:"version" orm:"version" description:"版本"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
DeletedBy int64 `json:"deletedBy" orm:"deleted_by" description:"删除人"`
|
||||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"删除时间"`
|
||||
}
|
||||
Reference in New Issue
Block a user