Files
iotlcm/internal/model/entity/t_sim_card_cancellation.go
T
MiFaZhan 2bec257289 chore: 初始开源发布
iotlcm-worker-svr:异步执行中枢(RabbitMQ 消费者 + 全量同步编排)。

- Go module:iotlcm-worker-svr → git.5iot.com/iotlcm-public/iotlcm-worker-svr(214 文件)
- 凭据与内部标识脱敏:MySQL/Redis 凭据、私网与生产 IP、内网域名、
  库名 xiujie_admin → iotlcm、哨兵名占位
- 159 处真实手机号 → 合法 11 位编造号(保留号段与后 4 位,维持互异,
  不破坏「校验 MSISDN 格式」等测试断言)
- 移除内部资产:CI 触发器、Jenkins 触发测试文档、预演门禁与镜像
  digest 记录
- Dockerfile 改用公共基础镜像(golang:1.25-alpine → alpine:3.23),
  移除写死的 git 凭据
- README 重写(架构/全量同步模型/配置/已知失败),补 Apache-2.0
  LICENSE,LF 行尾 + .gitattributes

已知:3 个测试包在源仓同一提交上同样失败(client/upstream、
service/allocate、service/inbound),属既有缺陷,本仓未引入亦未修复。
2026-10-22 16:37:56 +08:00

71 lines
7.5 KiB
Go

// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// TSimCardCancellation is the golang structure for table t_sim_card_cancellation.
type TSimCardCancellation struct {
Id int64 `json:"id" orm:"id" ` // 主键ID
Iccid string `json:"iccid" orm:"iccid" ` // ICCID
Msisdn string `json:"msisdn" orm:"msisdn" ` // MSISDN/卡号
Imsi string `json:"imsi" orm:"imsi" ` // IMSI
Imei string `json:"imei" orm:"imei" ` // IMEI
RegionCode string `json:"regionCode" orm:"region_code" ` // 归属地
DeptId int64 `json:"deptId" orm:"dept_id" ` // 渠道客户ID
CurrentPackageCode string `json:"currentPackageCode" orm:"current_package_code" ` // 当前套餐编号
PackageStatus int `json:"packageStatus" orm:"package_status" ` // 套餐状态:0 无套餐,1待生效,2生效中,3已过期
AccessType int `json:"accessType" orm:"access_type" ` // 接入方式:ipv4、ipv6、ipv4_ipv6
BossCardStatus int `json:"bossCardStatus" orm:"boss_card_status" ` // 运营商卡状态 枚举
CancelBatchNo string `json:"cancelBatchNo" orm:"cancel_batch_no" ` // 系统销户批次号
CancelledAt *gtime.Time `json:"cancelledAt" orm:"cancelled_at" ` // 系统销户完成时间
CardType int `json:"cardType" orm:"card_type" ` // 卡类型 枚举
BossOpenAt *gtime.Time `json:"bossOpenAt" orm:"boss_open_at" ` // 运营商开户日期
BossActivateAt *gtime.Time `json:"bossActivateAt" orm:"boss_activate_at" ` // 运营商激活日期
IsBossActivateEnabled int `json:"isBossActivateEnabled" orm:"is_boss_activate_enabled" ` // 是否按运营商激活减去赠送时长方:1是,0否
InboundBatchNo string `json:"inboundBatchNo" orm:"inbound_batch_no" ` // 入库批次
OutboundBatchNo string `json:"outboundBatchNo" orm:"outbound_batch_no" ` // 出库批次
AllocationBatchNo string `json:"allocationBatchNo" orm:"allocation_batch_no" ` // 划拨批次
IsFlowPool int `json:"isFlowPool" orm:"is_flow_pool" ` // 是否为池卡:1是,0否
FlowPoolCode string `json:"flowPoolCode" orm:"flow_pool_code" ` // 流量池编号
FlowPkgBeginAt *gtime.Time `json:"flowPkgBeginAt" orm:"flow_pkg_begin_at" ` // 当前套餐生效时间
FlowPkgPresentAt *gtime.Time `json:"flowPkgPresentAt" orm:"flow_pkg_present_at" ` // 套餐赠送结束时间
FlowPkgRealPresentAt *gtime.Time `json:"flowPkgRealPresentAt" orm:"flow_pkg_real_present_at" ` // 实际赠送结束时间
FlowPkgEndAt *gtime.Time `json:"flowPkgEndAt" orm:"flow_pkg_end_at" ` // 当前套餐预计到期时间
DataServiceStatus int `json:"dataServiceStatus" orm:"data_service_status" ` // 数据服务状态:0启用,1停用
PackageTotalFlowMb float64 `json:"packageTotalFlowMb" orm:"package_total_flow_mb" ` // 套餐总流量MB
UsedFlowMb float64 `json:"usedFlowMb" orm:"used_flow_mb" ` // 已用流量MB
TrafficCutoffStatus int `json:"trafficCutoffStatus" orm:"traffic_cutoff_status" ` // 达量断网配置状态:0未配置,1已开启,2已关闭
TrafficCutoffThreshold float64 `json:"trafficCutoffThreshold" orm:"traffic_cutoff_threshold" ` // 达量断网阈值
SmsServiceStatus int `json:"smsServiceStatus" orm:"sms_service_status" ` // 短信服务状态:0启用,1停用
PackageTotalSms int `json:"packageTotalSms" orm:"package_total_sms" ` // 套餐短信总条数
UsedSms int `json:"usedSms" orm:"used_sms" ` // 已用短信条数
VoiceServiceStatus int `json:"voiceServiceStatus" orm:"voice_service_status" ` // 语音服务状态:0启用,1停用
PackageTotalVoice int `json:"packageTotalVoice" orm:"package_total_voice" ` // 套餐语音总分钟数
UsedVoice int `json:"usedVoice" orm:"used_voice" ` // 已用语音分钟数
RoamServiceStatus int `json:"roamServiceStatus" orm:"roam_service_status" ` // 国漫服务状态:0启用,1停用
PackageTotalRoamFlowMb float64 `json:"packageTotalRoamFlowMb" orm:"package_total_roam_flow_mb" ` // 套餐国际流量MB
UsedRoamFlowMb float64 `json:"usedRoamFlowMb" orm:"used_roam_flow_mb" ` // 已用国际流量MB
StatusSyncTime *gtime.Time `json:"statusSyncTime" orm:"status_sync_time" ` // 状态最后一次同步时间
FlowSyncTime *gtime.Time `json:"flowSyncTime" orm:"flow_sync_time" ` // 流量最后一次同步时间
SmsSyncTime *gtime.Time `json:"smsSyncTime" orm:"sms_sync_time" ` // 短信最后一次同步时间
VoiceSyncTime *gtime.Time `json:"voiceSyncTime" orm:"voice_sync_time" ` // 语音最后一次同步时间
RoamSyncTime *gtime.Time `json:"roamSyncTime" orm:"roam_sync_time" ` // 国漫最后一次同步时间
ExtraFeeEnabled int `json:"extraFeeEnabled" orm:"extra_fee_enabled" ` // 是否收取附加费:0是,1否
ExtraFeeMultiple float64 `json:"extraFeeMultiple" orm:"extra_fee_multiple" ` // 附加费用倍数
ExtraFee float64 `json:"extraFee" orm:"extra_fee" ` // 附加金额
ChanKey string `json:"chanKey" orm:"chan_key" ` // 通道编号
NetModel int `json:"netModel" orm:"net_model" ` // 网络类型 枚举
Remark string `json:"remark" orm:"remark" ` // 备注
TenantId string `json:"tenantId" orm:"tenant_id" ` // 租户ID
CreatedDept int64 `json:"createdDept" orm:"created_dept" ` // 创建部门
CreatedBy int64 `json:"createdBy" orm:"created_by" ` // 创建者
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" ` // 创建时间
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" ` // 更新者
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" ` // 更新时间
}