chore: 初始开源发布
iotlcm-app:小程序端 + 用户端服务。 - app/:uni-app 小程序前端(基于 unibest,MIT) - 微信 AppID → YOUR_WX_APPID,uni-app AppID → __UNI__YOURAPPID - 内网后端地址 → admin.iotlcm.example.com - 应用标题与 unibest 模板 README 重写(保留上游致谢与 MIT 声明) - server/:GoFrame 用户端服务(基于 XiuAdmin,Apache-2.0) - module xiuadmin → git.5iot.com/iotlcm-public/iotlcm-app(360 文件) - 支付回调地址 → app.iotlcm.example.com,商户名与应用名泛化 - 真实手机号 → 合法 11 位编造号(保留号段前 3 位 + 后 4 位) - 依赖号码尾部的断言同步更新 - 补 server/LICENSE(Apache-2.0) - 移除内部资产:CI 触发器 - 补根 README,LF 行尾 + .gitattributes 已知:TestSysDept_RefreshDeptAncestors 在源仓同一提交上同样失败,属既有缺陷。
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
package model
|
||||
|
||||
type AppPhoneRegisterParam struct {
|
||||
TenantId string `json:"tenantId" v:"required#租户ID不能为空" dc:"租户ID"`
|
||||
Phone string `json:"phone" v:"required|phone#手机号不能为空|手机号格式不正确" dc:"手机号"`
|
||||
Password string `json:"password" v:"required|length:6,32#密码不能为空|密码长度应为6到32位" dc:"密码"`
|
||||
NickName string `json:"nickName" dc:"昵称"`
|
||||
SmsCode string `json:"smsCode" dc:"短信验证码,当前注册未接入短信时可为空"`
|
||||
}
|
||||
|
||||
type AppPhoneLoginParam struct {
|
||||
TenantId string `json:"tenantId" v:"required#租户ID不能为空" dc:"租户ID"`
|
||||
Account string `json:"account" dc:"手机号或用户名"`
|
||||
Username string `json:"username" dc:"兼容管理平台用户名登录字段"`
|
||||
Phone string `json:"phone" dc:"兼容旧版手机号登录字段"`
|
||||
Password string `json:"password" v:"required|length:6,32#密码不能为空|密码长度应为6到32位" dc:"密码"`
|
||||
SelectedUserId int64 `json:"selectedUserId" dc:"手机号多账号登录时选中的用户ID"`
|
||||
WxCode string `json:"wxCode" dc:"微信小程序登录临时凭证,用于后端绑定openid"`
|
||||
}
|
||||
|
||||
type AppWechatLoginParam struct {
|
||||
TenantId string `json:"tenantId" v:"required#租户ID不能为空" dc:"租户ID"`
|
||||
WxCode string `json:"wxCode" v:"required#微信登录凭证不能为空" dc:"微信小程序登录临时凭证"`
|
||||
}
|
||||
|
||||
type AppWechatBindPhoneParam struct {
|
||||
TenantId string `json:"tenantId" v:"required#租户ID不能为空" dc:"租户ID"`
|
||||
BindTicket string `json:"bindTicket" v:"required#微信绑定凭证不能为空" dc:"微信绑定临时凭证"`
|
||||
Phone string `json:"phone" v:"required|phone#手机号不能为空|手机号格式不正确" dc:"手机号"`
|
||||
CaptchaKey string `json:"captchaKey" dc:"图形验证码Key"`
|
||||
CaptchaPoint string `json:"captchaPoint" dc:"图形验证码坐标"`
|
||||
SelectedUserId int64 `json:"selectedUserId" dc:"手机号多账号绑定时选中的用户ID"`
|
||||
}
|
||||
|
||||
type AppForgotPasswordParam struct {
|
||||
TenantId string `json:"tenantId" v:"required#租户ID不能为空" dc:"租户ID"`
|
||||
Phone string `json:"phone" v:"required|phone#手机号不能为空|手机号格式不正确" dc:"手机号"`
|
||||
Password string `json:"password" v:"required|length:6,32#新密码不能为空|新密码长度应为6到32位" dc:"新密码"`
|
||||
SmsCode string `json:"smsCode" v:"required#短信验证码不能为空" dc:"短信验证码"`
|
||||
}
|
||||
|
||||
type AppSendSmsParam struct {
|
||||
TenantId string `json:"tenantId" v:"required#租户ID不能为空" dc:"租户ID"`
|
||||
Phone string `json:"phone" v:"required|phone#手机号不能为空|手机号格式不正确" dc:"手机号"`
|
||||
Scene string `json:"scene" v:"required|in:register,forgotPassword#短信场景不能为空|短信场景不正确" dc:"短信场景"`
|
||||
}
|
||||
|
||||
type AppSendSmsModel struct {
|
||||
Success bool `json:"success" dc:"是否成功"`
|
||||
SmsCode string `json:"smsCode,omitempty" dc:"开发环境验证码"`
|
||||
}
|
||||
|
||||
type AppAuthTokenModel struct {
|
||||
Token string `json:"token,omitempty" dc:"访问令牌"`
|
||||
ExpiresIn int64 `json:"expiresIn,omitempty" dc:"有效期秒数"`
|
||||
UserInfo *AppUserInfoModel `json:"userInfo,omitempty" dc:"用户信息"`
|
||||
NeedSelect bool `json:"needSelect,omitempty" dc:"是否需要选择登录账号"`
|
||||
Candidates []*AppLoginCandidateModel `json:"candidates,omitempty" dc:"可选择登录账号列表"`
|
||||
}
|
||||
|
||||
type AppWechatLoginModel struct {
|
||||
AppAuthTokenModel
|
||||
NeedBindPhone bool `json:"needBindPhone,omitempty" dc:"是否需要绑定手机号"`
|
||||
BindTicket string `json:"bindTicket,omitempty" dc:"微信绑定临时凭证"`
|
||||
BindExpireIn int64 `json:"bindExpireIn,omitempty" dc:"绑定凭证有效期秒数"`
|
||||
}
|
||||
|
||||
type AppWechatBindPhoneModel struct {
|
||||
AppAuthTokenModel
|
||||
NeedBindPhone bool `json:"needBindPhone,omitempty" dc:"是否仍需完成手机号绑定"`
|
||||
BindTicket string `json:"bindTicket,omitempty" dc:"微信绑定临时凭证"`
|
||||
}
|
||||
|
||||
type AppLoginCandidateModel struct {
|
||||
UserId int64 `json:"userId" dc:"用户ID"`
|
||||
Username string `json:"username" dc:"用户名"`
|
||||
NickName string `json:"nickName" dc:"昵称"`
|
||||
Phone string `json:"phone" dc:"手机号"`
|
||||
DeptId int64 `json:"-" dc:"部门ID"`
|
||||
DeptName string `json:"deptName" dc:"部门名称"`
|
||||
UserType string `json:"userType" dc:"用户类型"`
|
||||
Role string `json:"role" dc:"账号类型"`
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
package model
|
||||
|
||||
import "github.com/gogf/gf/v2/os/gtime"
|
||||
|
||||
type AppBalanceRechargeSubmitParam struct {
|
||||
Amount float64 `json:"amount" v:"required|min:0.01#请输入充值金额|充值金额必须大于0" dc:"充值金额"`
|
||||
BuyerNote string `json:"buyerNote" dc:"买家备注"`
|
||||
PayProvider string `json:"payProvider" dc:"支付渠道"`
|
||||
PayScene string `json:"payScene" dc:"支付场景"`
|
||||
WxCode string `json:"wxCode" dc:"微信小程序登录临时凭证,用于补充绑定openid"`
|
||||
}
|
||||
|
||||
type AppBalanceRechargeSubmitModel struct {
|
||||
OrderId int64 `json:"orderId" dc:"订单ID"`
|
||||
OrderSn string `json:"orderSn" dc:"订单编号"`
|
||||
TotalAmount float64 `json:"totalAmount" dc:"充值金额"`
|
||||
PriceText string `json:"priceText" dc:"充值金额文本"`
|
||||
OrderStatus int `json:"orderStatus" dc:"订单状态"`
|
||||
PayStatus int `json:"payStatus" dc:"支付状态"`
|
||||
Status string `json:"status" dc:"提交状态"`
|
||||
PaymentExpireAt *gtime.Time `json:"paymentExpireAt" dc:"支付过期时间"`
|
||||
PaymentRemainingSeconds int64 `json:"paymentRemainingSeconds" dc:"支付剩余秒数"`
|
||||
PaymentExpired bool `json:"paymentExpired" dc:"支付是否已过期"`
|
||||
PayProvider string `json:"payProvider" dc:"支付渠道"`
|
||||
PayUrl string `json:"payUrl" dc:"支付跳转地址"`
|
||||
PayMethod string `json:"payMethod" dc:"支付打开方式"`
|
||||
PayGateway string `json:"payGateway" dc:"支付网关"`
|
||||
PayParams map[string]string `json:"payParams" dc:"支付提交参数"`
|
||||
}
|
||||
|
||||
type AppBalanceRechargeStatusParam struct {
|
||||
OrderSn string `json:"orderSn" v:"required#订单号不能为空" dc:"充值订单号"`
|
||||
PayScene string `json:"payScene" dc:"支付场景"`
|
||||
WxCode string `json:"wxCode" dc:"微信小程序登录临时凭证,用于补充绑定openid"`
|
||||
}
|
||||
|
||||
type AppBalanceRechargeMockPayParam struct {
|
||||
OrderSn string `json:"orderSn" v:"required#订单号不能为空" dc:"充值订单号"`
|
||||
}
|
||||
|
||||
type AppBalanceRechargeRefundParam struct {
|
||||
OrderSn string `json:"orderSn" v:"required#订单号不能为空" dc:"充值订单号"`
|
||||
RefundReason string `json:"refundReason" dc:"退款原因"`
|
||||
}
|
||||
|
||||
type AppBalanceRechargeStatusModel struct {
|
||||
OrderId int64 `json:"orderId" dc:"订单ID"`
|
||||
OrderSn string `json:"orderSn" dc:"订单编号"`
|
||||
TotalAmount float64 `json:"totalAmount" dc:"充值金额"`
|
||||
PriceText string `json:"priceText" dc:"充值金额文本"`
|
||||
OrderStatus int `json:"orderStatus" dc:"订单状态"`
|
||||
PayStatus int `json:"payStatus" dc:"支付状态"`
|
||||
Status string `json:"status" dc:"支付状态文本"`
|
||||
PaymentExpireAt *gtime.Time `json:"paymentExpireAt" dc:"支付过期时间"`
|
||||
PaymentRemainingSeconds int64 `json:"paymentRemainingSeconds" dc:"支付剩余秒数"`
|
||||
PaymentExpired bool `json:"paymentExpired" dc:"支付是否已过期"`
|
||||
BalanceAfter float64 `json:"balanceAfter" dc:"入账后余额"`
|
||||
BalanceAfterText string `json:"balanceAfterText" dc:"入账后余额文本"`
|
||||
PayProvider string `json:"payProvider" dc:"支付渠道"`
|
||||
PayTradeNo string `json:"payTradeNo" dc:"支付渠道流水号"`
|
||||
PayUrl string `json:"payUrl" dc:"支付跳转地址"`
|
||||
PayMethod string `json:"payMethod" dc:"支付打开方式"`
|
||||
PayGateway string `json:"payGateway" dc:"支付网关"`
|
||||
PayParams map[string]string `json:"payParams" dc:"支付提交参数"`
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package model
|
||||
|
||||
type AppSideCaptchaModel struct {
|
||||
CaptchaKey string `json:"captchaKey" dc:"key"`
|
||||
ImageBase64 string `json:"imageBase64" dc:"背景图片"`
|
||||
TileBase64 string `json:"tileBase64" dc:"滑块图片"`
|
||||
TileWidth int `json:"tileWidth" dc:"滑块宽"`
|
||||
TileHeight int `json:"tileHeight" dc:"滑块高"`
|
||||
TileX int `json:"tileX" dc:"滑块X坐标"`
|
||||
TileY int `json:"tileY" dc:"滑块Y坐标"`
|
||||
}
|
||||
|
||||
type AppCheckSideCaptchaParam struct {
|
||||
CaptchaKey string `json:"captchaKey" v:"required#滑块验证码key不能为空" dc:"key"`
|
||||
Point string `json:"point" v:"required#滑块坐标不能为空" dc:"滑块坐标位置"`
|
||||
}
|
||||
@@ -0,0 +1,388 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-app/internal/model/request"
|
||||
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
type AppCardQueryParam struct {
|
||||
TenantId string `json:"tenantId" dc:"租户ID"`
|
||||
CardValue string `json:"cardValue" v:"required#请输入ICCID、MSISDN、IMSI或IMEI" dc:"卡号标识"`
|
||||
}
|
||||
|
||||
type AppCardRecognitionModel struct {
|
||||
Code string `json:"code" dc:"识别业务码"`
|
||||
Message string `json:"message" dc:"识别结果提示"`
|
||||
CardType string `json:"cardType" dc:"卡号类型"`
|
||||
CardValue string `json:"cardValue" dc:"识别到的ICCID"`
|
||||
Confidence float64 `json:"confidence" dc:"模型置信度"`
|
||||
Candidates []string `json:"candidates" dc:"候选卡号"`
|
||||
Card *AppCardModel `json:"card,omitempty" dc:"卡片查询结果"`
|
||||
}
|
||||
|
||||
type AppCardListParam struct {
|
||||
request.PageInfo
|
||||
CardValue string `json:"cardValue" dc:"卡号标识"`
|
||||
Status string `json:"status" dc:"状态分类:all/normal/low-flow/expiring/error"`
|
||||
CategoryCode string `json:"categoryCode" dc:"套餐分类编码"`
|
||||
IncludeTotal *bool `json:"includeTotal" dc:"是否返回精确总数"`
|
||||
}
|
||||
|
||||
type AppCardDetailParam struct {
|
||||
CardValue string `json:"cardValue" v:"required#请输入ICCID、MSISDN、IMSI或IMEI" dc:"卡号标识"`
|
||||
}
|
||||
|
||||
type AppCardBindParam struct {
|
||||
TenantId string `json:"tenantId" dc:"租户ID"`
|
||||
CardValue string `json:"cardValue" v:"required#请输入ICCID、MSISDN、IMSI或IMEI" dc:"卡号标识"`
|
||||
Remark string `json:"remark" dc:"备注"`
|
||||
}
|
||||
|
||||
type AppCardRestartParam struct {
|
||||
CardValue string `json:"cardValue" v:"required#请输入ICCID、MSISDN、IMSI或IMEI" dc:"卡号标识"`
|
||||
Remark string `json:"remark" dc:"备注"`
|
||||
}
|
||||
|
||||
type AppCardLifecycleParam struct {
|
||||
CardValue string `json:"cardValue" dc:"单张卡号标识"`
|
||||
CardValues []string `json:"cardValues" dc:"批量卡号标识列表"`
|
||||
Operation string `json:"operation" v:"required#请选择卡片操作" dc:"操作类型:stop/start/restart"`
|
||||
Remark string `json:"remark" dc:"备注"`
|
||||
}
|
||||
|
||||
type AppCardLifecycleStatusParam struct {
|
||||
BatchNo string `json:"batchNo" v:"required#批次号不能为空" dc:"批次编号"`
|
||||
}
|
||||
|
||||
type AppCardRenewPrepareParam struct {
|
||||
CardValue string `json:"cardValue" v:"required#请输入ICCID、MSISDN、IMSI或IMEI" dc:"卡号标识"`
|
||||
PackageCode string `json:"packageCode" dc:"套餐编码"`
|
||||
SubscriptionNo string `json:"subscriptionNo" dc:"订购记录编号"`
|
||||
}
|
||||
|
||||
type AppCardRenewBatchPrepareParam struct {
|
||||
CardValues []string `json:"cardValues" v:"required#请输入需要续费的卡" dc:"卡号标识列表"`
|
||||
PackageCode string `json:"packageCode" dc:"套餐编码"`
|
||||
}
|
||||
|
||||
type AppCardRenewBatchItemParam struct {
|
||||
CardValue string `json:"cardValue" dc:"卡号标识"`
|
||||
PackageCode string `json:"packageCode" dc:"套餐编码"`
|
||||
SubscriptionNo string `json:"subscriptionNo" dc:"订购记录编号"`
|
||||
DurationMonths int `json:"durationMonths" dc:"续费时长(月)"`
|
||||
DurationYears int `json:"durationYears" dc:"续费时长(年)"`
|
||||
}
|
||||
|
||||
type AppCardRenewSubmitParam struct {
|
||||
CardValue string `json:"cardValue" v:"required#请输入ICCID、MSISDN、IMSI或IMEI" dc:"卡号标识"`
|
||||
PackageCode string `json:"packageCode" dc:"套餐编码"`
|
||||
SubscriptionNo string `json:"subscriptionNo" dc:"订购记录编号"`
|
||||
DurationMonths int `json:"durationMonths" dc:"续费时长(月,兼容字段)"`
|
||||
DurationYears int `json:"durationYears" dc:"续费时长(年)"`
|
||||
BuyerNote string `json:"buyerNote" dc:"买家备注"`
|
||||
}
|
||||
|
||||
type AppCardRenewBatchSubmitParam struct {
|
||||
CardValues []string `json:"cardValues" dc:"卡号标识列表"`
|
||||
BatchNo string `json:"batchNo" dc:"预处理批次号"`
|
||||
PackageCode string `json:"packageCode" dc:"套餐编码"`
|
||||
DurationMonths int `json:"durationMonths" dc:"续费时长(月,兼容字段)"`
|
||||
DurationYears int `json:"durationYears" dc:"续费时长(年)"`
|
||||
Items []*AppCardRenewBatchItemParam `json:"items" dc:"逐卡续费明细"`
|
||||
BuyerNote string `json:"buyerNote" dc:"买家备注"`
|
||||
}
|
||||
|
||||
type AppCardAllocateTargetListParam struct {
|
||||
request.PageInfo
|
||||
Keyword string `json:"keyword" dc:"目标客户名称或编码"`
|
||||
}
|
||||
|
||||
type AppCardAllocateBatchPrepareParam struct {
|
||||
CardValues []string `json:"cardValues" v:"required#请选择需要划拨的卡" dc:"卡号标识列表"`
|
||||
TargetDeptId int64 `json:"targetDeptId" v:"required|min:1#请选择划拨目标客户|请选择划拨目标客户" dc:"目标客户部门ID"`
|
||||
}
|
||||
|
||||
type AppCardAllocateBatchSubmitParam struct {
|
||||
CardValues []string `json:"cardValues" dc:"卡号标识列表"`
|
||||
BatchNo string `json:"batchNo" v:"required#预处理批次号不能为空" dc:"预处理批次号"`
|
||||
TargetDeptId int64 `json:"targetDeptId" dc:"目标客户部门ID"`
|
||||
Remark string `json:"remark" dc:"划拨备注"`
|
||||
}
|
||||
|
||||
type AppCardChangePrepareParam struct {
|
||||
CardValues []string `json:"cardValues" v:"required#请选择需要变更套餐的卡" dc:"卡号标识列表"`
|
||||
NewPackageCode string `json:"newPackageCode" dc:"目标套餐编码"`
|
||||
TargetPackageCode string `json:"targetPackageCode" dc:"目标套餐编码兼容字段"`
|
||||
}
|
||||
|
||||
type AppCardChangeSubmitParam struct {
|
||||
CardValues []string `json:"cardValues" dc:"卡号标识列表"`
|
||||
BatchNo string `json:"batchNo" v:"required#预处理批次号不能为空" dc:"预处理批次号"`
|
||||
NewPackageCode string `json:"newPackageCode" v:"required#请选择目标套餐" dc:"目标套餐编码"`
|
||||
DurationMonths int `json:"durationMonths" v:"required|min:1#请选择套餐时长|套餐时长必须大于0" dc:"套餐时长(月)"`
|
||||
BuyerNote string `json:"buyerNote" dc:"买家备注"`
|
||||
Remark string `json:"remark" dc:"备注"`
|
||||
}
|
||||
|
||||
type AppPackageListParam struct {
|
||||
request.PageInfo
|
||||
Keyword string `json:"keyword" dc:"套餐名称、分类、卡号或备注"`
|
||||
CardValue string `json:"cardValue" dc:"卡号标识"`
|
||||
SubscriptionNo string `json:"subscriptionNo" dc:"订购记录编号"`
|
||||
PackageCode string `json:"packageCode" dc:"套餐编码"`
|
||||
Status string `json:"status" dc:"状态分类:all/active/expiring/expired/pending/addon"`
|
||||
CategoryCode string `json:"categoryCode" dc:"套餐分类编码"`
|
||||
}
|
||||
|
||||
type AppPackagePublicDetailParam struct {
|
||||
TenantId string `json:"tenantId" dc:"租户ID"`
|
||||
CardValue string `json:"cardValue" v:"required#请输入ICCID、MSISDN、IMSI或IMEI" dc:"卡号标识"`
|
||||
PackageCode string `json:"packageCode" dc:"套餐编码"`
|
||||
SubscriptionNo string `json:"subscriptionNo" dc:"订购记录编号"`
|
||||
}
|
||||
|
||||
type AppCardModel struct {
|
||||
Id int64 `json:"-" dc:"主键ID"`
|
||||
Iccid string `json:"iccid" dc:"ICCID"`
|
||||
Msisdn string `json:"msisdn" dc:"MSISDN/卡号"`
|
||||
Imsi string `json:"imsi" dc:"IMSI"`
|
||||
Imei string `json:"imei" dc:"IMEI"`
|
||||
RegionCode string `json:"regionCode" dc:"归属地"`
|
||||
DeptId int64 `json:"-" dc:"渠道客户ID"`
|
||||
DeptName string `json:"deptName" dc:"当前归属客户名称"`
|
||||
DeptKey string `json:"-" dc:"当前归属客户编码"`
|
||||
CurrentPackageCode string `json:"currentPackageCode" dc:"当前套餐编号"`
|
||||
PackageName string `json:"packageName" dc:"当前套餐名称"`
|
||||
PackageType int `json:"packageType" dc:"套餐类型"`
|
||||
CategoryCode string `json:"categoryCode" dc:"套餐分类编码"`
|
||||
CategoryName string `json:"categoryName" dc:"套餐分类名称"`
|
||||
PackageStatus int `json:"packageStatus" dc:"套餐状态"`
|
||||
AccessType int `json:"-" dc:"接入方式"`
|
||||
BossCardStatus int `json:"bossCardStatus" dc:"运营商卡状态"`
|
||||
AbnormalReason string `json:"abnormalReason,omitempty" dc:"异常原因摘要"`
|
||||
AbnormalReasons []string `json:"abnormalReasons,omitempty" dc:"异常原因列表"`
|
||||
CardType int `json:"cardType" dc:"卡类型"`
|
||||
NetModel int `json:"netModel" dc:"网络类型"`
|
||||
OnlineStatus string `json:"onlineStatus,omitempty" dc:"会话在线状态"`
|
||||
ApnName string `json:"apnName,omitempty" dc:"APN名称"`
|
||||
ApnId string `json:"apnId,omitempty" dc:"APN ID"`
|
||||
Rat string `json:"rat,omitempty" dc:"接入方式"`
|
||||
Ipv4 string `json:"ipv4,omitempty" dc:"IPv4"`
|
||||
Ipv6 string `json:"ipv6,omitempty" dc:"IPv6"`
|
||||
Ipv6Prefix string `json:"ipv6Prefix,omitempty" dc:"IPv6前缀"`
|
||||
SessionCreateTime string `json:"sessionCreateTime,omitempty" dc:"会话创建时间"`
|
||||
PackageTotalFlowMb float64 `json:"packageTotalFlowMb" dc:"套餐总流量MB"`
|
||||
UsedFlowMb float64 `json:"usedFlowMb" dc:"已用流量MB"`
|
||||
RemainFlowMb float64 `json:"remainFlowMb" dc:"剩余流量MB"`
|
||||
UsedFlowPercent float64 `json:"usedFlowPercent" dc:"流量使用百分比"`
|
||||
YesterdayFlowStatDate string `json:"yesterdayFlowStatDate,omitempty" dc:"昨日流量统计日期"`
|
||||
YesterdayDeptUsedFlowMb float64 `json:"yesterdayDeptUsedFlowMb,omitempty" dc:"所属客户昨日总用量MB"`
|
||||
YesterdayDeptSms int `json:"yesterdayDeptSms,omitempty" dc:"所属客户昨日短信条数"`
|
||||
YesterdayDeptVoiceMin int `json:"yesterdayDeptVoiceMin,omitempty" dc:"所属客户昨日语音分钟数"`
|
||||
FlowPkgBeginAt *gtime.Time `json:"flowPkgBeginAt" dc:"套餐生效时间"`
|
||||
FlowPkgEndAt *gtime.Time `json:"flowPkgEndAt" dc:"套餐到期时间"`
|
||||
DataServiceStatus int `json:"dataServiceStatus" dc:"数据服务状态"`
|
||||
PackageTotalSms int `json:"packageTotalSms" dc:"套餐短信总条数"`
|
||||
UsedSms int `json:"usedSms" dc:"已用短信条数"`
|
||||
SmsServiceStatus int `json:"smsServiceStatus" dc:"短信服务状态"`
|
||||
PackageTotalVoice int `json:"packageTotalVoice" dc:"套餐语音总分钟数"`
|
||||
UsedVoice int `json:"usedVoice" dc:"已用语音分钟数"`
|
||||
VoiceServiceStatus int `json:"voiceServiceStatus" dc:"语音服务状态"`
|
||||
RoamServiceStatus int `json:"roamServiceStatus" dc:"国漫服务状态"`
|
||||
StatusSyncTime *gtime.Time `json:"statusSyncTime" dc:"状态同步时间"`
|
||||
FlowSyncTime *gtime.Time `json:"flowSyncTime" dc:"流量同步时间"`
|
||||
ChanKey string `json:"-" dc:"通道编号"`
|
||||
ChanName string `json:"-" dc:"通道名称"`
|
||||
ChanAlias string `json:"-" dc:"通道别名"`
|
||||
Remark string `json:"remark" dc:"备注"`
|
||||
TenantId string `json:"-" dc:"租户ID"`
|
||||
TerminalName string `json:"terminalName,omitempty" dc:"终端客户名称"`
|
||||
IsBound bool `json:"isBound" dc:"是否已绑定当前用户"`
|
||||
CanBusiness bool `json:"canBusiness" dc:"是否允许办理业务"`
|
||||
CanAllocate bool `json:"canAllocate" dc:"是否允许划拨"`
|
||||
OwnerType string `json:"ownerType" dc:"查询归属类型"`
|
||||
DataSource string `json:"dataSource,omitempty" dc:"数据来源:local/onelink_mock"`
|
||||
UpstreamProvider string `json:"upstreamProvider,omitempty" dc:"上游服务来源"`
|
||||
}
|
||||
|
||||
type AppPackageModel struct {
|
||||
Id int64 `json:"id" dc:"订购记录ID"`
|
||||
SubscriptionNo string `json:"subscriptionNo" dc:"订购记录编号"`
|
||||
PackageCode string `json:"packageCode" dc:"套餐编码"`
|
||||
PackageName string `json:"packageName" dc:"套餐名称"`
|
||||
PackageType int `json:"packageType" dc:"套餐类型"`
|
||||
PackageTypeName string `json:"packageTypeName" dc:"套餐类型名称"`
|
||||
CategoryCode string `json:"categoryCode" dc:"套餐分类编码"`
|
||||
CategoryName string `json:"categoryName" dc:"套餐分类名称"`
|
||||
Iccid string `json:"iccid" dc:"ICCID"`
|
||||
Msisdn string `json:"msisdn" dc:"MSISDN/卡号"`
|
||||
CardId int64 `json:"cardId" dc:"卡片ID"`
|
||||
CardValue string `json:"cardValue" dc:"卡号标识"`
|
||||
CardRemark string `json:"cardRemark" dc:"卡片备注"`
|
||||
TerminalName string `json:"terminalName,omitempty" dc:"终端客户名称"`
|
||||
BusinessType int `json:"businessType" dc:"业务类型"`
|
||||
BusinessTypeName string `json:"businessTypeName" dc:"业务类型名称"`
|
||||
EffectiveStatus int `json:"effectiveStatus" dc:"订购状态"`
|
||||
Status string `json:"status" dc:"状态名称"`
|
||||
StatusType string `json:"statusType" dc:"状态样式"`
|
||||
FilterValue string `json:"filterValue" dc:"筛选值"`
|
||||
EffectiveTime *gtime.Time `json:"effectiveTime" dc:"生效时间"`
|
||||
ExpireTime *gtime.Time `json:"expireTime" dc:"到期时间"`
|
||||
ValidText string `json:"validText" dc:"有效期文本"`
|
||||
EffectText string `json:"effectText" dc:"生效说明"`
|
||||
FlowMb float64 `json:"flowMb" dc:"套餐流量MB"`
|
||||
FlowText string `json:"flowText" dc:"套餐流量文本"`
|
||||
OwnerType string `json:"ownerType" dc:"查询归属类型"`
|
||||
CanBusiness bool `json:"canBusiness" dc:"是否允许办理业务"`
|
||||
}
|
||||
|
||||
type AppCardRestartModel struct {
|
||||
BatchNo string `json:"batchNo" dc:"批次编号"`
|
||||
BatchType int `json:"batchType" dc:"批次类型"`
|
||||
Status string `json:"status" dc:"提交状态"`
|
||||
Card *AppCardModel `json:"card" dc:"卡信息"`
|
||||
}
|
||||
|
||||
type AppCardLifecycleModel struct {
|
||||
BatchNo string `json:"batchNo" dc:"批次编号"`
|
||||
BatchType int `json:"batchType" dc:"批次类型"`
|
||||
Operation string `json:"operation" dc:"操作类型"`
|
||||
Status string `json:"status" dc:"处理状态"`
|
||||
Quantity int `json:"quantity" dc:"卡数量"`
|
||||
SuccessCount int `json:"successCount" dc:"成功数量"`
|
||||
FailCount int `json:"failCount" dc:"失败数量"`
|
||||
FailReason string `json:"failReason,omitempty" dc:"失败原因"`
|
||||
Cards []*AppCardModel `json:"cards" dc:"卡信息"`
|
||||
}
|
||||
|
||||
type AppRenewOptionModel struct {
|
||||
DurationMonths int `json:"durationMonths" dc:"实际续费时长(月,兼容字段)"`
|
||||
ActualDurationMonths int `json:"actualDurationMonths" dc:"实际续费时长(月)"`
|
||||
DurationYears int `json:"durationYears" dc:"续费时长(年)"`
|
||||
DurationValue int `json:"durationValue" dc:"续费时长显示值"`
|
||||
DurationUnit string `json:"durationUnit" dc:"续费时长单位"`
|
||||
DurationUnitText string `json:"durationUnitText" dc:"续费时长单位文本"`
|
||||
Label string `json:"label" dc:"展示标签"`
|
||||
UnitPrice float64 `json:"unitPrice" dc:"单年价格"`
|
||||
TotalAmount float64 `json:"totalAmount" dc:"总金额"`
|
||||
PriceText string `json:"priceText" dc:"总金额文本"`
|
||||
ExpireAfter *gtime.Time `json:"expireAfter" dc:"续费后到期时间"`
|
||||
Recommended bool `json:"recommended" dc:"是否推荐"`
|
||||
}
|
||||
|
||||
type AppRenewPackageOptionModel struct {
|
||||
Package *AppPackageModel `json:"package" dc:"续费目标套餐"`
|
||||
PackageCode string `json:"packageCode" dc:"续费目标套餐编码"`
|
||||
PackageName string `json:"packageName" dc:"续费目标套餐名称"`
|
||||
RenewUnitPrice float64 `json:"renewUnitPrice" dc:"续费单年价格"`
|
||||
UnitPrice float64 `json:"unitPrice" dc:"续费单年价格兼容字段"`
|
||||
PriceSource string `json:"priceSource" dc:"价格来源"`
|
||||
PriceText string `json:"priceText" dc:"续费单年价格文本"`
|
||||
RenewableDurationOptions []int `json:"renewableDurationOptions" dc:"可续费年限"`
|
||||
Options []*AppRenewOptionModel `json:"options" dc:"续费档位"`
|
||||
}
|
||||
|
||||
type AppCardRenewPrepareModel struct {
|
||||
BatchNo string `json:"batchNo" dc:"预处理批次号"`
|
||||
BatchType int `json:"batchType" dc:"批次类型"`
|
||||
Card *AppCardModel `json:"card" dc:"卡信息"`
|
||||
Cards []*AppCardModel `json:"cards" dc:"批量续费卡列表"`
|
||||
Quantity int `json:"quantity" dc:"续费卡数量"`
|
||||
CurrentPackage *AppPackageModel `json:"currentPackage" dc:"当前套餐"`
|
||||
Package *AppPackageModel `json:"package" dc:"选中的续费目标套餐"`
|
||||
RenewablePackageCodes []string `json:"renewablePackageCodes" dc:"可续费套餐编码列表"`
|
||||
RenewablePackages []*AppRenewPackageOptionModel `json:"renewablePackages" dc:"可续费套餐列表"`
|
||||
Options []*AppRenewOptionModel `json:"options" dc:"续费档位"`
|
||||
PriceSource string `json:"priceSource" dc:"价格来源"`
|
||||
UnitPrice float64 `json:"unitPrice" dc:"单年价格"`
|
||||
EffectiveRule string `json:"effectiveRule" dc:"生效规则"`
|
||||
RecommendIndex int `json:"recommendIndex" dc:"推荐档位下标"`
|
||||
}
|
||||
|
||||
type AppCardRenewSubmitModel struct {
|
||||
BatchNo string `json:"batchNo" dc:"续费批次号"`
|
||||
BatchType int `json:"batchType" dc:"批次类型"`
|
||||
OrderId int64 `json:"orderId" dc:"订单ID"`
|
||||
OrderSn string `json:"orderSn" dc:"订单编号"`
|
||||
TotalAmount float64 `json:"totalAmount" dc:"订单总金额"`
|
||||
PriceText string `json:"priceText" dc:"订单金额文本"`
|
||||
Quantity int `json:"quantity" dc:"续费卡数量"`
|
||||
OrderStatus int `json:"orderStatus" dc:"订单状态"`
|
||||
PayStatus int `json:"payStatus" dc:"支付状态"`
|
||||
Status string `json:"status" dc:"提交状态"`
|
||||
EffectiveRule string `json:"effectiveRule" dc:"生效规则"`
|
||||
Card *AppCardModel `json:"card" dc:"卡信息"`
|
||||
Cards []*AppCardModel `json:"cards" dc:"批量续费卡列表"`
|
||||
CurrentPackage *AppPackageModel `json:"currentPackage" dc:"当前套餐"`
|
||||
Package *AppPackageModel `json:"package" dc:"续费目标套餐"`
|
||||
Option *AppRenewOptionModel `json:"option" dc:"续费档位"`
|
||||
}
|
||||
|
||||
type AppCardAllocateTargetModel struct {
|
||||
DeptId int64 `json:"deptId" dc:"目标客户ID"`
|
||||
ParentId int64 `json:"parentId" dc:"上级客户ID"`
|
||||
DeptKey string `json:"deptKey" dc:"客户编码"`
|
||||
DeptName string `json:"deptName" dc:"客户名称"`
|
||||
DeptCategory string `json:"deptCategory" dc:"客户类别"`
|
||||
TargetScope string `json:"targetScope" dc:"目标范围:self/direct_child"`
|
||||
TargetScopeName string `json:"targetScopeName" dc:"目标范围名称"`
|
||||
Label string `json:"label" dc:"展示名称"`
|
||||
}
|
||||
|
||||
type AppCardAllocateBatchDetailModel struct {
|
||||
RowNo int `json:"rowNo" dc:"源文件行号"`
|
||||
ItemId string `json:"itemId" dc:"卡号"`
|
||||
Status string `json:"status" dc:"处理状态"`
|
||||
ErrorReason string `json:"errorReason,omitempty" dc:"异常原因"`
|
||||
}
|
||||
|
||||
type AppCardAllocateBatchModel struct {
|
||||
BatchNo string `json:"batchNo" dc:"划拨批次号"`
|
||||
SourceBatchNo string `json:"sourceBatchNo" dc:"来源批次号"`
|
||||
BatchType int `json:"batchType" dc:"批次类型"`
|
||||
Quantity int `json:"quantity" dc:"划拨卡数量"`
|
||||
TotalCount int `json:"totalCount" dc:"总数量"`
|
||||
ValidCount int `json:"validCount" dc:"有效数量"`
|
||||
FailCount int `json:"failCount" dc:"失败数量"`
|
||||
FailReason string `json:"failReason,omitempty" dc:"失败原因"`
|
||||
Target *AppCardAllocateTargetModel `json:"target" dc:"目标客户"`
|
||||
Cards []*AppCardModel `json:"cards" dc:"划拨卡列表"`
|
||||
Details []*AppCardAllocateBatchDetailModel `json:"details" dc:"逐卡校验结果"`
|
||||
Status string `json:"status" dc:"处理状态"`
|
||||
}
|
||||
|
||||
type AppCardChangePackageOptionModel struct {
|
||||
Package *AppPackageModel `json:"package" dc:"目标套餐"`
|
||||
Options []*AppRenewOptionModel `json:"options" dc:"可选时长和金额"`
|
||||
UnitPrice float64 `json:"unitPrice" dc:"单月价格"`
|
||||
PriceText string `json:"priceText" dc:"单月价格文本"`
|
||||
}
|
||||
|
||||
type AppCardChangePrepareModel struct {
|
||||
BatchNo string `json:"batchNo" dc:"预处理批次号"`
|
||||
BatchType int `json:"batchType" dc:"批次类型"`
|
||||
Quantity int `json:"quantity" dc:"变更卡数量"`
|
||||
Cards []*AppCardModel `json:"cards" dc:"卡列表"`
|
||||
CurrentPackage *AppPackageModel `json:"currentPackage" dc:"当前套餐"`
|
||||
TargetPackages []*AppCardChangePackageOptionModel `json:"targetPackages" dc:"可变更套餐列表"`
|
||||
EffectiveRule string `json:"effectiveRule" dc:"生效规则"`
|
||||
}
|
||||
|
||||
type AppCardChangeSubmitModel struct {
|
||||
BatchNo string `json:"batchNo" dc:"变更批次号"`
|
||||
BatchType int `json:"batchType" dc:"批次类型"`
|
||||
OrderId int64 `json:"orderId" dc:"订单ID"`
|
||||
OrderSn string `json:"orderSn" dc:"订单编号"`
|
||||
TotalAmount float64 `json:"totalAmount" dc:"订单总金额"`
|
||||
PriceText string `json:"priceText" dc:"订单金额文本"`
|
||||
Quantity int `json:"quantity" dc:"变更卡数量"`
|
||||
OrderStatus int `json:"orderStatus" dc:"订单状态"`
|
||||
PayStatus int `json:"payStatus" dc:"支付状态"`
|
||||
Status string `json:"status" dc:"处理状态"`
|
||||
EffectiveRule string `json:"effectiveRule" dc:"生效规则"`
|
||||
Cards []*AppCardModel `json:"cards" dc:"卡列表"`
|
||||
CurrentPackage *AppPackageModel `json:"currentPackage" dc:"原套餐"`
|
||||
NewPackage *AppPackageModel `json:"newPackage" dc:"目标套餐"`
|
||||
Option *AppRenewOptionModel `json:"option" dc:"变更档位"`
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
package model
|
||||
|
||||
import "git.5iot.com/iotlcm-public/iotlcm-app/internal/model/request"
|
||||
|
||||
type AppCustomerListParam struct {
|
||||
request.PageInfo
|
||||
CustomerType string `json:"customerType" dc:"客户类型:all/enterprise/terminal"`
|
||||
Status string `json:"status" dc:"客户状态"`
|
||||
}
|
||||
|
||||
type AppCustomerDetailParam struct {
|
||||
CustomerType string `json:"customerType" v:"required#客户类型不能为空" dc:"客户类型:enterprise/terminal"`
|
||||
CustomerId int64 `json:"customerId" v:"required|min:1#客户ID不能为空|客户ID不能为空" dc:"客户ID"`
|
||||
}
|
||||
|
||||
type AppCustomerModel struct {
|
||||
CustomerType string `json:"customerType" dc:"客户类型"`
|
||||
CustomerTypeName string `json:"customerTypeName" dc:"客户类型名称"`
|
||||
CustomerId int64 `json:"customerId" dc:"客户ID"`
|
||||
DeptId int64 `json:"-" dc:"企业部门ID"`
|
||||
TerminalId int64 `json:"-" dc:"终端客户ID"`
|
||||
ParentDeptId int64 `json:"-" dc:"上级部门ID"`
|
||||
CustomerCode string `json:"customerCode,omitempty" dc:"客户编码"`
|
||||
CustomerName string `json:"customerName" dc:"客户名称"`
|
||||
DeptCategory string `json:"deptCategory,omitempty" dc:"部门类别"`
|
||||
Phone string `json:"phone,omitempty" dc:"联系电话"`
|
||||
Email string `json:"email,omitempty" dc:"邮箱"`
|
||||
Status string `json:"status,omitempty" dc:"状态"`
|
||||
StatusText string `json:"statusText" dc:"状态文本"`
|
||||
RealNameStatus string `json:"realNameStatus" dc:"实名状态"`
|
||||
Balance float64 `json:"-" dc:"账户余额"`
|
||||
CardCount int `json:"cardCount" dc:"卡数量"`
|
||||
NormalCardCount int `json:"normalCardCount" dc:"正常卡数量"`
|
||||
Address string `json:"address,omitempty" dc:"地址"`
|
||||
FullName string `json:"fullName,omitempty" dc:"单位全称"`
|
||||
CreatedAt string `json:"createdAt,omitempty" dc:"创建时间"`
|
||||
}
|
||||
|
||||
type AppCustomerDetailModel struct {
|
||||
AppCustomerModel
|
||||
EnterpriseProfile *AppEnterpriseProfileModel `json:"enterpriseProfile,omitempty" dc:"企业实名资料"`
|
||||
TerminalProfile *AppTerminalProfileModel `json:"terminalProfile,omitempty" dc:"终端实名资料"`
|
||||
}
|
||||
@@ -0,0 +1,118 @@
|
||||
package model
|
||||
|
||||
// AppDiagnosisInfoParam 查询小程序 SIM 卡诊断信息。
|
||||
type AppDiagnosisInfoParam struct {
|
||||
QueryCode string `json:"queryCode" v:"required#请输入ICCID、MSISDN、IMSI或卡号" dc:"查询码:ICCID / MSISDN / IMSI / MSISDN"`
|
||||
}
|
||||
|
||||
// AppDiagnosisFlowParam 查询小程序 SIM 卡使用流量。
|
||||
type AppDiagnosisFlowParam struct {
|
||||
QueryCode string `json:"queryCode" v:"required#请输入ICCID、MSISDN、IMSI或卡号" dc:"查询码:ICCID / MSISDN / IMSI / MSISDN"`
|
||||
QueryType string `json:"queryType" v:"required|in:7d,30d,3M,6M#请选择查询类型|查询类型只能为7d、30d、3M或6M" dc:"查询类型:7d近7天 30d近30天 3M近3个月 6M近6个月"`
|
||||
}
|
||||
|
||||
type AppOpenDiagnosisInfoParam struct {
|
||||
TenantId string `json:"tenantId" dc:"租户ID,为空时按卡号全局查询"`
|
||||
QueryCode string `json:"queryCode" v:"required#请输入ICCID、MSISDN、IMSI或卡号" dc:"查询码:ICCID / MSISDN / IMSI / MSISDN"`
|
||||
}
|
||||
|
||||
type AppOpenDiagnosisFlowParam struct {
|
||||
TenantId string `json:"tenantId" dc:"租户ID,为空时按卡号全局查询"`
|
||||
QueryCode string `json:"queryCode" v:"required#请输入ICCID、MSISDN、IMSI或卡号" dc:"查询码:ICCID / MSISDN / IMSI / MSISDN"`
|
||||
QueryType string `json:"queryType" v:"required|in:7d,30d,3M,6M#请选择查询类型|查询类型只能为7d、30d、3M或6M" dc:"查询类型:7d近7天 30d近30天 3M近3个月 6M近6个月"`
|
||||
}
|
||||
|
||||
// AppDiagnosisInfoModel 对齐控制台诊断信息响应,适配小程序展示。
|
||||
type AppDiagnosisInfoModel struct {
|
||||
Info *AppDiagnosisInfoItem `json:"info" dc:"SIM卡基本信息"`
|
||||
Session *AppDiagnosisSessionItem `json:"session" dc:"SIM卡会话信息"`
|
||||
Package *AppDiagnosisPackageItem `json:"package" dc:"SIM卡套餐信息"`
|
||||
Modules map[string]*AppDiagnosisModuleItem `json:"modules,omitempty" dc:"诊断模块状态"`
|
||||
Card *AppCardModel `json:"card" dc:"小程序卡片信息"`
|
||||
}
|
||||
|
||||
// AppDiagnosisModuleItem 诊断模块状态,保持与控制台智能诊断一致。
|
||||
type AppDiagnosisModuleItem struct {
|
||||
Status string `json:"status" dc:"状态:success/error/cached/skipped"`
|
||||
Message string `json:"message,omitempty" dc:"状态说明"`
|
||||
Cached bool `json:"cached,omitempty" dc:"是否使用缓存"`
|
||||
UpdatedAt string `json:"updatedAt,omitempty" dc:"缓存更新时间"`
|
||||
}
|
||||
|
||||
// AppDiagnosisFlowModel 对齐控制台诊断流量响应。
|
||||
type AppDiagnosisFlowModel struct {
|
||||
Times []string `json:"times" dc:"时间列表"`
|
||||
Flow []float64 `json:"flow" dc:"流量列表"`
|
||||
Unit string `json:"unit" dc:"流量单位"`
|
||||
Granularity string `json:"granularity" dc:"粒度:day或month"`
|
||||
HasData bool `json:"hasData" dc:"是否存在流量数据"`
|
||||
}
|
||||
|
||||
type AppDiagnosisInfoItem struct {
|
||||
Iccid *string `json:"iccid" dc:"ICCID"`
|
||||
Imsi *string `json:"imsi" dc:"IMSI"`
|
||||
Msisdn *string `json:"msisdn" dc:"MSISDN/卡号"`
|
||||
Status *string `json:"status" dc:"卡状态"`
|
||||
DataStatus *string `json:"dataStatus" dc:"数据服务状态"`
|
||||
OnlineStatus *string `json:"onlineStatus" dc:"在线状态:0离线 1在线 2未知"`
|
||||
OperatingStatus *string `json:"operatingStatus" dc:"终端开关机状态:0关机 1开机"`
|
||||
DeviceStatus *string `json:"deviceStatus" dc:"设备状态:0异常 1正常"`
|
||||
ImeiStatus *string `json:"imeiStatus" dc:"机卡状态:0异常 1正常 2未知"`
|
||||
RegionLimitStatus *string `json:"regionLimitStatus" dc:"区域限制状态:0未超出业务限制的位置区 1已超出业务限制的位置区 2未知"`
|
||||
RegionLimitOrderStatus *string `json:"regionLimitOrderStatus" dc:"区域限制订购状态:0已订购 1未订购"`
|
||||
RegionLimitTriggerStatus *string `json:"regionLimitTriggerStatus" dc:"区域限制触发状态:0已断网 1未断网 2未知"`
|
||||
RegionLimitType *string `json:"regionLimitType" dc:"区域限制类型"`
|
||||
RegionLimitArea *string `json:"regionLimitArea" dc:"限制区域"`
|
||||
HumanLimitStatus *string `json:"humanLimitStatus" dc:"人联网限制状态:0限制 1正常 2未知 3运营商暂不支持"`
|
||||
RateLimitStatus *string `json:"rateLimitStatus" dc:"达量限速状态:0已触发 1未触发 2未知 3运营商暂不支持"`
|
||||
RateLimitReason *string `json:"rateLimitReason" dc:"达量限速原因"`
|
||||
RateLimitDetail *string `json:"rateLimitDetail" dc:"达量限速明细"`
|
||||
RateLimitApnDetails []AppDiagnosisRateLimitApnItem `json:"rateLimitApnDetails,omitempty" dc:"APN达量限速明细"`
|
||||
PackageTotalFlowMb *float64 `json:"packageTotalFlowMb" dc:"套餐总流量MB"`
|
||||
UsedFlowMb *float64 `json:"usedFlowMb" dc:"已用流量MB"`
|
||||
RemainFlowMb *float64 `json:"remainFlowMb" dc:"剩余流量MB"`
|
||||
FlowSyncTime *string `json:"flowSyncTime" dc:"流量同步时间"`
|
||||
StopReason *string `json:"stopReason" dc:"停机原因"`
|
||||
FrozenStatus *string `json:"frozenStatus" dc:"冻结状态"`
|
||||
FrozenReason *string `json:"frozenReason" dc:"冻结原因"`
|
||||
FrozenOperTime *string `json:"frozenOperTime" dc:"冻结操作时间"`
|
||||
}
|
||||
|
||||
type AppDiagnosisRateLimitApnItem struct {
|
||||
ApnName string `json:"apnName" dc:"APN名称"`
|
||||
ApnStatus string `json:"apnStatus" dc:"APN状态"`
|
||||
ModifyTime string `json:"modifyTime" dc:"APN状态变更时间"`
|
||||
OverUseDetails string `json:"overUseDetails" dc:"超停原因"`
|
||||
ApnServiceUsageState string `json:"apnServiceUsageState" dc:"APN业务配额状态"`
|
||||
PccDetails []AppDiagnosisRateLimitPccItem `json:"pccDetails,omitempty" dc:"PCC白名单策略明细"`
|
||||
}
|
||||
|
||||
type AppDiagnosisRateLimitPccItem struct {
|
||||
PccServiceCode string `json:"pccServiceCode" dc:"PCC服务编码"`
|
||||
PccName string `json:"pccName" dc:"PCC名称"`
|
||||
PccPolicyStatus string `json:"pccPolicyStatus" dc:"PCC策略状态"`
|
||||
PccServiceUsageState string `json:"pccServiceUsageState" dc:"PCC业务配额状态"`
|
||||
ModifyTime string `json:"modifyTime" dc:"变更时间"`
|
||||
}
|
||||
|
||||
type AppDiagnosisSessionItem struct {
|
||||
ApnId *string `json:"apnId" dc:"APN"`
|
||||
Rat *string `json:"rat" dc:"接入方式"`
|
||||
Imei *string `json:"imei" dc:"IMEI"`
|
||||
CreateTime *string `json:"createTime" dc:"会话创建时间"`
|
||||
Ipv4 *string `json:"ipv4" dc:"IPV4"`
|
||||
Ipv6 *string `json:"ipv6" dc:"IPV6"`
|
||||
Ipv6Prefix *string `json:"ipv6Prefix" dc:"IPV6前缀"`
|
||||
Status *string `json:"status" dc:"会话状态:0在线 -1离线 -2未查询到会话"`
|
||||
}
|
||||
|
||||
type AppDiagnosisPackageItem struct {
|
||||
PackageName *string `json:"packageName" dc:"套餐名称"`
|
||||
PackageType *string `json:"packageType" dc:"套餐类型"`
|
||||
EffectiveStatus *string `json:"effectiveStatus" dc:"套餐生效状态"`
|
||||
PackageTotalFlowMb *float64 `json:"packageTotalFlowMb" dc:"套餐总流量MB"`
|
||||
UsedFlowMb *float64 `json:"usedFlowMb" dc:"已用流量MB"`
|
||||
RemainFlowMb *float64 `json:"remainFlowMb" dc:"剩余流量MB"`
|
||||
DurationMonths *int `json:"durationMonths" dc:"套餐时长(月)"`
|
||||
ExpectedExpireTime *string `json:"expectedExpireTime" dc:"预计到期时间"`
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-app/internal/model/request"
|
||||
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
type AppMessageListParam struct {
|
||||
request.PageInfo
|
||||
IsRead *int `json:"isRead" dc:"是否已读:0未读 1已读"`
|
||||
MessageType *int `json:"messageType" dc:"消息类型:1系统通知 2平台公告 3订单通知 4账户通知"`
|
||||
}
|
||||
|
||||
type AppMessageDetailParam struct {
|
||||
MessageId uint64 `json:"messageId" v:"required#消息ID不能为空" dc:"用户消息ID"`
|
||||
}
|
||||
|
||||
type AppMessageReadParam struct {
|
||||
Ids []uint64 `json:"ids" v:"required#消息ID不能为空" dc:"用户消息ID列表"`
|
||||
}
|
||||
|
||||
type AppMessageModel struct {
|
||||
Id uint64 `json:"id" orm:"message_id" dc:"用户消息ID"`
|
||||
MessageId uint64 `json:"messageId" orm:"message_id" dc:"用户消息ID"`
|
||||
MessageLogId uint64 `json:"messageLogId" orm:"message_log_id" dc:"消息日志ID"`
|
||||
MessageType int `json:"messageType" orm:"message_type" dc:"消息类型 1系统通知 2平台公告 3订单通知 4账户通知"`
|
||||
MessageTypeText string `json:"messageTypeText" dc:"消息类型文本"`
|
||||
Title string `json:"title" orm:"title" dc:"消息标题"`
|
||||
Content string `json:"content" orm:"content" dc:"消息内容"`
|
||||
Link string `json:"link" orm:"link" dc:"跳转链接"`
|
||||
IsRead int `json:"isRead" orm:"is_read" dc:"是否已读"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" dc:"创建时间"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" dc:"更新时间"`
|
||||
SendTime *gtime.Time `json:"sendTime" orm:"send_time" dc:"发送时间"`
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-app/internal/model/request"
|
||||
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
type AppOrderListParam struct {
|
||||
request.PageInfo
|
||||
OrderType int `json:"orderType" dc:"订单类型:0全部 1套餐续费 2余额充值"`
|
||||
PayStatus *int `json:"payStatus" dc:"支付状态:不传为全部,0未支付,2已支付"`
|
||||
Keyword string `json:"keyword" dc:"订单号、支付流水或商品名称"`
|
||||
}
|
||||
|
||||
type AppOrderDetailParam struct {
|
||||
OrderSn string `json:"orderSn" v:"required#订单号不能为空" dc:"订单编号"`
|
||||
}
|
||||
|
||||
type AppOrderItemModel struct {
|
||||
ItemId int64 `json:"itemId" dc:"订单项ID"`
|
||||
ProductName string `json:"productName" dc:"商品名称"`
|
||||
ProductSn string `json:"productSn" dc:"商品编码"`
|
||||
Price float64 `json:"price" dc:"单价"`
|
||||
PriceText string `json:"priceText" dc:"单价文本"`
|
||||
Quantity uint `json:"quantity" dc:"数量"`
|
||||
OriginPrice float64 `json:"originPrice" dc:"原价"`
|
||||
OriginPriceText string `json:"originPriceText" dc:"原价文本"`
|
||||
ProductType uint `json:"productType" dc:"商品类型"`
|
||||
SkuData string `json:"-" dc:"SKU数据"`
|
||||
ExtraSkuData string `json:"-" dc:"扩展数据"`
|
||||
ServiceBeginTime *gtime.Time `json:"serviceBeginTime" dc:"服务开始时间"`
|
||||
ServiceEndTime *gtime.Time `json:"serviceEndTime" dc:"服务结束时间"`
|
||||
}
|
||||
|
||||
type AppOrderModel struct {
|
||||
OrderId int64 `json:"orderId" dc:"订单ID"`
|
||||
OrderSn string `json:"orderSn" dc:"订单编号"`
|
||||
OrderType int `json:"orderType" dc:"订单类型"`
|
||||
OrderTypeText string `json:"orderTypeText" dc:"订单类型文本"`
|
||||
OrderStatus int `json:"orderStatus" dc:"订单状态"`
|
||||
OrderStatusText string `json:"orderStatusText" dc:"订单状态文本"`
|
||||
PayType int `json:"payType" dc:"支付类型"`
|
||||
PayTypeText string `json:"payTypeText" dc:"支付类型文本"`
|
||||
PayStatus int `json:"payStatus" dc:"支付状态"`
|
||||
PayStatusText string `json:"payStatusText" dc:"支付状态文本"`
|
||||
PayOrderSn string `json:"payOrderSn" dc:"支付渠道流水号"`
|
||||
ReturnStatus int `json:"returnStatus" dc:"退款状态"`
|
||||
ReturnStatusText string `json:"returnStatusText" dc:"退款状态文本"`
|
||||
PaymentExpireAt *gtime.Time `json:"paymentExpireAt" dc:"支付过期时间"`
|
||||
PaymentRemainingSeconds int64 `json:"paymentRemainingSeconds" dc:"支付剩余秒数"`
|
||||
PaymentExpired bool `json:"paymentExpired" dc:"支付是否已过期"`
|
||||
TotalAmount float64 `json:"totalAmount" dc:"订单总金额"`
|
||||
TotalAmountText string `json:"totalAmountText" dc:"订单总金额文本"`
|
||||
PaidAmount float64 `json:"paidAmount" dc:"已支付金额"`
|
||||
PaidAmountText string `json:"paidAmountText" dc:"已支付金额文本"`
|
||||
OnlinePaidAmount float64 `json:"onlinePaidAmount" dc:"线上支付金额"`
|
||||
OnlinePaidAmountText string `json:"onlinePaidAmountText" dc:"线上支付金额文本"`
|
||||
Balance float64 `json:"balance" dc:"余额抵扣金额"`
|
||||
BalanceText string `json:"balanceText" dc:"余额抵扣金额文本"`
|
||||
UnpaidAmount float64 `json:"unpaidAmount" dc:"未支付金额"`
|
||||
UnpaidAmountText string `json:"unpaidAmountText" dc:"未支付金额文本"`
|
||||
UnrefundAmount float64 `json:"unrefundAmount" dc:"退款申请金额"`
|
||||
UnrefundAmountText string `json:"unrefundAmountText" dc:"退款申请金额文本"`
|
||||
BuyerNote string `json:"buyerNote" dc:"买家备注"`
|
||||
Remark string `json:"remark" dc:"系统备注"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" dc:"创建时间"`
|
||||
PayTime *gtime.Time `json:"payTime" dc:"支付时间"`
|
||||
ItemSummary string `json:"itemSummary" dc:"订单商品摘要"`
|
||||
ItemCount int `json:"itemCount" dc:"订单项数量"`
|
||||
Items []*AppOrderItemModel `json:"items" dc:"订单项"`
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
package model
|
||||
|
||||
type AppUserInfoModel struct {
|
||||
UserId int64 `json:"-" dc:"用户ID"`
|
||||
TenantId string `json:"-" dc:"租户ID"`
|
||||
DeptId int64 `json:"-" dc:"部门ID"`
|
||||
Username string `json:"username" dc:"登录账号"`
|
||||
NickName string `json:"nickName" dc:"昵称"`
|
||||
Phone string `json:"phone" dc:"手机号"`
|
||||
Avatar string `json:"avatar" dc:"头像"`
|
||||
Sex string `json:"sex" dc:"性别"`
|
||||
UserType string `json:"userType" dc:"用户类型"`
|
||||
IsTerminal bool `json:"isTerminal" dc:"是否终端用户"`
|
||||
CanEnterpriseBusiness bool `json:"canEnterpriseBusiness" dc:"是否可使用企业业务"`
|
||||
WechatBound bool `json:"wechatBound" dc:"是否已绑定微信用户"`
|
||||
WechatBindText string `json:"wechatBindText" dc:"微信绑定状态文本"`
|
||||
Balance float64 `json:"balance" dc:"账户余额"`
|
||||
Role string `json:"role" dc:"角色名称(账号类型:企业用户/终端用户)"`
|
||||
RoleName string `json:"roleName" dc:"主角色名称(账户绑定 sys_role.role_name)"`
|
||||
RoleKey string `json:"roleKey" dc:"主角色标识(账户绑定 sys_role.role_key)"`
|
||||
RoleNames []string `json:"roleNames" dc:"账户绑定角色名称列表"`
|
||||
EnterpriseProfile *AppEnterpriseProfileModel `json:"enterpriseProfile,omitempty" dc:"企业客户档案"`
|
||||
TerminalProfile *AppTerminalProfileModel `json:"terminalProfile,omitempty" dc:"终端客户档案"`
|
||||
}
|
||||
|
||||
type AppEnterpriseProfileModel struct {
|
||||
DeptId int64 `json:"-" dc:"部门ID"`
|
||||
DeptName string `json:"deptName" dc:"企业名称"`
|
||||
DeptKey string `json:"deptKey" dc:"客户编码"`
|
||||
Phone string `json:"phone" dc:"联系电话"`
|
||||
Email string `json:"email" dc:"邮箱"`
|
||||
StatusText string `json:"statusText" dc:"企业状态"`
|
||||
CreditCode string `json:"creditCode" dc:"统一社会信用代码"`
|
||||
AreaCode string `json:"areaCode" dc:"行政区域代码"`
|
||||
Address string `json:"address" dc:"地址"`
|
||||
FullName string `json:"fullName" dc:"单位全称"`
|
||||
Industry string `json:"industry" dc:"行业"`
|
||||
LegalPersonName string `json:"legalPersonName" dc:"法人名称"`
|
||||
LegalPersonIdCard string `json:"legalPersonIdCard" dc:"法人身份证号"`
|
||||
CompanyType string `json:"companyType" dc:"单位类型"`
|
||||
EstablishTime string `json:"establishTime" dc:"单位成立时间"`
|
||||
BankName string `json:"bankName" dc:"开户行名称"`
|
||||
BankAccount string `json:"bankAccount" dc:"开户行账号"`
|
||||
RealNameStatus string `json:"realNameStatus" dc:"实名认证状态"`
|
||||
}
|
||||
|
||||
type AppTerminalProfileModel struct {
|
||||
TerminalId int64 `json:"-" dc:"终端客户ID"`
|
||||
TerminalName string `json:"terminalName" dc:"客户名称"`
|
||||
Phone string `json:"phone" dc:"联系电话"`
|
||||
Email string `json:"email" dc:"邮箱"`
|
||||
Status string `json:"-" dc:"客户状态"`
|
||||
StatusText string `json:"statusText" dc:"客户状态文本"`
|
||||
CreditCode string `json:"creditCode" dc:"统一社会信用代码"`
|
||||
AreaCode string `json:"areaCode" dc:"行政区域代码"`
|
||||
Address string `json:"address" dc:"地址"`
|
||||
FullName string `json:"fullName" dc:"单位全称"`
|
||||
Industry string `json:"industry" dc:"行业"`
|
||||
LegalPersonName string `json:"legalPersonName" dc:"法人名称"`
|
||||
LegalPersonIdCard string `json:"legalPersonIdCard" dc:"法人身份证号"`
|
||||
CompanyType string `json:"companyType" dc:"单位类型"`
|
||||
EstablishTime string `json:"establishTime" dc:"单位成立时间"`
|
||||
BankName string `json:"bankName" dc:"开户行名称"`
|
||||
BankAccount string `json:"bankAccount" dc:"开户行账号"`
|
||||
Balance float64 `json:"-" dc:"账户余额"`
|
||||
RealNameStatus string `json:"realNameStatus" dc:"实名认证状态"`
|
||||
}
|
||||
|
||||
type AppUpdateUserInfoParam struct {
|
||||
NickName string `json:"nickName" v:"required#昵称不能为空" dc:"昵称"`
|
||||
Avatar string `json:"avatar" dc:"头像"`
|
||||
Sex string `json:"sex" v:"in:0,1,2#性别参数不正确" dc:"性别"`
|
||||
TerminalName string `json:"terminalName" dc:"客户名称"`
|
||||
Phone string `json:"phone" dc:"联系电话"`
|
||||
Email string `json:"email" dc:"邮箱"`
|
||||
CreditCode string `json:"creditCode" dc:"统一社会信用代码"`
|
||||
AreaCode string `json:"areaCode" dc:"行政区域代码"`
|
||||
Address string `json:"address" dc:"地址"`
|
||||
FullName string `json:"fullName" dc:"单位全称"`
|
||||
Industry string `json:"industry" dc:"行业"`
|
||||
LegalPersonName string `json:"legalPersonName" dc:"法人名称"`
|
||||
LegalPersonIdCard string `json:"legalPersonIdCard" dc:"法人身份证号"`
|
||||
CompanyType string `json:"companyType" dc:"单位类型"`
|
||||
EstablishTime string `json:"establishTime" dc:"单位成立时间,格式YYYY-MM-DD"`
|
||||
BankName string `json:"bankName" dc:"开户行名称"`
|
||||
BankAccount string `json:"bankAccount" dc:"开户行账号"`
|
||||
}
|
||||
|
||||
type AppWechatBindParam struct {
|
||||
WxCode string `json:"wxCode" v:"required#微信登录凭证不能为空" dc:"微信小程序登录临时凭证"`
|
||||
}
|
||||
|
||||
type AppWechatBindModel struct {
|
||||
Success bool `json:"success" dc:"是否绑定成功"`
|
||||
UserInfo *AppUserInfoModel `json:"userInfo" dc:"最新用户信息"`
|
||||
}
|
||||
@@ -0,0 +1,134 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-app/internal/model/request"
|
||||
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
type AppWarningConfigListParam struct {
|
||||
request.PageInfo
|
||||
CardValue string `json:"cardValue" form:"cardValue" v:"required#请输入ICCID、MSISDN、IMSI或IMEI" dc:"卡号标识"`
|
||||
}
|
||||
|
||||
type AppWarningConfigSaveParam struct {
|
||||
CardValue string `json:"cardValue" v:"required#请输入ICCID、MSISDN、IMSI或IMEI" dc:"卡号标识"`
|
||||
WarnUnit int `json:"warnUnit" v:"required#请选择预警类型" dc:"预警单位:1MB"`
|
||||
FirstWarn float64 `json:"firstWarn" v:"required#第一档阈值不能为空" dc:"第一档预警阈值"`
|
||||
SecondWarn float64 `json:"secondWarn" dc:"第二档预警阈值"`
|
||||
ThirdWarn float64 `json:"thirdWarn" dc:"第三档预警阈值"`
|
||||
IsEnabled *int `json:"isEnabled" dc:"是否启用:1启用,0停用"`
|
||||
AppNotifyEnabled *int `json:"appNotifyEnabled" dc:"是否开启小程序预警通知:1开启,0关闭"`
|
||||
Remark string `json:"remark" dc:"备注"`
|
||||
}
|
||||
|
||||
type AppWarningConfigBatchSaveParam struct {
|
||||
CardValues []string `json:"cardValues" v:"required#请选择需要配置预警的卡片" dc:"卡号标识列表"`
|
||||
Configs []*AppWarningConfigBatchItemParam `json:"configs" v:"required#请至少填写一项预警配置" dc:"预警配置列表"`
|
||||
}
|
||||
|
||||
type AppWarningConfigBatchItemParam struct {
|
||||
WarnUnit int `json:"warnUnit" v:"required#请选择预警类型" dc:"预警单位:1MB"`
|
||||
FirstWarn float64 `json:"firstWarn" v:"required#第一档阈值不能为空" dc:"第一档预警阈值"`
|
||||
SecondWarn float64 `json:"secondWarn" dc:"第二档预警阈值"`
|
||||
ThirdWarn float64 `json:"thirdWarn" dc:"第三档预警阈值"`
|
||||
IsEnabled *int `json:"isEnabled" dc:"是否启用:1启用,0停用"`
|
||||
AppNotifyEnabled *int `json:"appNotifyEnabled" dc:"是否开启小程序预警通知:1开启,0关闭"`
|
||||
Remark string `json:"remark" dc:"备注"`
|
||||
}
|
||||
|
||||
type AppWarningConfigNotifyParam struct {
|
||||
CardValue string `json:"cardValue" v:"required#请输入ICCID、MSISDN、IMSI或IMEI" dc:"卡号标识"`
|
||||
WarnUnit int `json:"warnUnit" dc:"预警单位:1MB"`
|
||||
AppNotifyEnabled *int `json:"appNotifyEnabled" v:"required#请选择是否开启小程序预警通知" dc:"是否开启小程序预警通知:1开启,0关闭"`
|
||||
}
|
||||
|
||||
type AppWarningConfigBatchNotifyParam struct {
|
||||
CardValues []string `json:"cardValues" v:"required#请选择需要配置预警的卡片" dc:"卡号标识列表"`
|
||||
WarnUnit int `json:"warnUnit" dc:"预警单位:1MB"`
|
||||
AppNotifyEnabled *int `json:"appNotifyEnabled" v:"required#请选择是否开启小程序预警通知" dc:"是否开启小程序预警通知:1开启,0关闭"`
|
||||
}
|
||||
|
||||
type AppWarningConfigModel struct {
|
||||
Id int64 `json:"id" orm:"id" dc:"主键ID"`
|
||||
ItemType int `json:"itemType" orm:"item_type" dc:"对象类型:1单卡"`
|
||||
ItemId int64 `json:"itemId" orm:"item_id" dc:"对象ID"`
|
||||
ItemCode string `json:"itemCode" orm:"item_code" dc:"对象编码快照"`
|
||||
WarnType int `json:"warnType" dc:"运行时推导预警类型"`
|
||||
WarnUnit int `json:"warnUnit" orm:"warn_unit" dc:"预警单位"`
|
||||
WarnTitle string `json:"warnTitle" dc:"预警类型标题"`
|
||||
UnitText string `json:"unitText" dc:"单位文本"`
|
||||
FirstWarn float64 `json:"firstWarn" orm:"first_warn" dc:"第一档预警阈值"`
|
||||
SecondWarn float64 `json:"secondWarn" orm:"second_warn" dc:"第二档预警阈值"`
|
||||
ThirdWarn float64 `json:"thirdWarn" orm:"third_warn" dc:"第三档预警阈值"`
|
||||
AutoAction int `json:"autoAction" orm:"auto_action" dc:"自动动作"`
|
||||
IsEnabled int `json:"isEnabled" orm:"is_enabled" dc:"是否启用"`
|
||||
AppNotifyEnabled int `json:"appNotifyEnabled" orm:"app_notify_enabled" dc:"是否开启小程序预警通知"`
|
||||
WxTemplateId string `json:"wxTemplateId" orm:"wx_template_id" dc:"微信订阅消息模板ID"`
|
||||
Remark string `json:"remark" orm:"remark" dc:"备注"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" dc:"更新时间"`
|
||||
}
|
||||
|
||||
type AppWarningConfigListModel struct {
|
||||
Card *AppCardModel `json:"card" dc:"卡片信息"`
|
||||
Items []*AppWarningConfigModel `json:"items" dc:"预警配置列表"`
|
||||
TemplateId string `json:"templateId" dc:"微信订阅消息模板ID"`
|
||||
TemplateReady bool `json:"templateReady" dc:"模板ID是否已配置"`
|
||||
WechatBound bool `json:"wechatBound" dc:"是否已绑定微信用户"`
|
||||
WechatBindText string `json:"wechatBindText" dc:"微信绑定状态文本"`
|
||||
}
|
||||
|
||||
type AppWarningConfigSaveModel struct {
|
||||
Id int64 `json:"id" dc:"配置ID"`
|
||||
Config *AppWarningConfigModel `json:"config" dc:"保存后的配置"`
|
||||
TemplateId string `json:"templateId" dc:"微信订阅消息模板ID"`
|
||||
TemplateReady bool `json:"templateReady" dc:"模板ID是否已配置"`
|
||||
WechatBound bool `json:"wechatBound" dc:"是否已绑定微信用户"`
|
||||
WechatBindText string `json:"wechatBindText" dc:"微信绑定状态文本"`
|
||||
}
|
||||
|
||||
type AppWarningConfigBatchFailItem struct {
|
||||
CardValue string `json:"cardValue" dc:"卡号标识"`
|
||||
Reason string `json:"reason" dc:"失败原因"`
|
||||
}
|
||||
|
||||
type AppWarningConfigMetaModel struct {
|
||||
TemplateId string `json:"templateId" dc:"微信订阅消息模板ID"`
|
||||
TemplateReady bool `json:"templateReady" dc:"模板ID是否已配置"`
|
||||
WechatBound bool `json:"wechatBound" dc:"是否已绑定微信用户"`
|
||||
WechatBindText string `json:"wechatBindText" dc:"微信绑定状态文本"`
|
||||
AppNotifyEnabled int `json:"appNotifyEnabled" dc:"是否开启小程序预警通知默认值"`
|
||||
}
|
||||
|
||||
type AppWarningConfigBatchSaveModel struct {
|
||||
BatchNo string `json:"batchNo" dc:"配置批次号"`
|
||||
TotalCount int `json:"totalCount" dc:"提交卡数"`
|
||||
SuccessCount int `json:"successCount" dc:"成功卡数"`
|
||||
FailCount int `json:"failCount" dc:"失败卡数"`
|
||||
FailItems []*AppWarningConfigBatchFailItem `json:"failItems" dc:"失败明细"`
|
||||
TemplateId string `json:"templateId" dc:"微信订阅消息模板ID"`
|
||||
TemplateReady bool `json:"templateReady" dc:"模板ID是否已配置"`
|
||||
WechatBound bool `json:"wechatBound" dc:"是否已绑定微信用户"`
|
||||
WechatBindText string `json:"wechatBindText" dc:"微信绑定状态文本"`
|
||||
}
|
||||
|
||||
type AppWarningConfigNotifyModel struct {
|
||||
AppNotifyEnabled int `json:"appNotifyEnabled" dc:"是否开启小程序预警通知"`
|
||||
Config *AppWarningConfigModel `json:"config" dc:"更新后的预警配置"`
|
||||
TemplateId string `json:"templateId" dc:"微信订阅消息模板ID"`
|
||||
TemplateReady bool `json:"templateReady" dc:"模板ID是否已配置"`
|
||||
WechatBound bool `json:"wechatBound" dc:"是否已绑定微信用户"`
|
||||
WechatBindText string `json:"wechatBindText" dc:"微信绑定状态文本"`
|
||||
}
|
||||
|
||||
type AppWarningConfigBatchNotifyModel struct {
|
||||
AppNotifyEnabled int `json:"appNotifyEnabled" dc:"是否开启小程序预警通知"`
|
||||
TotalCount int `json:"totalCount" dc:"提交卡数"`
|
||||
SuccessCount int `json:"successCount" dc:"成功卡数"`
|
||||
FailCount int `json:"failCount" dc:"失败卡数"`
|
||||
FailItems []*AppWarningConfigBatchFailItem `json:"failItems" dc:"失败明细"`
|
||||
TemplateId string `json:"templateId" dc:"微信订阅消息模板ID"`
|
||||
TemplateReady bool `json:"templateReady" dc:"模板ID是否已配置"`
|
||||
WechatBound bool `json:"wechatBound" dc:"是否已绑定微信用户"`
|
||||
WechatBindText string `json:"wechatBindText" dc:"微信绑定状态文本"`
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"git.5iot.com/iotlcm-public/iotlcm-app/internal/model/request"
|
||||
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
type AppWorkOrderListParam struct {
|
||||
request.PageInfo
|
||||
Keyword string `json:"keyword" dc:"工单编号、标题或内容"`
|
||||
CurrentStatus int `json:"currentStatus" dc:"工单状态:0全部,1已分派,2处理中,3已解决,4已完结,5已取消"`
|
||||
WoType int `json:"woType" dc:"工单类型:0卡,1模组,2设备,3订单,4余额,5提现"`
|
||||
}
|
||||
|
||||
type AppWorkOrderDetailParam struct {
|
||||
WoNo string `json:"woNo" v:"required#工单编号不能为空" dc:"工单编号"`
|
||||
}
|
||||
|
||||
type AppWorkOrderCreateParam struct {
|
||||
WoType int `json:"woType" dc:"工单类型:0卡,1模组,2设备,3订单,4余额,5提现"`
|
||||
RelatedId int64 `json:"relatedId" dc:"关联业务ID"`
|
||||
Title string `json:"title" v:"required#请输入工单标题" dc:"工单标题"`
|
||||
Content string `json:"content" v:"required#请输入问题描述" dc:"问题描述"`
|
||||
AttachmentUrls []string `json:"attachmentUrls" dc:"附件URL列表"`
|
||||
}
|
||||
|
||||
type AppWorkOrderModel struct {
|
||||
Id int64 `json:"id" dc:"主键ID"`
|
||||
WoNo string `json:"woNo" dc:"工单编号"`
|
||||
WoType int `json:"woType" dc:"工单类型"`
|
||||
WoTypeText string `json:"woTypeText" dc:"工单类型文本"`
|
||||
RelatedId int64 `json:"relatedId" dc:"关联业务ID"`
|
||||
Title string `json:"title" dc:"工单标题"`
|
||||
Content string `json:"content" dc:"问题描述"`
|
||||
AttachmentUrls []string `json:"attachmentUrls,omitempty" dc:"附件URL列表"`
|
||||
CreatorType int `json:"creatorType" dc:"创建人类型"`
|
||||
CreatorName string `json:"creatorName" dc:"创建人"`
|
||||
CreatorPhone string `json:"creatorPhone" dc:"创建人手机号"`
|
||||
CurrentStatus int `json:"currentStatus" dc:"当前状态"`
|
||||
CurrentStatusText string `json:"currentStatusText" dc:"当前状态文本"`
|
||||
StatusType string `json:"statusType" dc:"状态样式"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" dc:"创建时间"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" dc:"更新时间"`
|
||||
Communications []*AppWorkOrderCommModel `json:"communications,omitempty" dc:"沟通记录"`
|
||||
}
|
||||
|
||||
type AppWorkOrderCommModel struct {
|
||||
Id int64 `json:"id" dc:"主键ID"`
|
||||
WoNo string `json:"woNo" dc:"工单编号"`
|
||||
CommType int `json:"commType" dc:"沟通类型"`
|
||||
CommTypeText string `json:"commTypeText" dc:"沟通类型文本"`
|
||||
SenderName string `json:"senderName" dc:"发送人"`
|
||||
Content string `json:"content" dc:"内容"`
|
||||
AttachmentUrls *gjson.Json `json:"attachmentUrls,omitempty" dc:"附件URL列表"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" 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,26 @@
|
||||
// package model
|
||||
// @Link https://github.com/xiujiecn/xiu-admin
|
||||
// @Copyright Copyright (c) 2025 LiXiujie
|
||||
// @Author Lxj <li@xiujie.cn>
|
||||
// @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 // 上下文用户信息
|
||||
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,45 @@
|
||||
// =================================================================================
|
||||
// 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 // 异步处理状态 0=已创建 1=待处理 2=处理中 3=成功 4=失败 5=部分成功
|
||||
SourceType any // 来源方式 枚举
|
||||
SourceBatchNo any // 来源批次编号
|
||||
SourceOssId any // 源文件OSS ID
|
||||
ResultOssId any // 结果文件OSS ID
|
||||
IsCrossDept any // 是否跨级操作机构 0-否 1-是
|
||||
TargetDeptId any // 目标机构编号
|
||||
DeptId any // 机构编号
|
||||
TotalCount any // 总数量
|
||||
ValidCount any // 有效数量
|
||||
SuccessCount any // 成功数量
|
||||
FailCount any // 失败数量
|
||||
RunResult any // 运行结果:0-待运行 1-运行中 2-成功 3-失败
|
||||
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 // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// CardChannelAssoc is the golang structure of table card_channel_assoc for DAO operations like Where/Data.
|
||||
type CardChannelAssoc struct {
|
||||
g.Meta `orm:"table:card_channel_assoc, do:true"`
|
||||
Id any // 主键
|
||||
ChannelId any // 通道ID
|
||||
MatchType any // 匹配类型: 1单卡 2号段
|
||||
Iccid any // 单卡ICCID
|
||||
IccidStart any // 号段起始ICCID
|
||||
IccidEnd any // 号段结束ICCID
|
||||
Status any // 状态: 1启用 0停用
|
||||
Remark any // 备注
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *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"
|
||||
)
|
||||
|
||||
// GenTable is the golang structure of table gen_table for DAO operations like Where/Data.
|
||||
type GenTable struct {
|
||||
g.Meta `orm:"table:gen_table, do:true"`
|
||||
TableId any // 编号
|
||||
DataName any // 数据源名称
|
||||
TableName any // 表名称
|
||||
TableComment any // 表描述
|
||||
SubTableName any // 关联子表的表名
|
||||
SubTableFkName any // 子表关联的外键名
|
||||
ClassName any // 实体类名称
|
||||
TplCategory any // 使用的模板(crud单表操作 tree树表操作)
|
||||
PackageName any // 生成包路径
|
||||
ModuleName any // 生成模块名
|
||||
BusinessName any // 生成业务名
|
||||
FunctionName any // 生成功能名
|
||||
FunctionAuthor any // 生成功能作者
|
||||
GenType any // 生成代码方式(0zip压缩包 1自定义路径)
|
||||
GenPath any // 生成路径(不填默认项目路径)
|
||||
Options any // 其它生成选项
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
Remark any // 备注
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// GenTableColumn is the golang structure of table gen_table_column for DAO operations like Where/Data.
|
||||
type GenTableColumn struct {
|
||||
g.Meta `orm:"table:gen_table_column, do:true"`
|
||||
ColumnId any // 编号
|
||||
TableId any // 归属表编号
|
||||
ColumnName any // 列名称
|
||||
ColumnComment any // 列描述
|
||||
ColumnType any // 列类型
|
||||
JavaType any // JAVA类型
|
||||
JavaField any // JAVA字段名
|
||||
IsPk any // 是否主键(1是)
|
||||
IsIncrement any // 是否自增(1是)
|
||||
IsRequired any // 是否必填(1是)
|
||||
IsInsert any // 是否为插入字段(1是)
|
||||
IsEdit any // 是否编辑字段(1是)
|
||||
IsList any // 是否列表字段(1是)
|
||||
IsQuery any // 是否查询字段(1是)
|
||||
QueryType any // 查询方式(等于、不等于、大于、小于、范围)
|
||||
HtmlType any // 显示类型(文本框、文本域、下拉框、复选框、单选框、日期控件)
|
||||
DictType any // 字典类型
|
||||
Sort any // 排序
|
||||
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"
|
||||
)
|
||||
|
||||
// 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,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"
|
||||
)
|
||||
|
||||
// SysRole is the golang structure of table sys_role for DAO operations like Where/Data.
|
||||
type SysRole struct {
|
||||
g.Meta `orm:"table:sys_role, do:true"`
|
||||
RoleId any // 角色ID
|
||||
TenantId any // 租户编号
|
||||
DeptId any // 部门机构id
|
||||
RoleName any // 角色名称
|
||||
RoleKey any // 角色权限字符串
|
||||
RoleSort any // 显示顺序
|
||||
DataScope any // 数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限 5:仅本人数据权限 6:仅本人数据权限 7:本组织及下一级数据权限
|
||||
MenuCheckStrictly any // 菜单树选择项是否关联显示
|
||||
DeptCheckStrictly any // 部门树选择项是否关联显示
|
||||
Status any // 角色状态(0正常 1停用)
|
||||
IsPass any // 是否传递数据权限(0:传递 1:不传递)
|
||||
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 // 可提现金额状态: 0-正常,1-冻结
|
||||
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
|
||||
RateLimitPeriod any // 限流周期(秒,0:不限流)
|
||||
RateLimitCount any // 限流次数
|
||||
DeptId any // 所属机构
|
||||
GroupId any // 开放接口权限组ID
|
||||
Status any // 状态:0启用,1停用
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// 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 // 请求方法:1:POST,2:PUT,3:DELETE,4:GET
|
||||
Path any // 接口路径
|
||||
Status any // 状态:0启用,1停用
|
||||
Version any // 接口版本
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TBalanceDetail is the golang structure of table t_balance_detail for DAO operations like Where/Data.
|
||||
type TBalanceDetail struct {
|
||||
g.Meta `orm:"table:t_balance_detail, do:true"`
|
||||
Id any // 明细ID
|
||||
DeptId any // 账户ID
|
||||
SerialNo any // 流水号
|
||||
TransactionTime *gtime.Time // 交易时间
|
||||
IncomeExpenseType any // 收支类型: 0收入,1支出
|
||||
TransactionType any // 交易类型:0充值 1消费 2转可提现 3可提现转入 4人工调整
|
||||
TransactionChannel any // 交易渠道:1支付宝 2微信 3可提现金额
|
||||
TransactionStatus any // 交易状态:0待支付、1已支付、2已过期、3交易失败
|
||||
Amount any // 交易金额
|
||||
BeforeBalance any // 变动前余额
|
||||
BalanceAfter any // 变动后余额
|
||||
ChannelSerialNo any // 交易渠道流水号
|
||||
OrderSn any // 关联订单号
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,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"
|
||||
)
|
||||
|
||||
// TBrand is the golang structure of table t_brand for DAO operations like Where/Data.
|
||||
type TBrand struct {
|
||||
g.Meta `orm:"table:t_brand, do:true"`
|
||||
BrandId any // 自增id号
|
||||
BrandName any // 品牌名称
|
||||
BrandLogo any // 上传的该公司Logo图片
|
||||
BrandDesc any // 品牌描述
|
||||
SiteUrl any // 品牌的网址
|
||||
SortOrder any // 品牌在前台页面的显示顺序,数字越大越靠后
|
||||
IsShow any // 该品牌是否显示 枚举
|
||||
BrandType any // 品牌分类
|
||||
BrandIsHot any // 是否热销品牌 枚举:yesno_enum
|
||||
FirstWord any // 首字母
|
||||
BrandEnName any // 品牌英文名
|
||||
Status any // 状态 枚举sys_status
|
||||
TenantId any //
|
||||
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"
|
||||
)
|
||||
|
||||
// TCategory is the golang structure of table t_category for DAO operations like Where/Data.
|
||||
type TCategory struct {
|
||||
g.Meta `orm:"table:t_category, do:true"`
|
||||
CategoryId any // 分类ID
|
||||
CategoryName any // 分类名称
|
||||
ShortName any // 分类短名
|
||||
Level any // 层级深度:1-一级 2-二级 3-三级...
|
||||
Keywords any // 分类关键字(搜索用)
|
||||
SearchKeywords any // 搜索关键字
|
||||
CategoryDesc any // 分类描述
|
||||
ParentId any // 父分类ID(0=顶级分类)
|
||||
SortOrder any // 排序序号(数字越大越靠后)
|
||||
MeasureUnit any // 计量单位
|
||||
IsShow any // 是否前台显示 枚举
|
||||
IsHot any // 是否热门 枚举:yesno_enum
|
||||
SeoTitle any // SEO标题
|
||||
CategoryPic any // 分类图片
|
||||
CategoryIco any // 分类图标
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
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 // 当日所有卡总消耗流量GB
|
||||
TotalSms any // 当日总短信使用条数
|
||||
TotalVoiceMin any // 当日总语音分钟数
|
||||
Remark any // 备注,同步失败原因/特殊说明
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// TDivisionCode is the golang structure of table t_division_code for DAO operations like Where/Data.
|
||||
type TDivisionCode struct {
|
||||
g.Meta `orm:"table:t_division_code, do:true"`
|
||||
RegionId any // ID
|
||||
RegionCode any // 行政区域代码
|
||||
RegionName any // 行政区域名称
|
||||
RegionLevel any // 等级
|
||||
RegionParent any // 上级代码
|
||||
RegionType any // 城乡分类代码
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TFinCommissionDetail is the golang structure of table t_fin_commission_detail for DAO operations like Where/Data.
|
||||
type TFinCommissionDetail struct {
|
||||
g.Meta `orm:"table:t_fin_commission_detail, do:true"`
|
||||
Id any // 主键ID
|
||||
CommissionNo any // 分润明细编号
|
||||
OrderSn any // 订单编号
|
||||
OrderType any // 订单类型
|
||||
ProductId any // 商品ID
|
||||
PayerDeptId any // 下级机构ID
|
||||
BenefitDeptId any // 受益机构ID
|
||||
BenefitDeptLevel any // 受益机构层级
|
||||
CommissionAmount any // 分润金额
|
||||
CommissionStatus any // 分润状态:0待结算,1可提现
|
||||
BenefitSnapshot *gjson.Json // 价格快照(受益机构的成本价+利润+利润悉数=出货单价)
|
||||
AccountPeriod any // 账期(YYYY-MM)
|
||||
SettlementTime *gtime.Time // 结算时间
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TFinWithdrawableChange is the golang structure of table t_fin_withdrawable_change for DAO operations like Where/Data.
|
||||
type TFinWithdrawableChange struct {
|
||||
g.Meta `orm:"table:t_fin_withdrawable_change, do:true"`
|
||||
Id any // 主键ID
|
||||
DeptId any // 机构ID
|
||||
ChangeType any // 变动类型:0分润,1提现,2转出(可提现转余额)3转入(余额转可提现)4还款
|
||||
IncomeExpenseType any // 收支类型: 0收入,1支出
|
||||
ChangeAmount any // 变动金额
|
||||
BeforeBalance any // 变动前可提现余额
|
||||
AfterBalance any // 变动后可提现余额
|
||||
AccountType any // 提现账号类型,1:银行卡,2:支付宝,3:微信
|
||||
BankName any // 开户行名称
|
||||
BankAccount any // 开户行账号或账号
|
||||
AccountName any // 用户姓名
|
||||
IdentityCard any // 用户身份证号
|
||||
SourceNo any // 来源单号
|
||||
Remark any // 备注
|
||||
AccountPeriod any // 账期(YYYY-MM)
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TFinanceApply is the golang structure of table t_finance_apply for DAO operations like Where/Data.
|
||||
type TFinanceApply struct {
|
||||
g.Meta `orm:"table:t_finance_apply, do:true"`
|
||||
Id any // 主键ID
|
||||
ApplyNo any // 申请单号
|
||||
ApplyType any // 申请类型(1:提现申请,2:余额转提现)
|
||||
AuditType any // 审核类型:1初审,2复审
|
||||
ApplyDeptId any // 申请机构ID
|
||||
AuditDeptId any // 审核方机构ID,通常为直属上级或顶级
|
||||
AvailableAmountSnapshot any // 申请前可提现余额快照
|
||||
ApplyAmount any // 申请金额
|
||||
AccountType any // 提现账号类型,1:银行卡,2:支付宝,3:微信
|
||||
BankName any // 开户行名称
|
||||
BankAccount any // 开户行账号或账号
|
||||
AccountName any // 用户姓名
|
||||
IdentityCard any // 用户身份证号
|
||||
ReceiveAccount *gjson.Json // 收款账户信息快照
|
||||
ApplyStatus any // 状态:0待审核,1已通过,2已驳回,3已打款,4已取消
|
||||
ApplyTime *gtime.Time // 申请时间
|
||||
AuditTime *gtime.Time // 最近审核时间
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TFinanceAuditRecord is the golang structure of table t_finance_audit_record for DAO operations like Where/Data.
|
||||
type TFinanceAuditRecord struct {
|
||||
g.Meta `orm:"table:t_finance_audit_record, do:true"`
|
||||
Id any // 主键ID
|
||||
AuditNo any // 审核记录编号
|
||||
ApplyNo any // 申请单号
|
||||
AuditDeptId any // 审核方机构ID
|
||||
AuditorUserId any // 审核人ID
|
||||
AuditResult any // 审核结果:0通过,1驳回
|
||||
AuditOpinion any // 审核意见
|
||||
AuditTime *gtime.Time // 审核时间
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TFlowPackageConfig is the golang structure of table t_flow_package_config for DAO operations like Where/Data.
|
||||
type TFlowPackageConfig struct {
|
||||
g.Meta `orm:"table:t_flow_package_config, do:true"`
|
||||
Id any // 主键ID
|
||||
PoolPackageCode any // 池编码
|
||||
PackageCodes *gjson.Json // 套餐编码列表
|
||||
TopupPackageCodes *gjson.Json // 可订购加油包套餐编码列表
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TMessageLog is the golang structure of table t_message_log for DAO operations like Where/Data.
|
||||
type TMessageLog struct {
|
||||
g.Meta `orm:"table:t_message_log, do:true"`
|
||||
MessageLogId any // 主键ID
|
||||
MessageType any // 消息类型 1系统通知 2活动通知 3订单通知 4账户通知
|
||||
SendUserType any // 发送用户类型 1代理商 2终端用户
|
||||
UserIds *gjson.Json // 接收用户ID集合(JSON数组)
|
||||
MessageTitle any // 消息标题
|
||||
MessageContent any // 消息内容
|
||||
MessageLink any // 跳转链接地址
|
||||
SendTime *gtime.Time // 发送时间
|
||||
IsRecall any // 是否撤回 0未撤回 1已撤回
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TMessageType is the golang structure of table t_message_type for DAO operations like Where/Data.
|
||||
type TMessageType struct {
|
||||
g.Meta `orm:"table:t_message_type, do:true"`
|
||||
MessageId any // 主键ID
|
||||
Name any // 通知类型
|
||||
Describe any // 通知描述
|
||||
SendType any // 发送类型 1代理商 2终端
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TNotifyLog is the golang structure of table t_notify_log for DAO operations like Where/Data.
|
||||
type TNotifyLog struct {
|
||||
g.Meta `orm:"table:t_notify_log, do:true"`
|
||||
NotifyId any // 主键ID
|
||||
NotifyTitle any // 标题
|
||||
NotifyContent any // 内容
|
||||
SendUserType any // 发送用户类型 1代理商 2终端用户
|
||||
SendTime *gtime.Time // 发送时间
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TOrder is the golang structure of table t_order for DAO operations like Where/Data.
|
||||
type TOrder struct {
|
||||
g.Meta `orm:"table:t_order, do:true"`
|
||||
Id any // 主键ID
|
||||
OrderSn any // 订单编号
|
||||
ParentOrderId any // 父订单ID
|
||||
ParentOrderSn any // 父订单编号
|
||||
CustomerType any // 客户类型 枚举
|
||||
CustomerAgentId any // 渠道编号(购买方)
|
||||
EndUserId any // 终端客户编号
|
||||
AgentId any // 渠道编号(销售方)
|
||||
OrderType any // 订单类型 枚举
|
||||
OrderStatus any // 订单状态 枚举
|
||||
ShippingStatus any // 配送状态 枚举
|
||||
ReturnStatus any // 退货状态 枚举
|
||||
Consignee any // 收货人姓名
|
||||
Mobile any // 收货人手机
|
||||
Email any // 收货人邮箱
|
||||
Address any // 详细地址
|
||||
AreaCode any // 行政区域代码
|
||||
BuyerNote any // 买家备注
|
||||
AdminNote any // 商家备注
|
||||
Remark any // 系统备注
|
||||
ShippingMethod any // 发货方式 枚举
|
||||
LogisticsId any // 快递公司ID
|
||||
LogisticsName any // 物流公司名称
|
||||
ShippingTypeId any // 配送类型ID
|
||||
ShippingTypeName any // 配送类型名称
|
||||
TrackingNo any // 物流单号
|
||||
ShippingTime *gtime.Time // 发货时间
|
||||
ReceivedTime *gtime.Time // 收货时间
|
||||
PayType any // 支付类型 枚举
|
||||
PayStatus any // 支付状态 枚举
|
||||
PayOrderSn any // 支付订单编号
|
||||
PayTime *gtime.Time // 支付时间
|
||||
TotalAmount any // 订单总金额
|
||||
ProductAmount any // 商品总金额
|
||||
ShippingFee any // 运费金额
|
||||
ServiceFee any // 服务费金额
|
||||
InvoiceFee any // 发票费金额
|
||||
CouponAmount any // 优惠券抵扣金额
|
||||
DiscountAmount any // 活动优惠金额
|
||||
Balance any // 余额抵扣金额
|
||||
PaidAmount any // 已支付总金额
|
||||
OnlinePaidAmount any // 线上支付金额
|
||||
OfflinePaidAmount any // 线下支付金额
|
||||
UnpaidAmount any // 未支付金额
|
||||
UnrefundAmount any // 未退款金额
|
||||
IsNeedCommission any // 是否需要分佣 枚举:yesno_enum
|
||||
DistributionStatus any // 分销分成状态 枚举
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TOrderItem is the golang structure of table t_order_item for DAO operations like Where/Data.
|
||||
type TOrderItem struct {
|
||||
g.Meta `orm:"table:t_order_item, do:true"`
|
||||
ItemId any // 订单商品信息自增id
|
||||
OrderId any // 订单ID
|
||||
OrderSn any // 订单编号
|
||||
CustomerType any // 客户类型 枚举
|
||||
CustomerAgentId any // 渠道编号(购买方)
|
||||
EndUserId any // 客户编号
|
||||
Price any // 商品最终单价
|
||||
Quantity any // 商品的购买数量
|
||||
ProductId any // 商品ID
|
||||
ProductName any // 商品的名称
|
||||
ProductSn any // 商品的唯一货号
|
||||
PicThumb any // 商品缩略图
|
||||
SkuId any // 规格ID
|
||||
SkuData any // 【JSON】sku信息[{sku_id,sku_value,sku_name}]
|
||||
DeliveryQuantity any // 发货数量
|
||||
ProductType any // 商品类型 枚举
|
||||
IsGift any // 是否为赠品 枚举:yesno_enum
|
||||
AgentId any // 渠道编号(销售方)
|
||||
PrepayPrice any // 预售价格
|
||||
Commission any // 佣金数据
|
||||
OriginPrice any // 商品初始价格
|
||||
PromotionData any // 优惠信息
|
||||
ExtraSkuData any // 附加属性
|
||||
PayMode any // 付费方式 枚举
|
||||
ServiceBeginTime *gtime.Time // 服务开始时间
|
||||
ServiceEndTime *gtime.Time // 服务结束时间
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,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"
|
||||
)
|
||||
|
||||
// TPackageApply is the golang structure of table t_package_apply for DAO operations like Where/Data.
|
||||
type TPackageApply struct {
|
||||
g.Meta `orm:"table:t_package_apply, do:true"`
|
||||
Id any // 主键ID
|
||||
BatchNo any // 批次编号
|
||||
ApplyNo any // 申请单号
|
||||
ApplyType any // 申请类型(1:变更,2:退订)
|
||||
AuditType any // 审核类型:1初审,2复审
|
||||
ApplyDeptId any // 申请机构ID
|
||||
AuditDeptId any // 审核方机构ID,通常为直属上级或顶级
|
||||
ApplyPackageId any // 申请前套餐ID
|
||||
ChangePackageId any // 变更套餐ID
|
||||
DurationMonths any // 套餐时长(月)
|
||||
PackageEffectiveType any // 生效方式:1:立即生效,2:到期生效
|
||||
PackageEffectiveTime *gtime.Time // 生效时间
|
||||
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"
|
||||
)
|
||||
|
||||
// TPackageAuditRecord is the golang structure of table t_package_audit_record for DAO operations like Where/Data.
|
||||
type TPackageAuditRecord struct {
|
||||
g.Meta `orm:"table:t_package_audit_record, do:true"`
|
||||
Id any // 主键ID
|
||||
AuditNo any // 审核记录编号
|
||||
ApplyNo any // 申请单号
|
||||
AuditDeptId any // 审核方机构ID
|
||||
AuditorUserId any // 审核人ID
|
||||
AuditResult any // 审核结果:0通过,1驳回
|
||||
AuditOpinion any // 审核意见
|
||||
AuditTime *gtime.Time // 审核时间
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/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,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"
|
||||
)
|
||||
|
||||
// TPackageTerminal is the golang structure of table t_package_terminal for DAO operations like Where/Data.
|
||||
type TPackageTerminal struct {
|
||||
g.Meta `orm:"table:t_package_terminal, do:true"`
|
||||
Id any // 主键ID
|
||||
PackageCode any // 套餐编码
|
||||
PackageName any // 套餐名称
|
||||
TerminalId any // 终端客户ID
|
||||
TerminalName any // 终端客户名称
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
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"
|
||||
)
|
||||
|
||||
// TProduct is the golang structure of table t_product for DAO operations like Where/Data.
|
||||
type TProduct struct {
|
||||
g.Meta `orm:"table:t_product, do:true"`
|
||||
ProductId any // 商品id
|
||||
ProductName any // 商品的名称
|
||||
ProductSn any // 商品的唯一货号
|
||||
ProductTsn any // 条形编码
|
||||
ProductStock any // 商品库存数量
|
||||
ProductPrice any // 本店售价
|
||||
MarketPrice any // 市场售价
|
||||
ProductStatus any // 该商品状态 枚举
|
||||
ProductType any // 商品类型 枚举
|
||||
CategoryId any // 商品所属商品分类id
|
||||
BrandId any // 品牌id
|
||||
Keywords any // 商品关键字,放在商品页的关键字中,为搜索引擎收录用
|
||||
CheckStatus any // 审核状态 枚举
|
||||
CheckReason any // 审核失败原因
|
||||
ClickCount any // 商品点击数
|
||||
ProductWeight any // 商品的重量,以千克为单位
|
||||
IsPromote any // 是否特价促销 枚举yesno_enum
|
||||
PromotePrice any // 促销价格
|
||||
PromoteStartDate *gtime.Time // 促销价格开始日期
|
||||
PromoteEndDate *gtime.Time // 促销价格结束日期
|
||||
SeckillMaxNum any // 最大秒杀库存
|
||||
ProductBrief any // 商品的简短描述
|
||||
ProductDesc any // 商品的详细描述
|
||||
PicUrl any // 商品的实际大小图片,如进入该商品页时介绍商品属性所显示的大图片
|
||||
PicThumb any // 商品在前台显示的微缩图片,如在分类筛选时显示的小图片
|
||||
PicOriginal any // 应该是上传的商品的原始图片
|
||||
CommentTag any // 标签
|
||||
FreeShipping any // 是否包邮 枚举yesno_enum
|
||||
SortOrder any // 商品的显示顺序
|
||||
StoreSortOrder any // 排序
|
||||
IsBest any // 是否是精品 枚举yesno_enum
|
||||
IsNew any // 是否是新品 枚举yesno_enum
|
||||
IsHot any // 是否热销 枚举yesno_enum
|
||||
LastUpdate *gtime.Time // 最近一次更新商品配置的时间
|
||||
Remark any // 商品的商家备注,仅商家可见
|
||||
VirtualSales any // 虚拟销量
|
||||
LimitNumber any // 限购数量
|
||||
ProductCare any // 温馨提示
|
||||
ProductRelated any // [JSON]关联的推荐商品Id
|
||||
ProductServiceIds any // [JSON]服务项ids
|
||||
IsSupportReturn any // 是否支持无理由退货 枚举yesno_enum
|
||||
IsSupportCod any // 是否支持货到付款 枚举yesno_enum
|
||||
ProductVideo any // 商品视频
|
||||
PrepayPrice any // 预付金额
|
||||
VirtualSample any // 虚拟商品
|
||||
PaidContent any // 付费内容
|
||||
NoShipping any // 是否无需配送 枚举yesno_enum
|
||||
FixedShippingType any // 运费类型 枚举
|
||||
FixedShippingFee any // 固定运费金额
|
||||
DeptId any // 机构id
|
||||
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"
|
||||
)
|
||||
|
||||
// TProfitAccountMonthBill is the golang structure of table t_profit_account_month_bill for DAO operations like Where/Data.
|
||||
type TProfitAccountMonthBill struct {
|
||||
g.Meta `orm:"table:t_profit_account_month_bill, do:true"`
|
||||
Id any // 账单ID
|
||||
DeptId any // 机构ID
|
||||
AccountPeriod any // 账期YYYY-MM
|
||||
OpeningBalance any // 月初余额
|
||||
CommissionIncome any // 分润收入
|
||||
BalanceTransferInIncome any // 余额转提现收入
|
||||
WithdrawalExpense any // 提现支出
|
||||
WithdrawableTransferOutExpense any // 可提现转余额支出
|
||||
ProfitCreditRepayExpense any // 盈利账户还款支出
|
||||
TotalIncome any // 本月收入总额
|
||||
TotalExpense any // 本月支出总额
|
||||
ClosingBalance any // 月末余额(月初余额+本月收入-本月支出)
|
||||
IncomeCount any // 收入笔数
|
||||
ExpenseCount any // 支出笔数
|
||||
BillStatus any // 账单状态:1正常,2已调整,3已作废
|
||||
SettleTime *gtime.Time // 结算时间
|
||||
SettleBy any // 结算人ID
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/encoding/gjson"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TResourceBatchDownload is the golang structure of table t_resource_batch_download for DAO operations like Where/Data.
|
||||
type TResourceBatchDownload struct {
|
||||
g.Meta `orm:"table:t_resource_batch_download, do:true"`
|
||||
Id any // 主键ID
|
||||
BatchNo any // 批次编号(全局唯一)
|
||||
TaskName any // 任务名称
|
||||
ResourceType any // 资源类型 枚举
|
||||
ExportScene any // 导出场景 枚举
|
||||
QueryParams *gjson.Json // 导出查询条件快照
|
||||
TotalCount any // 预计导出总条数
|
||||
SuccessCount any // 已成功导出条数
|
||||
FailCount any // 失败条数
|
||||
DownloadStatus any // 下载状态 枚举
|
||||
OssId any // OSS文件ID
|
||||
FileName any // 导出文件名
|
||||
FileExt any // 文件扩展名
|
||||
FileUrl any // 文件访问地址
|
||||
FilePath any // 服务器本地路径
|
||||
FileSize any // 文件大小(字节)
|
||||
FileMd5 any // 文件MD5
|
||||
DownloadCount any // 下载次数
|
||||
LastDownloadTime *gtime.Time // 最后下载时间
|
||||
MaxDownloadCount any // 最大下载次数限制
|
||||
ErrorMessage any // 失败原因
|
||||
DeptId any // 所属机构ID
|
||||
StartTime *gtime.Time // 任务开始时间
|
||||
FinishTime *gtime.Time // 任务完成时间
|
||||
ExpireTime *gtime.Time // 文件过期时间
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimBindPackageLogs is the golang structure of table t_sim_bind_package_logs for DAO operations like Where/Data.
|
||||
type TSimBindPackageLogs struct {
|
||||
g.Meta `orm:"table:t_sim_bind_package_logs, do:true"`
|
||||
Id any // 主键ID
|
||||
SubscriptionNo any // 订购记录编号
|
||||
BatchNo any // 批次编号
|
||||
Iccid any // ICCID
|
||||
Msisdn any // MSISDN/卡号
|
||||
DeptId any // 部门机构编号
|
||||
PackageType any // 套餐类型
|
||||
PackageCode any // 套餐编号
|
||||
PreviousPackageCode any // 变更前套餐编号
|
||||
BusinessType any // 类型 枚举
|
||||
EffectiveStatus any // 订购状态 枚举
|
||||
HandleTime *gtime.Time // 办理时间
|
||||
EffectiveTime *gtime.Time // 生效时间
|
||||
ExpectedExpireTime *gtime.Time // 预计到期时间
|
||||
ActualExpireTime *gtime.Time // 实际到期时间
|
||||
DurationMonths any // 套餐时长(月)
|
||||
GiftDurationMonths any // 赠送时长(月)
|
||||
OrderCode any // 订单编号
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimCardBindPkg is the golang structure of table t_sim_card_bind_pkg for DAO operations like Where/Data.
|
||||
type TSimCardBindPkg struct {
|
||||
g.Meta `orm:"table:t_sim_card_bind_pkg, do:true"`
|
||||
Id any // 主键ID
|
||||
SubscriptionNo any // 订购记录编号
|
||||
BatchNo any // 批次编号
|
||||
Iccid any // ICCID
|
||||
Msisdn any // MSISDN/卡号
|
||||
DeptId any // 部门机构编号
|
||||
PackageType any // 套餐类型
|
||||
PackageCode any // 套餐编号
|
||||
PreviousPackageCode any // 变更前套餐编号
|
||||
BusinessType any // 类型 枚举
|
||||
EffectiveStatus any // 订购状态 枚举
|
||||
HandleTime *gtime.Time // 办理时间
|
||||
EffectiveTime *gtime.Time // 生效时间
|
||||
ExpectedExpireTime *gtime.Time // 预计到期时间
|
||||
ActualExpireTime *gtime.Time // 实际到期时间
|
||||
DurationMonths any // 套餐时长(月)
|
||||
GiftDurationMonths any // 赠送时长(月)
|
||||
OrderCode any // 订单编号
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimCardCancellation is the golang structure of table t_sim_card_cancellation for DAO operations like Where/Data.
|
||||
type TSimCardCancellation struct {
|
||||
g.Meta `orm:"table:t_sim_card_cancellation, do:true"`
|
||||
Id any // 主键ID
|
||||
Iccid any // ICCID
|
||||
Msisdn any // MSISDN/卡号
|
||||
Imsi any // IMSI
|
||||
Imei any // IMEI
|
||||
RegionCode any // 归属地
|
||||
DeptId any // 渠道客户ID
|
||||
CurrentPackageCode any // 当前套餐编号
|
||||
PackageStatus any // 套餐状态:0 无套餐,1待生效,2生效中,3已过期
|
||||
AccessType any // 接入方式:ipv4、ipv6、ipv4_ipv6
|
||||
BossCardStatus any // 运营商卡状态 枚举
|
||||
CancelBatchNo any // 系统销户批次号
|
||||
CancelledAt *gtime.Time // 系统销户完成时间
|
||||
CardType any // 卡类型 枚举
|
||||
BossOpenAt *gtime.Time // 运营商开户日期
|
||||
BossActivateAt *gtime.Time // 运营商激活日期
|
||||
IsBossActivateEnabled any // 是否按运营商激活减去赠送时长方:1是,0否
|
||||
InboundBatchNo any // 入库批次
|
||||
OutboundBatchNo any // 出库批次
|
||||
AllocationBatchNo any // 划拨批次
|
||||
IsFlowPool any // 是否为池卡:1是,0否
|
||||
FlowPoolCode any // 流量池编号
|
||||
FlowPkgBeginAt *gtime.Time // 当前套餐生效时间
|
||||
FlowPkgPresentAt *gtime.Time // 套餐赠送结束时间
|
||||
FlowPkgRealPresentAt *gtime.Time // 实际赠送结束时间
|
||||
FlowPkgEndAt *gtime.Time // 当前套餐预计到期时间
|
||||
DataServiceStatus any // 数据服务状态:0启用,1停用
|
||||
PackageTotalFlowMb any // 套餐总流量MB
|
||||
UsedFlowMb any // 已用流量MB
|
||||
TrafficCutoffStatus any // 达量断网配置状态:0未配置,1已开启,2已关闭
|
||||
TrafficCutoffThreshold any // 达量断网阈值
|
||||
SmsServiceStatus any // 短信服务状态:0启用,1停用
|
||||
PackageTotalSms any // 套餐短信总条数
|
||||
UsedSms any // 已用短信条数
|
||||
VoiceServiceStatus any // 语音服务状态:0启用,1停用
|
||||
PackageTotalVoice any // 套餐语音总分钟数
|
||||
UsedVoice any // 已用语音分钟数
|
||||
RoamServiceStatus any // 国漫服务状态:0启用,1停用
|
||||
PackageTotalRoamFlowMb any // 套餐国际流量MB
|
||||
UsedRoamFlowMb any // 已用国际流量MB
|
||||
StatusSyncTime *gtime.Time // 状态最后一次同步时间
|
||||
FlowSyncTime *gtime.Time // 流量最后一次同步时间
|
||||
SmsSyncTime *gtime.Time // 短信最后一次同步时间
|
||||
VoiceSyncTime *gtime.Time // 语音最后一次同步时间
|
||||
RoamSyncTime *gtime.Time // 国漫最后一次同步时间
|
||||
ExtraFeeEnabled any // 是否收取附加费:0是,1否
|
||||
ExtraFeeMultiple any // 附加费用倍数
|
||||
ExtraFee any // 附加金额
|
||||
ChanKey any // 通道编号
|
||||
NetModel any // 网络类型 枚举
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimCardInfo is the golang structure of table t_sim_card_info for DAO operations like Where/Data.
|
||||
type TSimCardInfo struct {
|
||||
g.Meta `orm:"table:t_sim_card_info, do:true"`
|
||||
Id any // 主键ID
|
||||
Iccid any // ICCID
|
||||
Msisdn any // MSISDN/卡号
|
||||
Imsi any // IMSI
|
||||
Imei any // IMEI
|
||||
RegionCode any // 归属地
|
||||
DeptId any // 渠道客户ID
|
||||
CurrentPackageCode any // 当前套餐编号
|
||||
PackageStatus any // 套餐状态:0 无套餐,1待生效,2生效中,3已过期
|
||||
AccessType any // 接入方式:ipv4、ipv6、ipv4_ipv6
|
||||
BossCardStatus any // 运营商卡状态 枚举
|
||||
CardType any // 卡类型 枚举
|
||||
BossOpenAt *gtime.Time // 运营商开户日期
|
||||
BossActivateAt *gtime.Time // 运营商激活日期
|
||||
IsBossActivateEnabled any // 是否按运营商激活减去赠送时长方:1是,0否
|
||||
InboundBatchNo any // 入库批次
|
||||
OutboundBatchNo any // 出库批次
|
||||
AllocationBatchNo any // 划拨批次
|
||||
IsFlowPool any // 是否为池卡:1是,0否
|
||||
FlowPoolCode any // 流量池编号
|
||||
OutStockTime *gtime.Time // 出库时间
|
||||
FlowPkgBeginAt *gtime.Time // 当前套餐生效时间
|
||||
FlowPkgPresentAt *gtime.Time // 套餐赠送结束时间
|
||||
FlowPkgRealPresentAt *gtime.Time // 实际赠送结束时间
|
||||
FlowPkgEndAt *gtime.Time // 当前套餐预计到期时间
|
||||
DataServiceStatus any // 数据服务状态:1启用、0禁用
|
||||
PackageTotalFlowMb any // 套餐总流量MB
|
||||
UsedFlowMb any // 已用流量MB
|
||||
TrafficCutoffStatus any // 达量断网配置状态:0未配置,1已开启,2已关闭
|
||||
TrafficCutoffThreshold any // 达量断网阈值
|
||||
SmsServiceStatus any // 短信服务状态:1启用、0禁用
|
||||
PackageTotalSms any // 套餐短信总条数
|
||||
UsedSms any // 已用短信条数
|
||||
VoiceServiceStatus any // 语音服务状态:1启用、0禁用
|
||||
PackageTotalVoice any // 套餐语音总分钟数
|
||||
UsedVoice any // 已用语音分钟数
|
||||
RoamServiceStatus any // 国漫服务状态:1启用、0禁用
|
||||
PackageTotalRoamFlowMb any // 套餐国际流量MB
|
||||
UsedRoamFlowMb any // 已用国际流量MB
|
||||
StatusSyncTime *gtime.Time // 状态最后一次同步时间
|
||||
FlowSyncTime *gtime.Time // 流量最后一次同步时间
|
||||
SmsSyncTime *gtime.Time // 短信最后一次同步时间
|
||||
VoiceSyncTime *gtime.Time // 语音最后一次同步时间
|
||||
RoamSyncTime *gtime.Time // 国漫最后一次同步时间
|
||||
ExtraFeeEnabled any // 是否收取附加费:1是,0否
|
||||
ExtraFeeMultiple any // 附加费用倍数
|
||||
ExtraFee any // 附加金额
|
||||
ChanKey any // 通道编号
|
||||
NetModel any // 网络类型:4G、5G、NB-IoT
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TSimCardStock is the golang structure of table t_sim_card_stock for DAO operations like Where/Data.
|
||||
type TSimCardStock struct {
|
||||
g.Meta `orm:"table:t_sim_card_stock, do:true"`
|
||||
Id any // 主键ID
|
||||
BatchNo any //
|
||||
Iccid any // ICCID
|
||||
Msisdn any // MSISDN
|
||||
Imsi any // IMSI
|
||||
Imei any // IMEI
|
||||
ChanKey any // 通道编号
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,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,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"
|
||||
)
|
||||
|
||||
// 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停用, 2未申请, 3申请中, 4接口信息不全)
|
||||
ShareEnabled any // 是否开放共享Token(0否,1是)
|
||||
ChanAlias any // 通道别名
|
||||
RegionCode any // 通道行政区域代码(省市)
|
||||
AppKey any // 应用标识
|
||||
AppSecret any // 应用密钥
|
||||
AccessToken any // 接口调用凭证
|
||||
AccessTokenCreated *gtime.Time // 凭证申请时间
|
||||
AccessTokenExpire *gtime.Time // 凭证过期时间
|
||||
RefreshToken any // 刷新凭证
|
||||
LoginUser any // 登录账号
|
||||
LoginPassword any // 登录密码
|
||||
LoginUrl any // 登录地址
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -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,37 @@
|
||||
// =================================================================================
|
||||
// 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
|
||||
LastStatTime *gtime.Time // 最后流量统计时间
|
||||
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,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"
|
||||
)
|
||||
|
||||
// TSimPool is the golang structure of table t_sim_pool for DAO operations like Where/Data.
|
||||
type TSimPool struct {
|
||||
g.Meta `orm:"table:t_sim_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
|
||||
Status any // 状态:0 正常、1 停用、2 锁定
|
||||
Remark any // 备注
|
||||
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,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"
|
||||
)
|
||||
|
||||
// TSimPoolBindPkgLogs is the golang structure of table t_sim_pool_bind_pkg_logs for DAO operations like Where/Data.
|
||||
type TSimPoolBindPkgLogs struct {
|
||||
g.Meta `orm:"table:t_sim_pool_bind_pkg_logs, 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,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"
|
||||
)
|
||||
|
||||
// TSimPoolWarnLog is the golang structure of table t_sim_pool_warn_log for DAO operations like Where/Data.
|
||||
type TSimPoolWarnLog struct {
|
||||
g.Meta `orm:"table:t_sim_pool_warn_log, do:true"`
|
||||
Id any // 主键ID
|
||||
PoolId any // 流量池ID
|
||||
WarnLevel any // 预警级别
|
||||
ThresholdPercent any // 触发阈值百分比(例如0.7)
|
||||
UsedPercent any // 实际使用百分比
|
||||
UsedFlowMb any // 触发时已用流量MB
|
||||
TotalFlowMb any // 触发时总流量MB
|
||||
WarnMethods any // 预警方式:0短信,1邮箱,2电话,3平台消息
|
||||
WarnPhones any // 预警手机号
|
||||
WarnEmails any // 预警邮箱
|
||||
WarnStatus any // 预警状态:0成功,1失败
|
||||
WarnTime *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"
|
||||
)
|
||||
|
||||
// TSimTerminal is the golang structure of table t_sim_terminal for DAO operations like Where/Data.
|
||||
type TSimTerminal struct {
|
||||
g.Meta `orm:"table:t_sim_terminal, do:true"`
|
||||
Id any // 主键ID
|
||||
Iccid any // ICCID
|
||||
Msisdn any // MSISDN/卡号
|
||||
Imsi any // IMSI
|
||||
TerminalId any // 终端客户ID
|
||||
TerminalName any // 终端客户名称
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门ID
|
||||
CreatedBy any // 创建者ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者ID
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeptId any // 渠道客户ID
|
||||
CurrentPackageCode any // 当前套餐编号
|
||||
}
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
// TSimUpstreamPackage is the golang structure of table t_sim_upstream_package for DAO operations like Where/Data.
|
||||
type TSimUpstreamPackage 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 // 备注
|
||||
TenantId any // 租户编号
|
||||
CreatedDept any // 创建部门
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
CreatedBy any // 创建者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
UpdatedBy any // 更新者
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
// =================================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// TTerminal is the golang structure of table t_terminal for DAO operations like Where/Data.
|
||||
type TTerminal struct {
|
||||
g.Meta `orm:"table:t_terminal, do:true"`
|
||||
TerminalId any // 终端客户id
|
||||
TerminalName any // 客户名称
|
||||
Leader any // 负责人
|
||||
Phone any // 联系电话
|
||||
Email any // 邮箱
|
||||
Status any // 客户状态(0正常 1停用)
|
||||
CreditCode any // 统一社会信用代码
|
||||
AreaCode any // 行政区域代码
|
||||
Address any // 地址
|
||||
FullName any // 单位全称
|
||||
Industry any // 行业
|
||||
LegalPersonName any // 法人名称
|
||||
LegalPersonIdCard any // 法人身份证号
|
||||
CompanyType any // 单位类型
|
||||
EstablishTime *gtime.Time // 单位成立时间
|
||||
BankName any // 开户行名称
|
||||
BankAccount any // 开户行账号
|
||||
Balance any // 账户余额
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedBy any // 删除人
|
||||
DeletedAt *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"
|
||||
)
|
||||
|
||||
// TTplatformSetting is the golang structure of table t_tplatform_setting for DAO operations like Where/Data.
|
||||
type TTplatformSetting struct {
|
||||
g.Meta `orm:"table:t_tplatform_setting, do:true"`
|
||||
Id any // 主键ID
|
||||
SubDomain any // 二级域名前缀
|
||||
FullDomain any // 完整域名
|
||||
AppTitle any // 平台标题
|
||||
AppIcon any // 图标地址
|
||||
LoginPageTitle any // 登录页大标题
|
||||
LoginPageDescription any // 登录页描述文案
|
||||
LoginSloganImage any // 登录标语图地址
|
||||
Sort any // 排序
|
||||
Status any // 状态 0启用 1禁用
|
||||
Remark any // 备注
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TUserMessage is the golang structure of table t_user_message for DAO operations like Where/Data.
|
||||
type TUserMessage struct {
|
||||
g.Meta `orm:"table:t_user_message, do:true"`
|
||||
MessageId any // 主键ID
|
||||
MessageLogId any // 消息日志ID
|
||||
UserId any // 用户ID
|
||||
IsRead any // 是否已读 0未读 1已读
|
||||
TenantId any // 租户ID
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TWarnConfig is the golang structure of table t_warn_config for DAO operations like Where/Data.
|
||||
type TWarnConfig struct {
|
||||
g.Meta `orm:"table:t_warn_config, do:true"`
|
||||
Id any // 主键ID
|
||||
TenantId any // 租户ID
|
||||
BatchNo any // 批次编号
|
||||
ItemType any // 对象类型:1卡,2流量池
|
||||
ItemId any // 对象ID:单卡为t_sim_card_info.id,流量池为t_sim_flow_pool.id
|
||||
ItemCode any // 对象编码快照:ICCID/MSISDN/流量池编码
|
||||
WarnUnit any // 预警单位:1MB,2百分比,3天数,4月数
|
||||
FirstWarn any // 第一档预警阈值,单位由warn_unit决定
|
||||
SecondWarn any // 第二档预警阈值,单位由warn_unit决定
|
||||
ThirdWarn any // 第三档预警阈值,单位由warn_unit决定
|
||||
WarnMethods any // 预警方式:0短信,1邮箱,2电话,3平台消息;多选逗号分隔
|
||||
WarnPhones any // 预警手机号,多个逗号分隔
|
||||
WarnEmails any // 预警邮箱,多个逗号分隔
|
||||
AutoAction any // 自动动作:0无,2断网;第一期只保存配置不自动执行
|
||||
IsEnabled any // 是否启用:1启用,0停用
|
||||
WxTemplateId any // 微信订阅消息模板ID
|
||||
Remark any // 备注
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
AppNotifyEnabled any // 是否开启小程序预警通知:0关闭,1开启
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TWarnLog is the golang structure of table t_warn_log for DAO operations like Where/Data.
|
||||
type TWarnLog struct {
|
||||
g.Meta `orm:"table:t_warn_log, do:true"`
|
||||
Id any // 主键ID
|
||||
TenantId any // 租户ID
|
||||
ConfigId any // 预警配置ID
|
||||
ItemType any // 对象类型:1单卡,2流量池
|
||||
ItemId any // 对象ID:单卡为t_sim_card_info.id,流量池为t_sim_flow_pool.id
|
||||
ItemCode any // 对象编码快照:ICCID/MSISDN/流量池编码
|
||||
WarnStage any // 触发档位:1第一档,2第二档,3第三档
|
||||
WarnLevel any // 预警级别:1提示,2注意,3警告,4危险,5紧急
|
||||
WarnUnit any // 预警单位/维度:1MB,2百分比,3天数,4月数
|
||||
ThresholdValue any // 触发阈值,单位由warn_unit决定
|
||||
ActualValue any // 触发时实际值,单位由warn_unit决定
|
||||
TotalFlowMb any // 触发时总流量MB;流量类预警使用
|
||||
RemainFlowMb any // 触发时剩余流量MB;流量类预警使用
|
||||
WarnMethods any // 实际预警方式快照
|
||||
WarnPhones any // 实际预警手机号快照
|
||||
WarnEmails any // 实际预警邮箱快照
|
||||
MessageLogId any // 平台消息ID;聚合通知时可能为空
|
||||
WarnTime *gtime.Time // 预警时间
|
||||
Remark any // 备注
|
||||
CreatedDept any // 创建部门
|
||||
CreatedBy any // 创建者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedBy any // 更新者
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
// =================================================================================
|
||||
// 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
|
||||
WoNo any // 工单编号
|
||||
CommType any // 沟通类型:0回复,1反馈
|
||||
SenderDeptId any // 发送人机构ID
|
||||
SenderUserId any // 发送人用户ID
|
||||
SenderName any // 发送人姓名
|
||||
Content any // 内容
|
||||
AttachmentUrls *gjson.Json // 附件URL列表
|
||||
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 // 更新时间
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user