chore: 并入 iotlcm-openapi 历史到 openapi/(原提交 3b05d5a)
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
package model
|
||||
|
||||
import "github.com/gogf/gf/v2/os/gtime"
|
||||
|
||||
type AgentDeptListParam struct {
|
||||
DeptName string `json:"deptName"`
|
||||
Status string `json:"status"`
|
||||
DeptType *int `json:"deptType"`
|
||||
}
|
||||
|
||||
type AgentDeptModel struct {
|
||||
DeptId int64 `json:"deptId" orm:"dept_id"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id"`
|
||||
DeptType int `json:"deptType" orm:"dept_type"`
|
||||
ParentId int64 `json:"parentId" orm:"parent_id"`
|
||||
Ancestors string `json:"ancestors" orm:"ancestors"`
|
||||
DeptKey string `json:"deptKey" orm:"dept_key"`
|
||||
DeptName string `json:"deptName" orm:"dept_name"`
|
||||
DeptCategory string `json:"deptCategory" orm:"dept_category"`
|
||||
OrderNum int `json:"orderNum" orm:"order_num"`
|
||||
Leader int64 `json:"leader" orm:"leader"`
|
||||
Phone string `json:"phone" orm:"phone"`
|
||||
Email string `json:"email" orm:"email"`
|
||||
Status string `json:"status" orm:"status"`
|
||||
CreditCode string `json:"creditCode" orm:"credit_code"`
|
||||
AreaCode string `json:"areaCode" orm:"area_code"`
|
||||
Address string `json:"address" orm:"address"`
|
||||
DeptRole int64 `json:"deptRole" orm:"dept_role"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at"`
|
||||
}
|
||||
|
||||
type AgentEnterpriseCustomerModel struct {
|
||||
DeptId int64 `json:"deptId" orm:"dept_id"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id"`
|
||||
DeptType int `json:"deptType" orm:"dept_type"`
|
||||
ParentId int64 `json:"parentId" orm:"parent_id"`
|
||||
Ancestors string `json:"ancestors" orm:"ancestors"`
|
||||
DeptKey string `json:"deptKey" orm:"dept_key"`
|
||||
DeptName string `json:"deptName" orm:"dept_name"`
|
||||
DeptCategory string `json:"deptCategory" orm:"dept_category"`
|
||||
OrderNum int `json:"orderNum" orm:"order_num"`
|
||||
Leader int64 `json:"leader" orm:"leader"`
|
||||
Phone string `json:"phone" orm:"phone"`
|
||||
Email string `json:"email" orm:"email"`
|
||||
Status string `json:"status" orm:"status"`
|
||||
CreditCode string `json:"creditCode" orm:"credit_code"`
|
||||
AreaCode string `json:"areaCode" orm:"area_code"`
|
||||
Address string `json:"address" orm:"address"`
|
||||
DeptRole int64 `json:"deptRole" orm:"dept_role"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at"`
|
||||
UserName string `json:"userName"`
|
||||
NickName string `json:"nickName"`
|
||||
DefaultUserId int64 `json:"defaultUserId"`
|
||||
MenuIds []int64 `json:"menuIds"`
|
||||
}
|
||||
|
||||
type AgentDeptSaveParam struct {
|
||||
DeptId int64 `json:"deptId"`
|
||||
ParentId int64 `json:"parentId"`
|
||||
DeptName string `json:"deptName"`
|
||||
DeptCategory string `json:"deptCategory"`
|
||||
OrderNum int `json:"orderNum"`
|
||||
Leader int64 `json:"leader"`
|
||||
Phone string `json:"phone"`
|
||||
Email string `json:"email"`
|
||||
CreditCode string `json:"creditCode"`
|
||||
AreaCode string `json:"areaCode"`
|
||||
Address string `json:"address"`
|
||||
Status string `json:"status"`
|
||||
DeptType int `json:"deptType"`
|
||||
DeptRole int64 `json:"deptRole"`
|
||||
RoleIds []int64 `json:"roleIds"`
|
||||
UserName string `json:"userName"`
|
||||
Password string `json:"password"`
|
||||
MenuIds []int64 `json:"menuIds"`
|
||||
}
|
||||
|
||||
type AgentDeptApiModel struct {
|
||||
DeptKey string `json:"deptKey" description:"部门key"`
|
||||
DeptName string `json:"deptName" description:"部门名称"`
|
||||
AppKey string `json:"appKey" description:"应用key"`
|
||||
AppSecret string `json:"appSecret" description:"应用密钥"`
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
package model
|
||||
|
||||
import "github.com/gogf/gf/v2/os/gtime"
|
||||
|
||||
type AgentRoleListParam struct {
|
||||
RoleName string `json:"roleName"`
|
||||
RoleKey string `json:"roleKey"`
|
||||
Status string `json:"status"`
|
||||
CreatedAt []string `json:"createdAt"`
|
||||
}
|
||||
|
||||
type AgentRoleListModel struct {
|
||||
RoleId int64 `json:"roleId" orm:"role_id"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id"`
|
||||
RoleName string `json:"roleName" orm:"role_name"`
|
||||
RoleKey string `json:"roleKey" orm:"role_key"`
|
||||
Status string `json:"status" orm:"status"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at"`
|
||||
Remark string `json:"remark" orm:"remark"`
|
||||
IsDefaultRole bool `json:"isDefaultRole"`
|
||||
}
|
||||
|
||||
type AgentRoleSaveParam struct {
|
||||
RoleId int64 `json:"roleId"`
|
||||
DeptId int64 `json:"deptId"`
|
||||
RoleName string `json:"roleName"`
|
||||
RoleKey string `json:"roleKey"`
|
||||
RoleSort int `json:"roleSort"`
|
||||
DataScope string `json:"dataScope"`
|
||||
MenuCheckStrictly int `json:"menuCheckStrictly"`
|
||||
DeptCheckStrictly int `json:"deptCheckStrictly"`
|
||||
Status string `json:"status"`
|
||||
Remark string `json:"remark"`
|
||||
MenuIds []int64 `json:"menuIds"`
|
||||
CreatedAt *gtime.Time `json:"createdAt"`
|
||||
}
|
||||
|
||||
type AgentRoleViewModel struct {
|
||||
SysRoleViewModel
|
||||
AllowedMenuIds []int64 `json:"allowedMenuIds"`
|
||||
MenuTree []*SysMenuTreeModel `json:"menuTree"`
|
||||
IsDefaultRole bool `json:"isDefaultRole"`
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-openapi/internal/model/request"
|
||||
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
type AgentUserListParam struct {
|
||||
request.PageInfo
|
||||
DeptId int64 `json:"deptId"`
|
||||
UserName string `json:"userName"`
|
||||
NickName string `json:"nickName"`
|
||||
Email string `json:"email"`
|
||||
Phonenumber string `json:"phonenumber"`
|
||||
Status string `json:"status"`
|
||||
CreatedAt []string `json:"createdAt"`
|
||||
}
|
||||
|
||||
type AgentUserListModel struct {
|
||||
UserId int64 `json:"userId" orm:"user_id"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id"`
|
||||
UserName string `json:"userName" orm:"user_name"`
|
||||
NickName string `json:"nickName" orm:"nick_name"`
|
||||
UserType string `json:"userType" orm:"user_type"`
|
||||
Email string `json:"email" orm:"email"`
|
||||
Phonenumber string `json:"phonenumber" orm:"phonenumber"`
|
||||
Sex string `json:"sex" orm:"sex"`
|
||||
Avatar string `json:"avatar" orm:"avatar"`
|
||||
Status string `json:"status" orm:"status"`
|
||||
LoginIp string `json:"loginIp" orm:"login_ip"`
|
||||
LoginDate *gtime.Time `json:"loginDate" orm:"login_date"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at"`
|
||||
Remark string `json:"remark" orm:"remark"`
|
||||
DeptInfo *SysDeptMiniModel `json:"deptInfo" orm:"with:dept_id=dept_id"`
|
||||
Roles []*SysRoleMiniModel `json:"roles"`
|
||||
IsDefaultUser bool `json:"isDefaultUser"`
|
||||
}
|
||||
|
||||
type AgentUserViewModel struct {
|
||||
UserId int64 `json:"userId" orm:"user_id"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id"`
|
||||
UserName string `json:"userName" orm:"user_name"`
|
||||
NickName string `json:"nickName" orm:"nick_name"`
|
||||
UserType string `json:"userType" orm:"user_type"`
|
||||
Email string `json:"email" orm:"email"`
|
||||
Phonenumber string `json:"phonenumber" orm:"phonenumber"`
|
||||
Sex string `json:"sex" orm:"sex"`
|
||||
Avatar string `json:"avatar" orm:"avatar"`
|
||||
Status string `json:"status" orm:"status"`
|
||||
LoginIp string `json:"loginIp" orm:"login_ip"`
|
||||
LoginDate *gtime.Time `json:"loginDate" orm:"login_date"`
|
||||
MfaEnabled int64 `json:"mfaEnabled" orm:"mfa_enabled"`
|
||||
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at"`
|
||||
Remark string `json:"remark" orm:"remark"`
|
||||
DeptInfo *SysDeptMiniModel `json:"deptInfo" orm:"with:dept_id=dept_id"`
|
||||
Roles []*SysRoleMiniModel `json:"roles"`
|
||||
Posts []*SysPostMiniModel `json:"posts"`
|
||||
IsDefaultUser bool `json:"isDefaultUser"`
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
package model
|
||||
|
||||
type AlipayConfig struct {
|
||||
AppId string `json:"appId" yaml:"appId"`
|
||||
PrivateKey string `json:"privateKey" yaml:"privateKey"`
|
||||
AlipayPublicKey string `json:"alipayPublicKey" yaml:"alipayPublicKey"`
|
||||
NotifyUrl string `json:"notifyUrl" yaml:"notifyUrl"`
|
||||
ReturnUrl string `json:"returnUrl" yaml:"returnUrl"`
|
||||
IsProduction bool `json:"isProduction" yaml:"isProduction"`
|
||||
}
|
||||
|
||||
type AlipayPayInput struct {
|
||||
OutTradeNo string `json:"outTradeNo" dc:"商户订单号"`
|
||||
Subject string `json:"subject" dc:"订单标题" v:"required#订单标题不能为空"`
|
||||
TotalAmount string `json:"totalAmount" dc:"支付金额(元)" v:"required#支付金额不能为空"`
|
||||
PayType string `json:"payType" dc:"支付类型:page 电脑网站支付,wap 手机网站支付" d:"page"`
|
||||
}
|
||||
|
||||
type AlipayPayOutput struct {
|
||||
OutTradeNo string `json:"outTradeNo" dc:"商户订单号"`
|
||||
PayUrl string `json:"payUrl" dc:"支付链接"`
|
||||
}
|
||||
|
||||
type AlipayNotifyInput struct{}
|
||||
|
||||
type AlipayNotifyOutput struct{}
|
||||
|
||||
type AlipayReturnInput struct{}
|
||||
|
||||
type AlipayReturnOutput struct {
|
||||
OutTradeNo string `json:"outTradeNo" dc:"商户订单号"`
|
||||
TradeNo string `json:"tradeNo" dc:"支付宝交易号"`
|
||||
TotalAmount string `json:"totalAmount" dc:"交易金额"`
|
||||
Message string `json:"message" dc:"消息"`
|
||||
}
|
||||
|
||||
type AlipayTradeQueryInput struct {
|
||||
OutTradeNo string `json:"outTradeNo" dc:"商户订单号"`
|
||||
TradeNo string `json:"tradeNo" dc:"支付宝交易号"`
|
||||
}
|
||||
|
||||
type AlipayTradeQueryOutput struct {
|
||||
OutTradeNo string `json:"outTradeNo" dc:"商户订单号"`
|
||||
TradeNo string `json:"tradeNo" dc:"支付宝交易号"`
|
||||
TradeStatus string `json:"tradeStatus" dc:"交易状态"`
|
||||
TotalAmount string `json:"totalAmount" dc:"交易金额"`
|
||||
BuyerLogonId string `json:"buyerLogonId" dc:"买家支付宝账号"`
|
||||
BuyerUserId string `json:"buyerUserId" dc:"买家支付宝用户ID"`
|
||||
BuyerOpenId string `json:"buyerOpenId" dc:"买家支付宝OpenID"`
|
||||
SendPayDate string `json:"sendPayDate" dc:"交易付款时间"`
|
||||
}
|
||||
|
||||
type AlipayRefundInput struct {
|
||||
OutRequestNo string `json:"outRequestNo" dc:"退款请求号" v:"required#退款请求号不能为空"`
|
||||
RefundReason string `json:"refundReason" dc:"退款原因"`
|
||||
OutTradeNo string `json:"outTradeNo" dc:"商户订单号"`
|
||||
TradeNo string `json:"tradeNo" dc:"支付宝交易号"`
|
||||
RefundAmount string `json:"refundAmount" dc:"退款金额(元)" v:"required#退款金额不能为空"`
|
||||
}
|
||||
|
||||
type AlipayRefundOutput struct {
|
||||
OutRequestNo string `json:"outRequestNo" dc:"退款请求号"`
|
||||
OutTradeNo string `json:"outTradeNo" dc:"商户订单号"`
|
||||
TradeNo string `json:"tradeNo" dc:"支付宝交易号"`
|
||||
BuyerLogonId string `json:"buyerLogonId" dc:"买家支付宝账号"`
|
||||
RefundAmount string `json:"refundAmount" dc:"退款金额(元)"`
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"context"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-openapi/internal/model/request"
|
||||
)
|
||||
|
||||
type BatchCardListParam struct {
|
||||
request.PageInfo
|
||||
BatchNo string `json:"batchNo" v:"required#批次号不能为空" dc:"批次编号"`
|
||||
BatchType *int `json:"batchType" dc:"批次类型"`
|
||||
Iccid string `json:"iccid" dc:"ICCID"`
|
||||
Msisdn string `json:"msisdn" dc:"MSISDN"`
|
||||
}
|
||||
|
||||
func (in *BatchCardListParam) Filter(ctx context.Context) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
type BatchCardListModel struct {
|
||||
RowNo int `json:"rowNo" dc:"行号"`
|
||||
Iccid string `json:"iccid" dc:"ICCID"`
|
||||
Msisdn string `json:"msisdn" dc:"MSISDN"`
|
||||
Imsi string `json:"imsi" dc:"IMSI"`
|
||||
DetailStatus int `json:"detailStatus" dc:"明细状态"`
|
||||
}
|
||||
|
||||
type BatchDetailListParam struct {
|
||||
request.PageInfo
|
||||
BatchNo string `json:"batchNo" v:"required#批次号不能为空" dc:"批次编号"`
|
||||
BatchType *int `json:"batchType" dc:"批次类型"`
|
||||
DetailStatus *int `json:"detailStatus" dc:"明细状态"`
|
||||
Iccid string `json:"iccid" dc:"ICCID"`
|
||||
}
|
||||
|
||||
func (in *BatchDetailListParam) Filter(ctx context.Context) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
type BatchDetailErrorModel struct {
|
||||
Reason string `json:"reason" dc:"异常原因"`
|
||||
}
|
||||
|
||||
type BatchDetailListModel struct {
|
||||
RowNo int `json:"rowNo" dc:"行号"`
|
||||
Iccid string `json:"iccid" dc:"ICCID"`
|
||||
Msisdn string `json:"msisdn" dc:"MSISDN"`
|
||||
Imsi string `json:"imsi" dc:"IMSI"`
|
||||
DetailStatus int `json:"detailStatus" dc:"明细状态"`
|
||||
Error *BatchDetailErrorModel `json:"error" dc:"错误信息"`
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"context"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-openapi/internal/library/xgorm/hook"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-openapi/internal/model/request"
|
||||
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
type BatchExecutionLogListParam struct {
|
||||
request.PageInfo
|
||||
BatchNo string `json:"batchNo" dc:"批次编号"`
|
||||
BatchType *int `json:"batchType" dc:"批次类型"`
|
||||
CreatedAt []*gtime.Time `json:"createdAt" dc:"创建时间"`
|
||||
}
|
||||
|
||||
func (in *BatchExecutionLogListParam) Filter(ctx context.Context) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
type BatchExecutionLogListModel struct {
|
||||
Id int64 `json:"id" dc:"主键ID"`
|
||||
BatchNo string `json:"batchNo" dc:"批次编号"`
|
||||
BatchType int `json:"batchType" dc:"批次类型"`
|
||||
SourceType *int `json:"sourceType" dc:"来源方式 枚举"`
|
||||
RunResult int `json:"runResult" dc:"运行结果"`
|
||||
StartTime *gtime.Time `json:"startTime" dc:"开始时间"`
|
||||
EndTime *gtime.Time `json:"endTime" dc:"结束时间"`
|
||||
CreatedDept int64 `json:"createdDept" dc:"创建部门ID"`
|
||||
CreatedBy int64 `json:"createdBy" dc:"创建者ID"`
|
||||
CreatedBySumma *hook.MemberSumma `json:"createdBySumma" dc:"创建者摘要"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" dc:"创建时间"`
|
||||
}
|
||||
|
||||
type BatchExecutionLogDetailParam struct {
|
||||
BatchNo string `json:"batchNo" v:"required#批次号不能为空" dc:"批次编号"`
|
||||
}
|
||||
|
||||
func (in *BatchExecutionLogDetailParam) Filter(ctx context.Context) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
type BatchExecutionLogFileModel struct {
|
||||
OssId int64 `json:"ossId" dc:"OSS文件ID"`
|
||||
Url string `json:"url" dc:"文件URL"`
|
||||
}
|
||||
|
||||
type BatchExecutionLogResultFileModel struct {
|
||||
DownloadId int64 `json:"downloadId" dc:"下载任务ID"`
|
||||
OssId int64 `json:"ossId" dc:"OSS文件ID"`
|
||||
Url string `json:"url" dc:"文件URL"`
|
||||
DownloadStatus int `json:"downloadStatus" dc:"下载状态"`
|
||||
}
|
||||
|
||||
type BatchExecutionLogDetailModel struct {
|
||||
Id int64 `json:"id" dc:"主键ID"`
|
||||
BatchNo string `json:"batchNo" dc:"批次编号"`
|
||||
BatchType int `json:"batchType" dc:"批次类型"`
|
||||
SourceType *int `json:"sourceType" dc:"来源方式 枚举"`
|
||||
BatchAsyncStatus int `json:"batchAsyncStatus" dc:"异步处理状态 0=已创建 1=待处理 2=处理中 3=成功 4=失败 5=部分成功"`
|
||||
RunResult int `json:"runResult" dc:"运行结果"`
|
||||
FailReason string `json:"failReason" dc:"失败原因"`
|
||||
TotalCount int `json:"totalCount" dc:"总数量"`
|
||||
ValidCount int `json:"validCount" dc:"有效数量"`
|
||||
SuccessCount int `json:"successCount" dc:"成功数量"`
|
||||
FailCount int `json:"failCount" dc:"失败数量"`
|
||||
StartTime *gtime.Time `json:"startTime" dc:"开始时间"`
|
||||
EndTime *gtime.Time `json:"endTime" dc:"结束时间"`
|
||||
SourceFile *BatchExecutionLogFileModel `json:"sourceFile" dc:"源文件"`
|
||||
ResultFile *BatchExecutionLogResultFileModel `json:"resultFile" dc:"结果文件"`
|
||||
}
|
||||
@@ -0,0 +1,241 @@
|
||||
// Package genin
|
||||
// @Link https://github.com/xiujiecn/xiu-admin
|
||||
// @Copyright Copyright (c) 2026 LiXiujie
|
||||
// @Author Lxj <xxx@example.com>
|
||||
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
|
||||
// @AutoGenerate Version
|
||||
package model
|
||||
|
||||
import (
|
||||
"context"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-openapi/internal/library/xgorm/hook"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-openapi/internal/model/entity"
|
||||
"git.5iot.com/iotlcm-public/iotlcm-openapi/internal/model/request"
|
||||
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// BatchMainUpdateFields 修改批次主表字段过滤
|
||||
type BatchMainUpdateFields struct {
|
||||
BatchNo string `json:"batchNo" dc:"批次编号"`
|
||||
OrderSn string `json:"orderSn" dc:"订单编号"`
|
||||
BatchType int `json:"batchType" dc:"批次类型 枚举"`
|
||||
BatchStatus int `json:"batchStatus" dc:"批次状态 枚举"`
|
||||
SourceType int `json:"sourceType" dc:"来源方式 枚举"`
|
||||
SourceBatchNo string `json:"sourceBatchNo" dc:"来源批次编号"`
|
||||
IsCrossDept int `json:"isCrossDept" dc:"是否跨级操作机构 0-否 1-是"`
|
||||
TargetDeptId int64 `json:"targetDeptId" dc:"目标机构编号"`
|
||||
DeptId int64 `json:"deptId" dc:"机构编号"`
|
||||
TotalCount int `json:"totalCount" dc:"总数量"`
|
||||
ValidCount int `json:"validCount" dc:"有效数量"`
|
||||
SuccessCount int `json:"successCount" dc:"成功数量"`
|
||||
FailCount int `json:"failCount" dc:"失败数量"`
|
||||
RunResult int `json:"runResult" dc:"运行结果:0-待运行 1-运行中 2-成功 3-失败"`
|
||||
FailReason string `json:"failReason" dc:"失败原因"`
|
||||
BatchInfo *gjson.Json `json:"batchInfo" dc:"批次信息:入库/出库展示字段"`
|
||||
Remark *gjson.Json `json:"remark" dc:"备注扩展字段"`
|
||||
StartTime *gtime.Time `json:"startTime" dc:"开始时间"`
|
||||
EndTime *gtime.Time `json:"endTime" dc:"结束时间"`
|
||||
TenantId string `json:"tenantId" dc:"租户ID"`
|
||||
UpdatedBy int64 `json:"updatedBy" dc:"更新者ID"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" dc:"更新时间"`
|
||||
}
|
||||
|
||||
// BatchMainInsertFields 新增批次主表字段过滤
|
||||
type BatchMainInsertFields struct {
|
||||
BatchNo string `json:"batchNo" dc:"批次编号"`
|
||||
OrderSn string `json:"orderSn" dc:"订单编号"`
|
||||
BatchType int `json:"batchType" dc:"批次类型 枚举"`
|
||||
BatchStatus int `json:"batchStatus" dc:"批次状态 枚举"`
|
||||
SourceType int `json:"sourceType" dc:"来源方式 枚举"`
|
||||
SourceBatchNo string `json:"sourceBatchNo" dc:"来源批次编号"`
|
||||
IsCrossDept int `json:"isCrossDept" dc:"是否跨级操作机构 0-否 1-是"`
|
||||
TargetDeptId int64 `json:"targetDeptId" dc:"目标机构编号"`
|
||||
DeptId int64 `json:"deptId" dc:"机构编号"`
|
||||
TotalCount int `json:"totalCount" dc:"总数量"`
|
||||
ValidCount int `json:"validCount" dc:"有效数量"`
|
||||
SuccessCount int `json:"successCount" dc:"成功数量"`
|
||||
FailCount int `json:"failCount" dc:"失败数量"`
|
||||
RunResult int `json:"runResult" dc:"运行结果:0-待运行 1-运行中 2-成功 3-失败"`
|
||||
FailReason string `json:"failReason" dc:"失败原因"`
|
||||
BatchInfo *gjson.Json `json:"batchInfo" dc:"批次信息:入库/出库展示字段"`
|
||||
Remark *gjson.Json `json:"remark" dc:"备注扩展字段"`
|
||||
StartTime *gtime.Time `json:"startTime" dc:"开始时间"`
|
||||
EndTime *gtime.Time `json:"endTime" dc:"结束时间"`
|
||||
TenantId string `json:"tenantId" dc:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" dc:"创建部门ID"`
|
||||
CreatedBy int64 `json:"createdBy" dc:"创建者ID"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" dc:"创建时间"`
|
||||
}
|
||||
|
||||
// BatchMainEditParam 修改/新增批次主表
|
||||
type BatchMainEditParam struct {
|
||||
//entity.BatchMain
|
||||
Id int64 `json:"id" dc:"主键ID"`
|
||||
BatchNo *string `json:"batchNo" dc:"批次编号"`
|
||||
OrderSn *string `json:"orderSn" dc:"订单编号"`
|
||||
BatchType *int `json:"batchType" dc:"批次类型 枚举"`
|
||||
BatchStatus *int `json:"batchStatus" dc:"批次状态 枚举"`
|
||||
SourceType *int `json:"sourceType" dc:"来源方式 枚举"`
|
||||
SourceBatchNo *string `json:"sourceBatchNo" dc:"来源批次编号"`
|
||||
IsCrossDept *int `json:"isCrossDept" dc:"是否跨级操作机构 0-否 1-是"`
|
||||
TargetDeptId *int64 `json:"targetDeptId" dc:"目标机构编号"`
|
||||
DeptId *int64 `json:"deptId" dc:"机构编号"`
|
||||
TotalCount *int `json:"totalCount" dc:"总数量"`
|
||||
ValidCount *int `json:"validCount" dc:"有效数量"`
|
||||
SuccessCount *int `json:"successCount" dc:"成功数量"`
|
||||
FailCount *int `json:"failCount" dc:"失败数量"`
|
||||
RunResult *int `json:"runResult" dc:"运行结果:0-待运行 1-运行中 2-成功 3-失败"`
|
||||
FailReason *string `json:"failReason" dc:"失败原因"`
|
||||
BatchInfo *gjson.Json `json:"batchInfo" dc:"批次信息:入库/出库展示字段"`
|
||||
Remark *gjson.Json `json:"remark" dc:"备注扩展字段"`
|
||||
StartTime *gtime.Time `json:"startTime" dc:"开始时间"`
|
||||
EndTime *gtime.Time `json:"endTime" dc:"结束时间"`
|
||||
TenantId *string `json:"tenantId" dc:"租户ID"`
|
||||
CreatedDept *int64 `json:"createdDept" dc:"创建部门ID"`
|
||||
CreatedBy *int64 `json:"createdBy" dc:"创建者ID"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" dc:"创建时间"`
|
||||
UpdatedBy *int64 `json:"updatedBy" dc:"更新者ID"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" dc:"更新时间"`
|
||||
}
|
||||
|
||||
func (in *BatchMainEditParam) Filter(ctx context.Context) (err error) {
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
type BatchMainEditModel struct{}
|
||||
|
||||
// BatchMainDeleteParam 删除批次主表
|
||||
type BatchMainDeleteParam struct {
|
||||
Id interface{} `json:"id" v:"required#主键ID不能为空" dc:"主键ID"`
|
||||
}
|
||||
|
||||
func (in *BatchMainDeleteParam) Filter(ctx context.Context) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
type BatchMainDeleteModel struct{}
|
||||
|
||||
type BatchMainRequeueParam struct {
|
||||
BatchNo string `json:"batchNo" v:"required#批次编号不能为空" dc:"批次编号"`
|
||||
Reason string `json:"reason" v:"required#重投原因不能为空" dc:"重投原因"`
|
||||
}
|
||||
|
||||
func (in *BatchMainRequeueParam) Filter(ctx context.Context) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
type BatchMainRequeueModel struct {
|
||||
BatchNo string `json:"batchNo" dc:"批次编号"`
|
||||
BatchType int `json:"batchType" dc:"批次类型"`
|
||||
BatchAsyncStatus int `json:"batchAsyncStatus" dc:"异步处理状态"`
|
||||
RunResult int `json:"runResult" dc:"运行结果"`
|
||||
Requeued bool `json:"requeued" dc:"是否已重投"`
|
||||
}
|
||||
|
||||
// BatchMainViewParam 获取指定批次主表信息
|
||||
type BatchMainViewParam struct {
|
||||
Id int64 `json:"id" v:"required#主键ID不能为空" dc:"主键ID"`
|
||||
}
|
||||
|
||||
func (in *BatchMainViewParam) Filter(ctx context.Context) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
type BatchMainViewModel struct {
|
||||
entity.BatchMain
|
||||
CreatedBySumma *hook.MemberSumma `json:"createdBySumma" dc:"创建者ID摘要信息"`
|
||||
UpdatedBySumma *hook.MemberSumma `json:"updatedBySumma" dc:"更新者ID摘要信息"`
|
||||
}
|
||||
|
||||
// BatchMainListParam 获取批次主表列表
|
||||
type BatchMainListParam struct {
|
||||
request.PageInfo
|
||||
Id int64 `json:"id" dc:"主键ID"`
|
||||
BatchNo string `json:"batchNo" dc:"批次编号"`
|
||||
OrderSn string `json:"orderSn" dc:"订单编号"`
|
||||
BatchType *int `json:"batchType" dc:"批次类型 枚举"`
|
||||
CreatedAt []*gtime.Time `json:"createdAt" dc:"创建时间"`
|
||||
}
|
||||
|
||||
func (in *BatchMainListParam) Filter(ctx context.Context) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
type BatchMainListModel struct {
|
||||
BatchInfo *gjson.Json `json:"batchInfo" dc:"批次信息:入库/出库展示字段"`
|
||||
Id int64 `json:"id" dc:"主键ID"`
|
||||
BatchNo string `json:"batchNo" dc:"批次编号"`
|
||||
OrderSn string `json:"orderSn" dc:"订单编号"`
|
||||
BatchType int `json:"batchType" dc:"批次类型 枚举"`
|
||||
BatchAsyncStatus int `json:"batchAsyncStatus" dc:"异步处理状态 0=已创建 1=待处理 2=处理中 3=成功 4=失败 5=部分成功"`
|
||||
SourceType int `json:"sourceType" dc:"来源方式 枚举"`
|
||||
SourceBatchNo string `json:"sourceBatchNo" dc:"来源批次编号"`
|
||||
IsCrossDept int `json:"isCrossDept" dc:"是否跨级操作机构 0-否 1-是"`
|
||||
TargetDeptId int64 `json:"targetDeptId" dc:"目标机构编号"`
|
||||
DeptId int64 `json:"deptId" dc:"机构编号"`
|
||||
TotalCount int `json:"totalCount" dc:"总数量"`
|
||||
ValidCount int `json:"validCount" dc:"有效数量"`
|
||||
SuccessCount int `json:"successCount" dc:"成功数量"`
|
||||
FailCount int `json:"failCount" dc:"失败数量"`
|
||||
RunResult int `json:"runResult" dc:"运行结果:0-待运行 1-运行中 2-成功 3-失败"`
|
||||
StartTime *gtime.Time `json:"startTime" dc:"开始时间"`
|
||||
EndTime *gtime.Time `json:"endTime" dc:"结束时间"`
|
||||
TenantId string `json:"tenantId" dc:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" dc:"创建部门ID"`
|
||||
CreatedBy int64 `json:"createdBy" dc:"创建者ID"`
|
||||
CreatedBySumma *hook.MemberSumma `json:"createdBySumma" dc:"创建者ID摘要信息"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" dc:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" dc:"更新者ID"`
|
||||
UpdatedBySumma *hook.MemberSumma `json:"updatedBySumma" dc:"更新者ID摘要信息"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" dc:"更新时间"`
|
||||
}
|
||||
|
||||
// BatchMainSuccessListParam 获取指定类型成功批次列表
|
||||
type BatchMainSuccessListParam struct {
|
||||
request.PageInfo
|
||||
BatchType int `json:"batchType" dc:"批次类型(不传则查询所有成功批次)"`
|
||||
BatchNo string `json:"batchNo" dc:"批次编号"`
|
||||
Time []*gtime.Time `json:"time" dc:"批次执行时间"`
|
||||
}
|
||||
|
||||
func (in *BatchMainSuccessListParam) Filter(ctx context.Context) (err error) {
|
||||
return
|
||||
}
|
||||
|
||||
type BatchMainSuccessListModel struct {
|
||||
BatchInfo *gjson.Json `json:"batchInfo" dc:"批次业务参数"`
|
||||
BatchNo string `json:"batchNo" dc:"批次编号"`
|
||||
BatchType int `json:"batchType" dc:"批次类型"`
|
||||
BatchTime *gtime.Time `json:"batchTime" orm:"start_time" dc:"批次执行时间"`
|
||||
TotalCount int `json:"totalCount" dc:"总数量"`
|
||||
}
|
||||
|
||||
// BatchMainExportModel 导出批次主表
|
||||
type BatchMainExportModel struct {
|
||||
Id int64 `json:"id" dc:"主键ID"`
|
||||
BatchNo string `json:"batchNo" dc:"批次编号"`
|
||||
OrderSn string `json:"orderSn" dc:"订单编号"`
|
||||
BatchType int `json:"batchType" dc:"批次类型 枚举"`
|
||||
BatchAsyncStatus int `json:"batchAsyncStatus" dc:"异步处理状态 0=已创建 1=待处理 2=处理中 3=成功 4=失败 5=部分成功"`
|
||||
SourceType int `json:"sourceType" dc:"来源方式 枚举"`
|
||||
SourceBatchNo string `json:"sourceBatchNo" dc:"来源批次编号"`
|
||||
IsCrossDept int `json:"isCrossDept" dc:"是否跨级操作机构 0-否 1-是"`
|
||||
TargetDeptId int64 `json:"targetDeptId" dc:"目标机构编号"`
|
||||
DeptId int64 `json:"deptId" dc:"机构编号"`
|
||||
TotalCount int `json:"totalCount" dc:"总数量"`
|
||||
ValidCount int `json:"validCount" dc:"有效数量"`
|
||||
SuccessCount int `json:"successCount" dc:"成功数量"`
|
||||
FailCount int `json:"failCount" dc:"失败数量"`
|
||||
RunResult int `json:"runResult" dc:"运行结果:0-待运行 1-运行中 2-成功 3-失败"`
|
||||
StartTime *gtime.Time `json:"startTime" dc:"开始时间"`
|
||||
EndTime *gtime.Time `json:"endTime" dc:"结束时间"`
|
||||
TenantId string `json:"tenantId" dc:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" dc:"创建部门ID"`
|
||||
CreatedBy int64 `json:"createdBy" dc:"创建者ID"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" dc:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" dc:"更新者ID"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" dc:"更新时间"`
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package model
|
||||
|
||||
// IotChannelStatusCache 资源通道表状态缓存
|
||||
type IotChannelStatusCache struct {
|
||||
ChannelId int64 `json:"channelId"`
|
||||
ConnectTime int64 `json:"connectTime"` // 连接时间戳(秒)
|
||||
}
|
||||
|
||||
// 数据库变动更新广播消息 obj{table_name,pk,type:add/edit/del,data:{}}
|
||||
type BroadcastDbChgCache struct {
|
||||
TableName string `json:"table_name"` // 表名
|
||||
PK []int64 `json:"pk"` // 主键
|
||||
Type string `json:"type"` // 类型:add/edit/del
|
||||
Data map[string]interface{} `json:"data"` // 变动数据,只需要包含主要字段数据
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package model
|
||||
|
||||
type CommonBatchExecuteMessage struct {
|
||||
BatchNo string `json:"batchNo"`
|
||||
BatchType int `json:"batchType"`
|
||||
}
|
||||
|
||||
type CommonRenewCard struct {
|
||||
Iccid string `json:"iccid,omitempty" dc:"ICCID"`
|
||||
Msisdn string `json:"msisdn,omitempty" dc:"MSISDN/卡号"`
|
||||
Imsi string `json:"imsi,omitempty" dc:"IMSI"`
|
||||
PackageId string `json:"packageId,omitempty" dc:"套餐编码"`
|
||||
}
|
||||
|
||||
type CommonRenewParam struct {
|
||||
AppId string `json:"appId" v:"required#appId不能为空" dc:"平台API应用ID"`
|
||||
Cards []CommonRenewCard `json:"cards" v:"required#续费卡不能为空" dc:"续费卡列表"`
|
||||
DurationYears int `json:"durationYears" dc:"续费时长(年)"`
|
||||
Remark string `json:"remark" dc:"续费备注"`
|
||||
PackageId string `json:"packageId,omitempty" dc:"套餐编码"`
|
||||
Validity int `json:"validity,omitempty" dc:"续费时长(年)"`
|
||||
}
|
||||
|
||||
type CommonRenewRes struct {
|
||||
BatchNo string `json:"batchNo" dc:"系统生成批次号"`
|
||||
BatchType int `json:"batchType" dc:"批次类型"`
|
||||
Total int `json:"total" dc:"提交数量"`
|
||||
}
|
||||
|
||||
type CommonSingleRenewRes struct {
|
||||
OrderId string `json:"orderId" dc:"订单ID"`
|
||||
OrderSn string `json:"orderSn" dc:"订单号"`
|
||||
Iccid string `json:"iccid" dc:"ICCID"`
|
||||
PlanName string `json:"planName" dc:"套餐名称"`
|
||||
EffectiveType string `json:"effectiveType" dc:"生效类型"`
|
||||
EffectiveDate string `json:"effectiveDate" dc:"生效日期"`
|
||||
ExpireDate string `json:"expireDate" dc:"到期日期"`
|
||||
Amount float64 `json:"amount" dc:"续费金额"`
|
||||
Status string `json:"status" dc:"续费状态"`
|
||||
ErrorCode string `json:"errorCode,omitempty" dc:"错误编码"`
|
||||
ErrorMessage string `json:"errorMessage,omitempty" dc:"错误说明"`
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
// package model
|
||||
// @Link https://github.com/xiujiecn/xiu-admin
|
||||
// @Copyright Copyright (c) 2025 LiXiujie
|
||||
// @Author Lxj <xxx@example.com>
|
||||
// @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
|
||||
package model
|
||||
|
||||
import "github.com/gogf/gf/v2/frame/g"
|
||||
|
||||
// 上下文结构
|
||||
type Context struct {
|
||||
User *Identity // 上下文用户信息
|
||||
AgentUser *BaseClaimsApi // 上下文代理用户信息
|
||||
IsWebSocket bool // 是否是WebSocket
|
||||
Data g.Map // 自定KV变量,业务模块根据需要设置,不固定
|
||||
}
|
||||
|
||||
type Role struct {
|
||||
RoleId int64 // 角色ID
|
||||
DataScope string // 数据范围
|
||||
}
|
||||
|
||||
// 通用身份模型
|
||||
type Identity struct {
|
||||
BaseClaims
|
||||
AccessCodeList []string // 访问码列表
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// BatchDetail is the golang structure of table batch_detail for DAO operations like Where/Data.
|
||||
type BatchDetail struct {
|
||||
g.Meta `orm:"table:batch_detail, do:true"`
|
||||
Id any // 主键ID
|
||||
BatchNo any // 批次编号
|
||||
BatchType any // 批次类型 枚举(与主表一致)
|
||||
DetailStatus any // 明细异步处理状态 0-待处理 1-处理中 2-成功 3-失败
|
||||
BlankOutStatus any // 作废状态 0-是 1-否
|
||||
RowNo any // 行号
|
||||
ItemId any // 项ID:卡ICCID/设备编码
|
||||
ErrorCode any // 异常编码
|
||||
ErrorReason any // 异常原因
|
||||
Snapshot *gjson.Json // 信息快照
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// BatchMain is the golang structure of table batch_main for DAO operations like Where/Data.
|
||||
type BatchMain struct {
|
||||
g.Meta `orm:"table:batch_main, do:true"`
|
||||
Id any // 主键ID
|
||||
BatchNo any // 批次编号
|
||||
OrderSn any // 订单编号
|
||||
BatchType any // 批次类型 枚举
|
||||
BatchStatus any // 批次状态 枚举
|
||||
BatchAsyncStatus any // 异步处理状态
|
||||
SourceType any // 来源方式 枚举
|
||||
SourceBatchNo any // 来源批次编号
|
||||
SourceOssId any // 源文件OSS ID
|
||||
ResultOssId any // 结果文件OSS ID
|
||||
IsCrossDept any // 是否跨级操作机构
|
||||
TargetDeptId any // 目标机构编号
|
||||
DeptId any // 机构编号
|
||||
TotalCount any // 总数量
|
||||
ValidCount any // 有效数量
|
||||
SuccessCount any // 成功数量
|
||||
FailCount any // 失败数量
|
||||
RunResult any // 运行结果
|
||||
FailReason any // 失败原因
|
||||
BatchInfo *gjson.Json // 批次信息:入库/出库展示字段
|
||||
Remark *gjson.Json // 备注扩展字段
|
||||
StartTime *gtime.Time // 开始时间
|
||||
EndTime *gtime.Time // 结束时间
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
SourceChannel any // 发起渠道:console/mini_program/api/system/legacy
|
||||
ExecutionMode any // 操作规模:0未知1单卡2批量
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysClient is the golang structure of table sys_client for DAO operations like Where/Data.
|
||||
type SysClient struct {
|
||||
g.Meta `orm:"table:sys_client, do:true"`
|
||||
Id any // id
|
||||
ClientId any // 客户端id
|
||||
ClientKey any // 客户端key
|
||||
ClientSecret any // 客户端秘钥
|
||||
GrantType any // 授权类型
|
||||
DeviceType any // 设备类型
|
||||
ActiveTimeout any // token活跃超时时间
|
||||
Timeout any // token固定超时
|
||||
Status any // 状态(0正常 1停用)
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedBy any // 删除人
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysConfig is the golang structure of table sys_config for DAO operations like Where/Data.
|
||||
type SysConfig struct {
|
||||
g.Meta `orm:"table:sys_config, do:true"`
|
||||
ConfigId any // 参数主键
|
||||
TenantId any // 租户编号
|
||||
ConfigName any // 参数名称
|
||||
ConfigKey any // 参数键名
|
||||
ConfigValue any // 参数键值
|
||||
ConfigType any // 系统内置(Y是 N否)
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
Remark any // 备注
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysDept is the golang structure of table sys_dept for DAO operations like Where/Data.
|
||||
type SysDept struct {
|
||||
g.Meta `orm:"table:sys_dept, do:true"`
|
||||
DeptId any // 部门id
|
||||
TenantId any // 租户编号
|
||||
ParentId any // 父部门id
|
||||
Ancestors any // 祖级列表
|
||||
DeptKey any // 机构编号
|
||||
DeptName any // 部门名称
|
||||
DeptType any // 部门类型(0:部门 1:公司)
|
||||
DeptCategory any // 部门类别编码
|
||||
OrderNum any // 显示顺序
|
||||
Leader any // 负责人
|
||||
Phone any // 联系电话
|
||||
Email any // 邮箱
|
||||
Status any // 部门状态(0正常 1停用)
|
||||
CreditCode any // 统一社会信用代码
|
||||
AreaCode any // 行政区域代码
|
||||
Address any // 地址
|
||||
DeptRole any // 机构默认角色ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedBy any // 删除人
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysDictData is the golang structure of table sys_dict_data for DAO operations like Where/Data.
|
||||
type SysDictData struct {
|
||||
g.Meta `orm:"table:sys_dict_data, do:true"`
|
||||
DictCode any // 字典编码
|
||||
TenantId any // 租户编号
|
||||
DictSort any // 字典排序
|
||||
DictLabel any // 字典标签
|
||||
DictValue any // 字典键值
|
||||
DictType any // 字典类型
|
||||
CssClass any // 样式属性(其他样式扩展)
|
||||
ListClass any // 表格回显样式
|
||||
IsDefault any // 是否默认(Y是 N否)
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
Remark any // 备注
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysDictType is the golang structure of table sys_dict_type for DAO operations like Where/Data.
|
||||
type SysDictType struct {
|
||||
g.Meta `orm:"table:sys_dict_type, do:true"`
|
||||
DictId any // 字典主键
|
||||
TenantId any // 租户编号
|
||||
DictName any // 字典名称
|
||||
DictType any // 字典类型
|
||||
IsSys any // 是否系统(0是 1否)
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
Remark any // 备注
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysGenTable is the golang structure of table sys_gen_table for DAO operations like Where/Data.
|
||||
type SysGenTable struct {
|
||||
g.Meta `orm:"table:sys_gen_table, do:true"`
|
||||
TableId any // 生成ID
|
||||
GenType any // 生成类型
|
||||
GenTemplate any // 生成模板
|
||||
VarName any // 实体命名
|
||||
Options any // 配置选项
|
||||
DbName any // 数据库名称
|
||||
TableName any // 主表名称
|
||||
TableComment any // 主表注释
|
||||
DaoName any // 主表dao模型
|
||||
MasterColumns any // 主表字段
|
||||
AddonName any // 插件名称
|
||||
Status any // 生成状态(0成功 1未开始)
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysJob is the golang structure of table sys_job for DAO operations like Where/Data.
|
||||
type SysJob struct {
|
||||
g.Meta `orm:"table:sys_job, do:true"`
|
||||
JobId any // 任务ID
|
||||
JobName any // 任务名称
|
||||
JobParams any // 参数
|
||||
JobGroup any // 任务组名
|
||||
InvokeTarget any // 调用目标字符串
|
||||
CronExpression any // cron执行表达式
|
||||
MisfirePolicy any // 计划执行策略(1多次执行 2执行一次)
|
||||
Concurrent any // 是否并发执行(0允许 1禁止)
|
||||
Status any // 状态(0正常 1暂停)
|
||||
Remark any // 备注信息
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedBy any // 删除人
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysLogininfor is the golang structure of table sys_logininfor for DAO operations like Where/Data.
|
||||
type SysLogininfor struct {
|
||||
g.Meta `orm:"table:sys_logininfor, do:true"`
|
||||
InfoId any // 访问ID
|
||||
TenantId any // 租户编号
|
||||
UserName any // 用户账号
|
||||
ClientKey any // 客户端
|
||||
DeviceType any // 设备类型
|
||||
Ipaddr any // 登录IP地址
|
||||
LoginLocation any // 登录地点
|
||||
Browser any // 浏览器类型
|
||||
Os any // 操作系统
|
||||
Status any // 登录状态(0成功 1失败)
|
||||
Msg any // 提示消息
|
||||
LoginTime *gtime.Time // 访问时间
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysMenu is the golang structure of table sys_menu for DAO operations like Where/Data.
|
||||
type SysMenu struct {
|
||||
g.Meta `orm:"table:sys_menu, do:true"`
|
||||
MenuId any // 菜单ID
|
||||
MenuName any // 菜单名称
|
||||
ParentId any // 父菜单ID
|
||||
Level any // 关系树等级
|
||||
Tree any // 关系树
|
||||
OrderNum any // 显示顺序
|
||||
Path any // 路由地址
|
||||
Component any // 组件路径
|
||||
QueryParam any // 路由参数
|
||||
IsFrame any // 是否为外链(0是 1否)
|
||||
IsCache any // 是否缓存(0缓存 1不缓存)
|
||||
MenuType any // 菜单类型(M目录 C菜单 F按钮)
|
||||
Visible any // 显示状态(0显示 1隐藏)
|
||||
Status any // 菜单状态(0正常 1停用)
|
||||
Perms any // 权限标识
|
||||
Icon any // 菜单图标
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
Remark any // 备注
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysNotice is the golang structure of table sys_notice for DAO operations like Where/Data.
|
||||
type SysNotice struct {
|
||||
g.Meta `orm:"table:sys_notice, do:true"`
|
||||
NoticeId any // 公告ID
|
||||
TenantId any // 租户编号
|
||||
NoticeTitle any // 公告标题
|
||||
NoticeType any // 公告类型(1通知 2公告)
|
||||
NoticeContent []byte // 公告内容
|
||||
Status any // 公告状态(0正常 1关闭)
|
||||
NoticeRange any // 通知范围(1全员 2指定机构 3指定用户)
|
||||
DeptIds any // 通知机构ID列表JSON
|
||||
UserIds any // 通知用户ID列表JSON
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
Remark any // 备注
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysNoticeUser is the golang structure of table sys_notice_user for DAO operations like Where/Data.
|
||||
type SysNoticeUser struct {
|
||||
g.Meta `orm:"table:sys_notice_user, do:true"`
|
||||
Id interface{} // ID
|
||||
NoticeId interface{} // 公告ID
|
||||
TenantId interface{} // 租户编号
|
||||
NoticeTitle interface{} // 公告标题
|
||||
NoticeType interface{} // 公告类型(1通知 2公告)
|
||||
NoticeContent []byte // 公告内容
|
||||
Status interface{} // 公告状态(0正常 1关闭)
|
||||
UserId interface{} // 用户ID
|
||||
IsRead interface{} // 是否已读(0未读 1已读)
|
||||
CreatedDept interface{} // 创建部门
|
||||
CreatedBy interface{} // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy interface{} // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
Remark interface{} // 备注
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysOperLog is the golang structure of table sys_oper_log for DAO operations like Where/Data.
|
||||
type SysOperLog struct {
|
||||
g.Meta `orm:"table:sys_oper_log, do:true"`
|
||||
OperId any // 日志主键
|
||||
TenantId any // 租户编号
|
||||
Title any // 模块标题
|
||||
BusinessType any // 业务类型(0其它 1新增 2修改 3删除)
|
||||
Method any // 方法名称
|
||||
RequestMethod any // 请求方式
|
||||
OperatorType any // 操作类别(0其它 1后台用户 2手机端用户)
|
||||
OperName any // 操作人员
|
||||
DeptName any // 部门名称
|
||||
OperUrl any // 请求URL
|
||||
OperIp any // 主机地址
|
||||
OperLocation any // 操作地点
|
||||
OperParam any // 请求参数
|
||||
JsonResult any // 返回参数
|
||||
Status any // 操作状态(0正常 1异常)
|
||||
ErrorMsg any // 错误消息
|
||||
OperTime *gtime.Time // 操作时间
|
||||
CostTime any // 消耗时间
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysOss is the golang structure of table sys_oss for DAO operations like Where/Data.
|
||||
type SysOss struct {
|
||||
g.Meta `orm:"table:sys_oss, do:true"`
|
||||
OssId any // 对象存储主键
|
||||
TenantId any // 租户编号
|
||||
FileName any // 文件名
|
||||
OriginalName any // 原名
|
||||
FileSuffix any // 文件后缀名
|
||||
Path any // 存储路径
|
||||
Url any // URL地址
|
||||
CreatedDept any // 创建部门
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
CreatedBy any // 创建者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
UpdatedBy any // 更新者
|
||||
Service any // 服务商
|
||||
Md5 any // 文件MD5
|
||||
FileSize any // 文件大小
|
||||
FileCrc16 any // 文件Crc16
|
||||
FileSum any // 文件校验和
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysOssConfig is the golang structure of table sys_oss_config for DAO operations like Where/Data.
|
||||
type SysOssConfig struct {
|
||||
g.Meta `orm:"table:sys_oss_config, do:true"`
|
||||
OssConfigId any // 主键
|
||||
TenantId any // 租户编号
|
||||
ConfigKey any // 配置key
|
||||
AccessKey any // accessKey
|
||||
SecretKey any // 秘钥
|
||||
BucketName any // 桶名称
|
||||
Prefix any // 前缀
|
||||
Endpoint any // 访问站点
|
||||
Domain any // 自定义域名
|
||||
IsHttps any // 是否https(Y=是,N=否)
|
||||
Region any // 域
|
||||
AccessPolicy any // 桶权限类型(0=private 1=public 2=custom)
|
||||
Status any // 是否默认(0=是,1=否)
|
||||
Ext1 any // 扩展字段
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
Remark any // 备注
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysPost is the golang structure of table sys_post for DAO operations like Where/Data.
|
||||
type SysPost struct {
|
||||
g.Meta `orm:"table:sys_post, do:true"`
|
||||
PostId any // 岗位ID
|
||||
TenantId any // 租户编号
|
||||
DeptId any // 部门id
|
||||
PostCode any // 岗位编码
|
||||
PostCategory any // 岗位类别编码
|
||||
PostName any // 岗位名称
|
||||
PostSort any // 显示顺序
|
||||
Status any // 状态(0正常 1停用)
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedBy any // 删除人
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
Remark any // 备注
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysRole is the golang structure of table sys_role for DAO operations like Where/Data.
|
||||
type SysRole struct {
|
||||
g.Meta `orm:"table:sys_role, do:true"`
|
||||
RoleId any // 角色ID
|
||||
TenantId any // 租户编号
|
||||
DeptId any // 部门机构id
|
||||
RoleName any // 角色名称
|
||||
RoleKey any // 角色权限字符串
|
||||
RoleSort any // 显示顺序
|
||||
DataScope any // 数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限 5:仅本人数据权限 6:仅本人数据权限 7:本组织及下一级数据权限
|
||||
MenuCheckStrictly any // 菜单树选择项是否关联显示
|
||||
DeptCheckStrictly any // 部门树选择项是否关联显示
|
||||
Status any // 角色状态(0正常 1停用)
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedBy any // 删除人
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
Remark any // 备注
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// SysRoleDept is the golang structure of table sys_role_dept for DAO operations like Where/Data.
|
||||
type SysRoleDept struct {
|
||||
g.Meta `orm:"table:sys_role_dept, do:true"`
|
||||
TenantId any // 租户编号
|
||||
RoleId any // 角色ID
|
||||
DeptId any // 部门ID
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// SysRoleMenu is the golang structure of table sys_role_menu for DAO operations like Where/Data.
|
||||
type SysRoleMenu struct {
|
||||
g.Meta `orm:"table:sys_role_menu, do:true"`
|
||||
TenantId any // 租户编号
|
||||
RoleId any // 角色ID
|
||||
MenuId any // 菜单ID
|
||||
DataScope any // 数据范围(0按角色数据权限 1全部数据权限 3本部门数据权限 4本部门及以下数据权限 5仅本人数据权限 6本部门及以下或本人数据权限 7本组织及本组织下一级数据权限 8本组织下一级数据权限)
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysSocial is the golang structure of table sys_social for DAO operations like Where/Data.
|
||||
type SysSocial struct {
|
||||
g.Meta `orm:"table:sys_social, do:true"`
|
||||
Id any // 主键
|
||||
UserId any // 用户ID
|
||||
TenantId any // 租户id
|
||||
AuthId any // 平台+平台唯一id
|
||||
Source any // 用户来源
|
||||
OpenId any // 平台编号唯一id
|
||||
UserName any // 登录账号
|
||||
NickName any // 用户昵称
|
||||
Email any // 用户邮箱
|
||||
Avatar any // 头像地址
|
||||
AccessToken any // 用户的授权令牌
|
||||
ExpireIn any // 用户的授权令牌的有效期,部分平台可能没有
|
||||
RefreshToken any // 刷新令牌,部分平台可能没有
|
||||
AccessCode any // 平台的授权信息,部分平台可能没有
|
||||
UnionId any // 用户的 unionid
|
||||
Scope any // 授予的权限,部分平台可能没有
|
||||
TokenType any // 个别平台的授权信息,部分平台可能没有
|
||||
IdToken any // id token,部分平台可能没有
|
||||
MacAlgorithm any // 小米平台用户的附带属性,部分平台可能没有
|
||||
MacKey any // 小米平台用户的附带属性,部分平台可能没有
|
||||
Code any // 用户的授权code,部分平台可能没有
|
||||
OauthToken any // Twitter平台用户的附带属性,部分平台可能没有
|
||||
OauthTokenSecret any // Twitter平台用户的附带属性,部分平台可能没有
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedBy any // 删除人
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysTenant is the golang structure of table sys_tenant for DAO operations like Where/Data.
|
||||
type SysTenant struct {
|
||||
g.Meta `orm:"table:sys_tenant, do:true"`
|
||||
Id any // id
|
||||
TenantId any // 租户编号
|
||||
ContactUserName any // 联系人
|
||||
ContactPhone any // 联系电话
|
||||
CompanyName any // 企业名称
|
||||
LicenseNumber any // 统一社会信用代码
|
||||
Address any // 地址
|
||||
Intro any // 企业简介
|
||||
Domain any // 域名
|
||||
Remark any // 备注
|
||||
PackageId any // 租户套餐编号
|
||||
AdminRoleId any // 管理员角色ID
|
||||
AdminDeptId any // 管理员部门ID
|
||||
AdminUserId any // 管理员用户ID
|
||||
ExpireTime *gtime.Time // 过期时间
|
||||
AccountCount any // 用户数量(-1不限制)
|
||||
Status any // 租户状态(0正常 1停用)
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedBy any // 删除人
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysTenantPackage is the golang structure of table sys_tenant_package for DAO operations like Where/Data.
|
||||
type SysTenantPackage struct {
|
||||
g.Meta `orm:"table:sys_tenant_package, do:true"`
|
||||
PackageId any // 租户套餐id
|
||||
PackageName any // 套餐名称
|
||||
MenuIds any // 关联菜单id
|
||||
Remark any // 备注
|
||||
MenuCheckStrictly any // 菜单树选择项是否关联显示
|
||||
Status any // 状态(0正常 1停用)
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedBy any // 删除人
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysUser is the golang structure of table sys_user for DAO operations like Where/Data.
|
||||
type SysUser struct {
|
||||
g.Meta `orm:"table:sys_user, do:true"`
|
||||
UserId any // 用户ID
|
||||
TenantId any // 租户编号
|
||||
DeptId any // 部门ID
|
||||
UserName any // 用户账号
|
||||
NickName any // 用户昵称
|
||||
UserType any // 用户类型(sys_user系统用户)
|
||||
Email any // 用户邮箱
|
||||
Phonenumber any // 手机号码
|
||||
Sex any // 用户性别(0男 1女 2未知)
|
||||
Avatar any // 头像地址
|
||||
Salt any // 加密盐
|
||||
Password any // 密码
|
||||
Status any // 帐号状态(0正常 1停用)
|
||||
LoginIp any // 最后登录IP
|
||||
LoginDate *gtime.Time // 最后登录时间
|
||||
MfaEnabled any // 是否开启邮箱MFA 0否 1是
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedBy any // 删除人
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
Remark any // 备注
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SysUserOnline is the golang structure of table sys_user_online for DAO operations like Where/Data.
|
||||
type SysUserOnline struct {
|
||||
g.Meta `orm:"table:sys_user_online, do:true"`
|
||||
OnlineId any // 访问ID
|
||||
TenantId any // 租户编号
|
||||
Uuid any // UUID
|
||||
UserName any // 用户账号
|
||||
ClientKey any // 客户端
|
||||
DeviceType any // 设备类型
|
||||
Ipaddr any // 登录IP地址
|
||||
LoginLocation any // 登录地点
|
||||
Browser any // 浏览器类型
|
||||
Os any // 操作系统
|
||||
Token any // Token
|
||||
LoginTime *gtime.Time // 访问时间
|
||||
ExpireTime *gtime.Time // 过期时间
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// SysUserPost is the golang structure of table sys_user_post for DAO operations like Where/Data.
|
||||
type SysUserPost struct {
|
||||
g.Meta `orm:"table:sys_user_post, do:true"`
|
||||
TenantId any // 租户编号
|
||||
UserId any // 用户ID
|
||||
PostId any // 岗位ID
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// SysUserRole is the golang structure of table sys_user_role for DAO operations like Where/Data.
|
||||
type SysUserRole struct {
|
||||
g.Meta `orm:"table:sys_user_role, do:true"`
|
||||
TenantId any // 租户编号
|
||||
UserId any // 用户ID
|
||||
RoleId any // 角色ID
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TAgentBalance is the golang structure of table t_agent_balance for DAO operations like Where/Data.
|
||||
type TAgentBalance struct {
|
||||
g.Meta `orm:"table:t_agent_balance, do:true"`
|
||||
Id any // 账户ID
|
||||
DeptId any // 机构ID
|
||||
Balance any // 账户余额
|
||||
WithdrawAmount any // 可提现金额
|
||||
WithdrawAmountStatus any // 可提现金额状态: 1-正常, 0-冻结
|
||||
InvoiceAmount any // 已开票金额
|
||||
CanInvoiceAmount any // 可开票金额
|
||||
CreditLimit any // 信用额度
|
||||
UsedCredit any // 已使用信用额度
|
||||
PendingRepayment any // 待还款金额
|
||||
Status any // 状态: 0-正常, 1-禁用
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TAgentEnterprise is the golang structure of table t_agent_enterprise for DAO operations like Where/Data.
|
||||
type TAgentEnterprise struct {
|
||||
g.Meta `orm:"table:t_agent_enterprise, do:true"`
|
||||
Id any // 主键ID
|
||||
DeptId any // 部门机构id
|
||||
FullName any // 单位全称
|
||||
Industry any // 行业
|
||||
LegalPersonName any // 法人名称
|
||||
LegalPersonIdCard any // 法人身份证号
|
||||
CompanyType any // 单位类型
|
||||
EstablishTime *gtime.Time // 单位成立时间
|
||||
BankName any // 开户行名称
|
||||
BankAccount any // 开户行账号
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TApi is the golang structure of table t_api for DAO operations like Where/Data.
|
||||
type TApi struct {
|
||||
g.Meta `orm:"table:t_api, do:true"`
|
||||
Id any // ID
|
||||
AppKey any // APPKey
|
||||
AppSecret any // APPSecret
|
||||
GroupId any // 权限组ID
|
||||
Status any // 状态:0启用,1停用
|
||||
RateLimitPeriod any // 限流周期(秒,0:不限流)
|
||||
RateLimitCount any // 限流次数
|
||||
DeptId any // 所属机构
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TApiGroup is the golang structure of table t_api_group for DAO operations like Where/Data.
|
||||
type TApiGroup struct {
|
||||
g.Meta `orm:"table:t_api_group, do:true"`
|
||||
Id any // 主键ID
|
||||
GroupName any // 权限组名称
|
||||
GroupCode any // 权限组编码
|
||||
Status any // 状态:0启用,1停用
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// TApiGroupResource is the golang structure of table t_api_group_resource for DAO operations like Where/Data.
|
||||
type TApiGroupResource struct {
|
||||
g.Meta `orm:"table:t_api_group_resource, do:true"`
|
||||
GroupId any // 权限组ID,对应t_api_group.id
|
||||
ApiId any // 开放接口资源ID,对应t_api_resource.id
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TApiResource is the golang structure of table t_api_resource for DAO operations like Where/Data.
|
||||
type TApiResource struct {
|
||||
g.Meta `orm:"table:t_api_resource, do:true"`
|
||||
Id any // 主键ID
|
||||
ApiName any // 接口名称
|
||||
ApiCode any // 接口权限标识
|
||||
Method any // 请求方法:GET/POST/PUT/DELETE
|
||||
Path any // 接口路径
|
||||
Status any // 状态:0启用,1停用
|
||||
Version any // 接口版本
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TBalanceDetail is the golang structure of table t_balance_detail for DAO operations like Where/Data.
|
||||
type TBalanceDetail struct {
|
||||
g.Meta `orm:"table:t_balance_detail, do:true"`
|
||||
Id any // 明细ID
|
||||
DeptId any // 账户ID
|
||||
SerialNo any // 流水号
|
||||
TransactionTime *gtime.Time // 交易时间
|
||||
IncomeExpenseType any // 收支类型: 0收入,1支出
|
||||
TransactionType any // 交易类型:0充值 1消费 2转可提现 3可提现转入 4人工调整
|
||||
TransactionChannel any // 交易渠道:1支付宝 2微信 3可提现金额
|
||||
Amount any // 交易金额
|
||||
BeforeBalance any // 变动前余额
|
||||
BalanceAfter any // 变动后余额
|
||||
ChannelSerialNo any // 交易渠道流水号
|
||||
OrderSn any // 关联订单号
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TConsumeAccountMonthBill is the golang structure of table t_consume_account_month_bill for DAO operations like Where/Data.
|
||||
type TConsumeAccountMonthBill struct {
|
||||
g.Meta `orm:"table:t_consume_account_month_bill, do:true"`
|
||||
Id any // 账单ID
|
||||
DeptId any // 机构ID
|
||||
AccountPeriod any // 账期YYYY-MM
|
||||
OpeningBalance any // 月初余额
|
||||
RechargeIncome any // 充值收入
|
||||
WithdrawableTransferInIncome any // 可提现转入收入
|
||||
ManualAdjustIncome any // 人工调账收入
|
||||
RefundIncome any // 退款收入
|
||||
ConsumeExpense any // 平台消费支出
|
||||
BalanceTransferOutExpense any // 转可提现支出
|
||||
ManualAdjustExpense any // 人工调账支出
|
||||
ConsumeCreditRepayExpense any // 消费账户还款支出
|
||||
TotalIncome any // 本月收入总额
|
||||
TotalExpense any // 本月支出总额
|
||||
ClosingBalance any // 月末余额(月初余额+本月收入-本月支出)
|
||||
IncomeCount any // 收入笔数
|
||||
ExpenseCount any // 支出笔数
|
||||
CreditUsed any // 本月使用信用额度
|
||||
CreditRepaid any // 本月还款信用额度
|
||||
BillStatus any // 账单状态:1正常,2已调整,3已作废
|
||||
SettleTime *gtime.Time // 结算时间
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TCreditDetail is the golang structure of table t_credit_detail for DAO operations like Where/Data.
|
||||
type TCreditDetail struct {
|
||||
g.Meta `orm:"table:t_credit_detail, do:true"`
|
||||
Id any // 明细ID
|
||||
DeptId any // 组织机构ID
|
||||
AccountPeriod any // 账期(YYYY-MM)
|
||||
TransactionType any // 交易类型: 使用/还款
|
||||
Amount any // 金额
|
||||
CreditBalanceBefore any // 变动前信用额度余额
|
||||
CreditBalanceAfter any // 变动后信用额度余额
|
||||
RelatedOrderSn any // 关联订单号
|
||||
RepaymentMethod any // 还款方式: 0 余额 1 银行卡 2 支付宝 3 微信
|
||||
RepaymentChannelSerial any // 交易渠道流水号
|
||||
TransactionTime *gtime.Time // 交易时间
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TCustWithdrawAccount is the golang structure of table t_cust_withdraw_account for DAO operations like Where/Data.
|
||||
type TCustWithdrawAccount struct {
|
||||
g.Meta `orm:"table:t_cust_withdraw_account, do:true"`
|
||||
Id any // 主键ID
|
||||
DeptId any // 企业客户ID
|
||||
AccountType any // 提现账号类型,1:支付宝,2:微信
|
||||
AccountNo any // 账号
|
||||
AccountName any // 账户名称/真实姓名
|
||||
Mobile any // 手机号
|
||||
IsDefault any // 是否默认账号:0-否 1-是
|
||||
Enabled any // 是否启用:0-未启用 1-启用
|
||||
Status any // 状态:0-禁用 1-正常
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TDeptFlowDaily is the golang structure of table t_dept_flow_daily for DAO operations like Where/Data.
|
||||
type TDeptFlowDaily struct {
|
||||
g.Meta `orm:"table:t_dept_flow_daily, do:true"`
|
||||
Id any // 自增主键
|
||||
DeptId any // 渠道客户ID
|
||||
StatDate *gtime.Time // 统计日期
|
||||
TotalUsedFlowMb any // 当日所有卡总消耗流量MB
|
||||
TotalSms any // 当日总短信使用条数
|
||||
TotalVoiceMin any // 当日总语音分钟数
|
||||
Remark any // 备注,同步失败原因/特殊说明
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// TDivisionCode is the golang structure of table t_division_code for DAO operations like Where/Data.
|
||||
type TDivisionCode struct {
|
||||
g.Meta `orm:"table:t_division_code, do:true"`
|
||||
RegionId any // ID
|
||||
RegionCode any // 行政区域代码
|
||||
RegionName any // 行政区域名称
|
||||
RegionLevel any // 等级
|
||||
RegionParent any // 上级代码
|
||||
RegionType any // 城乡分类代码
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TFinCommissionDetail is the golang structure of table t_fin_commission_detail for DAO operations like Where/Data.
|
||||
type TFinCommissionDetail struct {
|
||||
g.Meta `orm:"table:t_fin_commission_detail, do:true"`
|
||||
Id any // 主键ID
|
||||
CommissionNo any // 分润明细编号
|
||||
OrderSn any // 订单编号
|
||||
OrderType any // 订单类型
|
||||
ProductId any // 商品ID
|
||||
PayerDeptId any // 下级机构ID
|
||||
BenefitDeptId any // 受益机构ID
|
||||
BenefitDeptLevel any // 受益机构层级
|
||||
CommissionAmount any // 分润金额
|
||||
CommissionStatus any // 分润状态:0待结算,1可提现
|
||||
BenefitSnapshot *gjson.Json // 价格快照(受益机构的成本价+利润+利润悉数=出货单价)
|
||||
AccountPeriod any // 账期(YYYY-MM)
|
||||
SettlementTime *gtime.Time // 结算时间
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TFinWithdrawableChange is the golang structure of table t_fin_withdrawable_change for DAO operations like Where/Data.
|
||||
type TFinWithdrawableChange struct {
|
||||
g.Meta `orm:"table:t_fin_withdrawable_change, do:true"`
|
||||
Id any // 主键ID
|
||||
DeptId any // 机构ID
|
||||
ChangeType any // 变动类型:0分润,1提现,2转出(可提现转余额)3转入(余额转可提现)4还款
|
||||
IncomeExpenseType any // 收支类型: 0收入,1支出
|
||||
ChangeAmount any // 变动金额
|
||||
BeforeBalance any // 变动前可提现余额
|
||||
AfterBalance any // 变动后可提现余额
|
||||
AccountType any // 提现账号类型,1:银行卡,2:支付宝,3:微信
|
||||
BankName any // 开户行名称
|
||||
BankAccount any // 开户行账号或账号
|
||||
AccountName any // 用户姓名
|
||||
IdentityCard any // 用户身份证号
|
||||
SourceNo any // 来源单号
|
||||
Remark any // 备注
|
||||
AccountPeriod any // 账期(YYYY-MM)
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TFinanceApply is the golang structure of table t_finance_apply for DAO operations like Where/Data.
|
||||
type TFinanceApply struct {
|
||||
g.Meta `orm:"table:t_finance_apply, do:true"`
|
||||
Id any // 主键ID
|
||||
ApplyNo any // 申请单号
|
||||
ApplyType any // 申请类型(1:提现申请,2:余额转提现)
|
||||
AuditType any // 审核类型:1初审,2复审
|
||||
ApplyDeptId any // 申请机构ID
|
||||
AuditDeptId any // 审核方机构ID,通常为直属上级或顶级
|
||||
AvailableAmountSnapshot any // 申请前可提现余额快照
|
||||
ApplyAmount any // 申请金额
|
||||
AccountType any // 提现账号类型,1:银行卡,2:支付宝,3:微信
|
||||
BankName any // 开户行名称
|
||||
BankAccount any // 开户行账号或账号
|
||||
AccountName any // 用户姓名
|
||||
IdentityCard any // 用户身份证号
|
||||
ReceiveAccount *gjson.Json // 收款账户信息快照
|
||||
ApplyStatus any // 状态:0待审核,1已通过,2已驳回,3已打款,4已取消
|
||||
ApplyTime *gtime.Time // 申请时间
|
||||
AuditTime *gtime.Time // 最近审核时间
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TFinanceAuditRecord is the golang structure of table t_finance_audit_record for DAO operations like Where/Data.
|
||||
type TFinanceAuditRecord struct {
|
||||
g.Meta `orm:"table:t_finance_audit_record, do:true"`
|
||||
Id any // 主键ID
|
||||
AuditNo any // 审核记录编号
|
||||
ApplyNo any // 申请单号
|
||||
AuditDeptId any // 审核方机构ID
|
||||
AuditorUserId any // 审核人ID
|
||||
AuditResult any // 审核结果:0通过,1驳回
|
||||
AuditOpinion any // 审核意见
|
||||
AuditTime *gtime.Time // 审核时间
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TOrder is the golang structure of table t_order for DAO operations like Where/Data.
|
||||
type TOrder struct {
|
||||
g.Meta `orm:"table:t_order, do:true"`
|
||||
Id any // 主键ID
|
||||
OrderSn any // 订单编号
|
||||
ParentOrderId any // 父订单ID
|
||||
ParentOrderSn any // 父订单编号
|
||||
CustomerType any // 客户类型 枚举
|
||||
CustomerAgentId any // 渠道编号(购买方)
|
||||
EndUserId any // 终端客户编号
|
||||
AgentId any // 渠道编号(销售方)
|
||||
OrderType any // 订单类型 枚举
|
||||
OrderStatus any // 订单状态 枚举
|
||||
ShippingStatus any // 配送状态 枚举
|
||||
ReturnStatus any // 退货状态 枚举
|
||||
Consignee any // 收货人姓名
|
||||
Mobile any // 收货人手机
|
||||
Email any // 收货人邮箱
|
||||
Address any // 详细地址
|
||||
AreaCode any // 行政区域代码
|
||||
BuyerNote any // 买家备注
|
||||
AdminNote any // 商家备注
|
||||
Remark any // 系统备注
|
||||
ShippingMethod any // 发货方式 枚举
|
||||
LogisticsId any // 快递公司ID
|
||||
LogisticsName any // 物流公司名称
|
||||
ShippingTypeId any // 配送类型ID
|
||||
ShippingTypeName any // 配送类型名称
|
||||
TrackingNo any // 物流单号
|
||||
ShippingTime *gtime.Time // 发货时间
|
||||
ReceivedTime *gtime.Time // 收货时间
|
||||
PayType any // 支付类型 枚举
|
||||
PayStatus any // 支付状态 枚举
|
||||
PayOrderSn any // 支付订单编号
|
||||
PayTime *gtime.Time // 支付时间
|
||||
TotalAmount any // 订单总金额
|
||||
ProductAmount any // 商品总金额
|
||||
ShippingFee any // 运费金额
|
||||
ServiceFee any // 服务费金额
|
||||
InvoiceFee any // 发票费金额
|
||||
CouponAmount any // 优惠券抵扣金额
|
||||
DiscountAmount any // 活动优惠金额
|
||||
Balance any // 余额抵扣金额
|
||||
PaidAmount any // 已支付总金额
|
||||
OnlinePaidAmount any // 线上支付金额
|
||||
OfflinePaidAmount any // 线下支付金额
|
||||
UnpaidAmount any // 未支付金额
|
||||
UnrefundAmount any // 未退款金额
|
||||
IsNeedCommission any // 是否需要分佣 枚举:yesno_enum
|
||||
DistributionStatus any // 分销分成状态 枚举
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TOrderItem is the golang structure of table t_order_item for DAO operations like Where/Data.
|
||||
type TOrderItem struct {
|
||||
g.Meta `orm:"table:t_order_item, do:true"`
|
||||
ItemId any // 订单商品信息自增id
|
||||
OrderId any // 订单ID
|
||||
OrderSn any // 订单编号
|
||||
CustomerType any // 客户类型 枚举
|
||||
CustomerAgentId any // 渠道编号(购买方)
|
||||
EndUserId any // 客户编号
|
||||
Price any // 商品最终单价
|
||||
Quantity any // 商品的购买数量
|
||||
ProductId any // 商品ID
|
||||
ProductName any // 商品的名称
|
||||
ProductSn any // 商品的唯一货号
|
||||
PicThumb any // 商品缩略图
|
||||
SkuId any // 规格ID
|
||||
SkuData any // 【JSON】sku信息[{sku_id,sku_value,sku_name}]
|
||||
DeliveryQuantity any // 发货数量
|
||||
ProductType any // 商品类型 枚举
|
||||
IsGift any // 是否为赠品 枚举:yesno_enum
|
||||
AgentId any // 渠道编号(销售方)
|
||||
PrepayPrice any // 预售价格
|
||||
Commission any // 佣金数据
|
||||
OriginPrice any // 商品初始价格
|
||||
PromotionData any // 优惠信息
|
||||
ExtraSkuData any // 附加属性
|
||||
PayMode any // 付费方式 枚举
|
||||
ServiceBeginTime *gtime.Time // 服务开始时间
|
||||
ServiceEndTime *gtime.Time // 服务结束时间
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TPackageCustomer is the golang structure of table t_package_customer for DAO operations like Where/Data.
|
||||
type TPackageCustomer struct {
|
||||
g.Meta `orm:"table:t_package_customer, do:true"`
|
||||
Id any // 主键ID
|
||||
PackageCode any // 套餐编码
|
||||
PackageName any // 套餐名称
|
||||
DeptId any // 组织客户ID
|
||||
DeptName any // 组织客户名称
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TProfitAccountMonthBill is the golang structure of table t_profit_account_month_bill for DAO operations like Where/Data.
|
||||
type TProfitAccountMonthBill struct {
|
||||
g.Meta `orm:"table:t_profit_account_month_bill, do:true"`
|
||||
Id any // 账单ID
|
||||
DeptId any // 机构ID
|
||||
AccountPeriod any // 账期YYYY-MM
|
||||
OpeningBalance any // 月初余额
|
||||
CommissionIncome any // 分润收入
|
||||
BalanceTransferInIncome any // 余额转提现收入
|
||||
WithdrawalExpense any // 提现支出
|
||||
WithdrawableTransferOutExpense any // 可提现转余额支出
|
||||
ProfitCreditRepayExpense any // 盈利账户还款支出
|
||||
TotalIncome any // 本月收入总额
|
||||
TotalExpense any // 本月支出总额
|
||||
ClosingBalance any // 月末余额(月初余额+本月收入-本月支出)
|
||||
IncomeCount any // 收入笔数
|
||||
ExpenseCount any // 支出笔数
|
||||
BillStatus any // 账单状态:1正常,2已调整,3已作废
|
||||
SettleTime *gtime.Time // 结算时间
|
||||
SettleBy any // 结算人ID
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TResourceBatchDownload is the golang structure of table t_resource_batch_download for DAO operations like Where/Data.
|
||||
type TResourceBatchDownload struct {
|
||||
g.Meta `orm:"table:t_resource_batch_download, do:true"`
|
||||
Id any // 主键ID
|
||||
BatchNo any // 批次编号(全局唯一)
|
||||
TaskName any // 任务名称
|
||||
ResourceType any // 资源类型 枚举
|
||||
ExportScene any // 导出场景 枚举
|
||||
QueryParams *gjson.Json // 导出查询条件快照
|
||||
TotalCount any // 预计导出总条数
|
||||
SuccessCount any // 已成功导出条数
|
||||
FailCount any // 失败条数
|
||||
DownloadStatus any // 下载状态 枚举
|
||||
OssId any // OSS文件ID
|
||||
FileName any // 导出文件名
|
||||
FileExt any // 文件扩展名
|
||||
FileUrl any // 文件访问地址
|
||||
FilePath any // 服务器本地路径
|
||||
FileSize any // 文件大小(字节)
|
||||
FileMd5 any // 文件MD5
|
||||
DownloadCount any // 下载次数
|
||||
LastDownloadTime *gtime.Time // 最后下载时间
|
||||
MaxDownloadCount any // 最大下载次数限制
|
||||
ErrorMessage any // 失败原因
|
||||
DeptId any // 所属机构ID
|
||||
StartTime *gtime.Time // 任务开始时间
|
||||
FinishTime *gtime.Time // 任务完成时间
|
||||
ExpireTime *gtime.Time // 文件过期时间
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimBindPackageLogs is the golang structure of table t_sim_bind_package_logs for DAO operations like Where/Data.
|
||||
type TSimBindPackageLogs struct {
|
||||
g.Meta `orm:"table:t_sim_bind_package_logs, do:true"`
|
||||
Id any // 主键ID
|
||||
SubscriptionNo any // 订购记录编号
|
||||
BatchNo any // 批次编号
|
||||
Iccid any // ICCID
|
||||
Msisdn any // MSISDN/卡号
|
||||
DeptId any // 部门机构编号
|
||||
PackageType any // 套餐类型
|
||||
PackageCode any // 套餐编号
|
||||
PreviousPackageCode any // 变更前套餐编号
|
||||
BusinessType any // 类型 枚举
|
||||
EffectiveStatus any // 订购状态 枚举
|
||||
HandleTime *gtime.Time // 办理时间
|
||||
EffectiveTime *gtime.Time // 生效时间
|
||||
ExpectedExpireTime *gtime.Time // 预计到期时间
|
||||
ActualExpireTime *gtime.Time // 实际到期时间
|
||||
DurationMonths any // 套餐时长(月)
|
||||
GiftDurationMonths any // 赠送时长(月)
|
||||
OrderCode any // 订单编号
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimCardBindPkg is the golang structure of table t_sim_card_bind_pkg for DAO operations like Where/Data.
|
||||
type TSimCardBindPkg struct {
|
||||
g.Meta `orm:"table:t_sim_card_bind_pkg, do:true"`
|
||||
Id any // 主键ID
|
||||
SubscriptionNo any // 订购记录编号
|
||||
BatchNo any // 批次编号
|
||||
Iccid any // ICCID
|
||||
Msisdn any // MSISDN/卡号
|
||||
DeptId any // 部门机构编号
|
||||
PackageType any // 套餐类型
|
||||
PackageCode any // 套餐编号
|
||||
PreviousPackageCode any // 变更前套餐编号
|
||||
BusinessType any // 类型 枚举
|
||||
EffectiveStatus any // 订购状态 枚举
|
||||
HandleTime *gtime.Time // 办理时间
|
||||
EffectiveTime *gtime.Time // 生效时间
|
||||
ExpectedExpireTime *gtime.Time // 预计到期时间
|
||||
ActualExpireTime *gtime.Time // 实际到期时间
|
||||
DurationMonths any // 套餐时长(月)
|
||||
GiftDurationMonths any // 赠送时长(月)
|
||||
OrderCode any // 订单编号
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimCardInfo is the golang structure of table t_sim_card_info for DAO operations like Where/Data.
|
||||
type TSimCardInfo struct {
|
||||
g.Meta `orm:"table:t_sim_card_info, do:true"`
|
||||
Id any // 主键ID
|
||||
Iccid any // ICCID
|
||||
Msisdn any // MSISDN/卡号
|
||||
Imsi any // IMSI
|
||||
Imei any // IMEI
|
||||
RegionCode any // 归属地
|
||||
DeptId any // 渠道客户ID
|
||||
CurrentPackageCode any // 当前套餐编号
|
||||
PackageStatus any // 套餐状态:0 无套餐,1待生效,2生效中,3已过期
|
||||
AccessType any // 接入方式:ipv4、ipv6、ipv4_ipv6
|
||||
BossCardStatus any // 运营商卡状态 枚举
|
||||
CardType any // 卡类型 枚举
|
||||
BossOpenAt *gtime.Time // 运营商开户日期
|
||||
BossActivateAt *gtime.Time // 运营商激活日期
|
||||
IsBossActivateEnabled any // 是否按运营商激活减去赠送时长方:1是,0否
|
||||
InboundBatchNo any // 入库批次
|
||||
OutboundBatchNo any // 出库批次
|
||||
AllocationBatchNo any // 划拨批次
|
||||
IsFlowPool any // 是否为池卡:1是,0否
|
||||
FlowPoolCode any // 流量池编号
|
||||
OutStockTime *gtime.Time // 出库时间
|
||||
FlowPkgBeginAt *gtime.Time // 当前套餐生效时间
|
||||
FlowPkgPresentAt *gtime.Time // 套餐赠送结束时间
|
||||
FlowPkgRealPresentAt *gtime.Time // 实际赠送结束时间
|
||||
FlowPkgEndAt *gtime.Time // 当前套餐预计到期时间
|
||||
DataServiceStatus any // 数据服务状态:1启用、0禁用
|
||||
PackageTotalFlowMb any // 套餐总流量MB
|
||||
UsedFlowMb any // 已用流量MB
|
||||
TrafficCutoffStatus any // 达量断网配置状态:0未配置,1已开启,2已关闭
|
||||
TrafficCutoffThreshold any // 达量断网阈值
|
||||
SmsServiceStatus any // 短信服务状态:1启用、0禁用
|
||||
PackageTotalSms any // 套餐短信总条数
|
||||
UsedSms any // 已用短信条数
|
||||
VoiceServiceStatus any // 语音服务状态:1启用、0禁用
|
||||
PackageTotalVoice any // 套餐语音总分钟数
|
||||
UsedVoice any // 已用语音分钟数
|
||||
RoamServiceStatus any // 国漫服务状态:1启用、0禁用
|
||||
PackageTotalRoamFlowMb any // 套餐国际流量MB
|
||||
UsedRoamFlowMb any // 已用国际流量MB
|
||||
StatusSyncTime *gtime.Time // 状态最后一次同步时间
|
||||
FlowSyncTime *gtime.Time // 流量最后一次同步时间
|
||||
SmsSyncTime *gtime.Time // 短信最后一次同步时间
|
||||
VoiceSyncTime *gtime.Time // 语音最后一次同步时间
|
||||
RoamSyncTime *gtime.Time // 国漫最后一次同步时间
|
||||
ExtraFeeEnabled any // 是否收取附加费:1是,0否
|
||||
ExtraFeeMultiple any // 附加费用倍数
|
||||
ExtraFee any // 附加金额
|
||||
ChanKey any // 通道编号
|
||||
NetModel any // 网络类型:4G、5G、NB-IoT
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimCardStock is the golang structure of table t_sim_card_stock for DAO operations like Where/Data.
|
||||
type TSimCardStock struct {
|
||||
g.Meta `orm:"table:t_sim_card_stock, do:true"`
|
||||
Id any // 主键ID
|
||||
BatchNo any //
|
||||
Iccid any // ICCID
|
||||
Msisdn any // MSISDN
|
||||
Imsi any // IMSI
|
||||
Imei any // IMEI
|
||||
ChanKey any // 通道编号
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimChannelTemplate is the golang structure of table t_sim_channel_template for DAO operations like Where/Data.
|
||||
type TSimChannelTemplate struct {
|
||||
g.Meta `orm:"table:t_sim_channel_template, do:true"`
|
||||
Id any // ID
|
||||
TempKey any // 模板标识
|
||||
TempName any // 模板名称
|
||||
TempModel any // 模板模型
|
||||
TempConfig any // 模板配置
|
||||
TempStatus any // 模板状态(0未启用,1启用)
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimChannels is the golang structure of table t_sim_channels for DAO operations like Where/Data.
|
||||
type TSimChannels struct {
|
||||
g.Meta `orm:"table:t_sim_channels, do:true"`
|
||||
Id any // ID
|
||||
TempKey any // 模板标识
|
||||
ChanKey any // 通道编号
|
||||
ChanName any // 通道名称
|
||||
ChanConfig any // 通道配置
|
||||
ChanStatus any // 通道状态(0启用,1停用)
|
||||
ChanAlias any // 通道别名
|
||||
RegionCode any // 通道行政区域代码(省市)
|
||||
AppKey any // 应用标识
|
||||
AppSecret any // 应用密钥
|
||||
AccessToken any // 接口调用凭证
|
||||
AccessTokenCreated *gtime.Time // 凭证申请时间
|
||||
AccessTokenExpire *gtime.Time // 凭证过期时间
|
||||
RefreshToken any // 刷新凭证
|
||||
Remark any // 备注
|
||||
LoginUser any // 登录账号
|
||||
LoginPassword any // 登录密码
|
||||
LoginUrl any // 登录地址
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimFlowPackageInfo is the golang structure of table t_sim_flow_package_info for DAO operations like Where/Data.
|
||||
type TSimFlowPackageInfo struct {
|
||||
g.Meta `orm:"table:t_sim_flow_package_info, do:true"`
|
||||
Id any // 主键ID
|
||||
PackageCode any // 套餐编码
|
||||
CategoryCode any // 套餐分类编码
|
||||
PoolPackageCode any // 池套餐编码
|
||||
PackageName any // 套餐名称
|
||||
PackageType any // 套餐类型:101-卡套餐 102-池套餐 103-单卡加油包 104-池卡加油包
|
||||
BillingMethod any // 计费方式
|
||||
SortNo any // 排序号
|
||||
FlowMb any // 套餐流量(MB)
|
||||
FlowGb any // 套餐流量(GB)
|
||||
Enabled any // 是否启用:0-否 1-是(yesno_enum)
|
||||
ListPrice any // 目录售价
|
||||
CostPrice any // 成本价
|
||||
SysDefaultProfit any // 系统默认利润
|
||||
SysDefaultRatio any // 系统默认系数
|
||||
TerminalCost any // 终端成本
|
||||
SysDefaultTerminalProfit any // 系统默认终端利润
|
||||
SysDefaultTerminalRatio any // 系统默认终端系数
|
||||
RenewableDurationConfig *gjson.Json // 可续费时长配置:[1,2,3]
|
||||
DiscountRateConfig *gjson.Json // 折扣率配置:{"duration":1,"rate":100}
|
||||
RenewablePackageCodes *gjson.Json // 可续费套餐编码列表
|
||||
ChangeablePackageCodes *gjson.Json // 可变更套餐编码列表
|
||||
TopupPackageCodes *gjson.Json // 可订购加油包套餐编码列表
|
||||
IsAutoRenew any // 是否自动续费:0-否 1-是
|
||||
AutoRenewPackageId any // 自动续费套餐ID
|
||||
AutoRenewYears any // 自动续费年限
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimFlowPackagePrice is the golang structure of table t_sim_flow_package_price for DAO operations like Where/Data.
|
||||
type TSimFlowPackagePrice struct {
|
||||
g.Meta `orm:"table:t_sim_flow_package_price, do:true"`
|
||||
Id any // 主键ID
|
||||
PackageCode any // 套餐编码
|
||||
AgentScopeType any // 渠道适用类型:0-所有客户 1-指定客户
|
||||
TargetAgentId any // 指定渠道客户ID
|
||||
DeptId any // 机构编号
|
||||
AgentCostRatio any // 渠道成本系数
|
||||
AgentCostProfit any // 渠道成本利润
|
||||
UserCostRatio any // 终端用户成本系数
|
||||
UserCostProfit any // 终端用户成本利润
|
||||
Enabled any // 是否启用:0-否 1-是(yesno_enum)
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimFlowPool is the golang structure of table t_sim_flow_pool for DAO operations like Where/Data.
|
||||
type TSimFlowPool struct {
|
||||
g.Meta `orm:"table:t_sim_flow_pool, do:true"`
|
||||
Id any // 主键ID
|
||||
FlowPoolCode any // 流量池编号
|
||||
DeptId any // 客户编号
|
||||
PackageCodes *gjson.Json // 套餐编号列表(冗余)
|
||||
PoolPackageCode any // 池套餐编码
|
||||
CardCount any // 关联卡数量
|
||||
CardFlowMb any // 套餐卡流量MB
|
||||
PoolPackageFlowMb any // 套内总流量MB
|
||||
AddOnFlowMb any // 加油包总流量MB
|
||||
TotalFlowMb any // 总流量MB(套内+加油包)
|
||||
UsedFlowMb any // 已使用流量MB
|
||||
RemainFlowMb any // 剩余流量MB
|
||||
PoolStatus any // 状态:0 正常、1 停用、2 锁定
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimPackageCategory is the golang structure of table t_sim_package_category for DAO operations like Where/Data.
|
||||
type TSimPackageCategory struct {
|
||||
g.Meta `orm:"table:t_sim_package_category, do:true"`
|
||||
Id any // 主键ID
|
||||
CategoryCode any // 套餐分类编号
|
||||
CategoryName any // 套餐分类名称
|
||||
SortNo any // 排序
|
||||
Enabled any // 是否启用:1启用,0停用
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimPoolBindPackage is the golang structure of table t_sim_pool_bind_package for DAO operations like Where/Data.
|
||||
type TSimPoolBindPackage struct {
|
||||
g.Meta `orm:"table:t_sim_pool_bind_package, do:true"`
|
||||
Id any // 主键ID
|
||||
SubscriptionNo any // 订购记录编号
|
||||
PoolNo any // 流量池编号
|
||||
DeptId any // 部门机构编号
|
||||
PackageType any // 套餐类型
|
||||
PackageCode any // 套餐编号
|
||||
PreviousPackageCode any // 变更前套餐编号
|
||||
BusinessType any // 类型 枚举
|
||||
EffectiveStatus any // 订购状态 枚举
|
||||
HandleTime *gtime.Time // 办理时间
|
||||
EffectiveTime *gtime.Time // 生效时间
|
||||
ExpectedExpireTime *gtime.Time // 预计到期时间
|
||||
ActualExpireTime *gtime.Time // 实际到期时间
|
||||
DurationMonths any // 套餐时长(月)
|
||||
GiftDurationMonths any // 赠送时长(月)
|
||||
OrderCode any // 订单编号
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimPoolWarnConfig is the golang structure of table t_sim_pool_warn_config for DAO operations like Where/Data.
|
||||
type TSimPoolWarnConfig struct {
|
||||
g.Meta `orm:"table:t_sim_pool_warn_config, do:true"`
|
||||
Id any // 主键ID
|
||||
PoolId any // 流量池ID
|
||||
WarnLevel any // 预警等级:1提示,2注意,3警告,4危险,5紧急
|
||||
ThresholdPercent any // 阈值(例如0.7)
|
||||
WarnMethods any // 预警方式:0短信,1邮箱,2电话,3平台消息 多选逗号分隔
|
||||
WarnPhones any // 预警手机号 多个逗号分隔
|
||||
WarnEmails any // 预警邮箱 多个逗号分隔
|
||||
AutoAction any // 自动动作:0无,1限速,2断网
|
||||
IsEnabled any // 是否启用:1启用,0停用
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TUpstreamPackage is the golang structure of table t_sim_upstream_package for DAO operations like Where/Data.
|
||||
type TUpstreamPackage struct {
|
||||
g.Meta `orm:"table:t_sim_upstream_package, do:true"`
|
||||
Id any // 主键
|
||||
UpPkgCode any // 上游套餐编码
|
||||
UpPkgName any // 上游套餐名称
|
||||
Operator any // 运营商:1移动,2联通,3电信
|
||||
ApnName any // APN名称
|
||||
Remark any // 备注
|
||||
CreatedDept any // 创建部门
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
CreatedBy any // 创建者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
UpdatedBy any // 更新者
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TTplatformSetting is the golang structure of table t_tplatform_setting for DAO operations like Where/Data.
|
||||
type TTplatformSetting struct {
|
||||
g.Meta `orm:"table:t_tplatform_setting, do:true"`
|
||||
Id any // 主键ID
|
||||
SubDomain any // 二级域名前缀
|
||||
FullDomain any // 完整域名
|
||||
AppTitle any // 平台标题
|
||||
AppIcon any // 图标地址
|
||||
LoginPageTitle any // 登录页大标题
|
||||
LoginPageDescription any // 登录页描述文案
|
||||
LoginSloganImage any // 登录标语图地址
|
||||
Sort any // 排序
|
||||
Status any // 状态 0启用 1禁用
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TWoAudit is the golang structure of table t_wo_audit for DAO operations like Where/Data.
|
||||
type TWoAudit struct {
|
||||
g.Meta `orm:"table:t_wo_audit, do:true"`
|
||||
Id any // 主键ID
|
||||
AuditNo any // 审核编号
|
||||
WoId any // 工单ID
|
||||
WoNo any // 工单编号
|
||||
AuditType any // 审核类型:0分派,1转派,2退回,3解决,4关闭,5废除
|
||||
AuditorType any // 审核人类型:1终端用户,2代理商,3客服
|
||||
AuditorDeptId any // 审核人机构ID
|
||||
AuditorUserId any // 审核人用户ID
|
||||
AuditorName any // 审核人姓名
|
||||
BeforeStatus any // 变更前状态
|
||||
AfterStatus any // 变更后状态
|
||||
AuditResult any // 审核结果:0通过,1驳回
|
||||
AuditOpinion any // 审核意见
|
||||
AuditTime *gtime.Time // 审核时间
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TWoCommunication is the golang structure of table t_wo_communication for DAO operations like Where/Data.
|
||||
type TWoCommunication struct {
|
||||
g.Meta `orm:"table:t_wo_communication, do:true"`
|
||||
Id any // 主键ID
|
||||
CommNo any // 沟通编号
|
||||
WoId any // 工单ID
|
||||
WoNo any // 工单编号
|
||||
CommType any // 沟通类型:0回复,1反馈
|
||||
SenderType any // 发送人类型:1终端用户,2代理商
|
||||
SenderDeptId any // 发送人机构ID
|
||||
SenderUserId any // 发送人用户ID
|
||||
SenderName any // 发送人姓名
|
||||
Content any // 沟通内容
|
||||
AttachmentUrls *gjson.Json // 附件URL列表
|
||||
CommTime *gtime.Time // 沟通时间
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TWoMain is the golang structure of table t_wo_main for DAO operations like Where/Data.
|
||||
type TWoMain struct {
|
||||
g.Meta `orm:"table:t_wo_main, do:true"`
|
||||
Id any // 主键ID
|
||||
WoNo any // 工单编号
|
||||
WoType any // 工单类型 0卡,1模组,2设备,3订单,4余额,5提现
|
||||
RelatedId any // 关联业务ID
|
||||
Title any // 工单标题
|
||||
Content any // 问题描述
|
||||
Attachment any // 附件
|
||||
CreatorType any // 创建人类型:1终端用户,2代理商
|
||||
CreatorDeptId any // 创建机构ID
|
||||
CreatorUserId any // 创建用户ID
|
||||
CreatorName any // 创建人姓名
|
||||
CreatorPhone any // 创建人手机号
|
||||
AssignDeptId any // 分派方机构ID
|
||||
AssignUserId any // 分派人用户ID
|
||||
CurrentStatus any // 当前处理状态:1已分派,2处理中,3已解决,4已完结_关单,5已取消
|
||||
HandlerDeptId any // 处理方机构ID
|
||||
HandlerUserId any // 处理人用户ID
|
||||
FirstResponseTime *gtime.Time // 首次响应时间
|
||||
ResolveTime *gtime.Time // 确认时间
|
||||
CloseTime *gtime.Time // 关闭时间
|
||||
SatisfactionLevel any // 满意度:1-5分
|
||||
EvalContent any // 评价内容
|
||||
EvalTime *gtime.Time // 评价时间
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TWoRecord is the golang structure of table t_wo_record for DAO operations like Where/Data.
|
||||
type TWoRecord struct {
|
||||
g.Meta `orm:"table:t_wo_record, do:true"`
|
||||
Id any // 主键ID
|
||||
WoNo any // 工单编号
|
||||
OperationType any // 操作类型:0创建,1分派,2处理,3完成,4关单,5取消
|
||||
OperationDeptId any // 操作机构ID
|
||||
OperationUserId any // 操作用户ID
|
||||
TargetDeptId any // 目标部门ID
|
||||
TargetUserId any // 目标用户ID
|
||||
BeforeStatus any // 变更前状态
|
||||
AfterStatus any // 变更后状态
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TestDemo is the golang structure of table test_demo for DAO operations like Where/Data.
|
||||
type TestDemo struct {
|
||||
g.Meta `orm:"table:test_demo, do:true"`
|
||||
Id interface{} // 主键
|
||||
TenantId interface{} // 租户编号
|
||||
DeptId interface{} // 部门id
|
||||
UserId interface{} // 用户id
|
||||
OrderNum interface{} // 排序号
|
||||
TestKey interface{} // key键
|
||||
Value interface{} // 值
|
||||
Version interface{} // 版本
|
||||
CreatedDept interface{} // 创建部门
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
CreatedBy interface{} // 创建者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
UpdatedBy interface{} // 更新者
|
||||
DeletedBy interface{} // 删除人
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
}
|
||||
@@ -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:"删除时间"`
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user