82466d587d
iotlcm-upstream-proxy:渠道缓存与转发网关。 - 内联原私有依赖:yunze-public → internal/pub/(18 文件), yunze-pb/pb → internal/pb/(9 文件);Consul 注册改用官方 gogf/gf/contrib/registry/consul/v2(API 兼容) - Go module:yz-svr → git.5iot.com/iotlcm-public/iotlcm-upstream-proxy - 凭据与内部标识脱敏:MySQL/Redis/Consul 凭据、私网与生产 IP、内网域名 - 移除内部资产:CI 触发器 - Dockerfile 改用公共基础镜像,移除写死的 registry 凭据 - 补 Apache-2.0 LICENSE,重写 README,LF 行尾 + .gitattributes
72 lines
8.0 KiB
Go
72 lines
8.0 KiB
Go
// =================================================================================
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|
// =================================================================================
|
|
|
|
package entity
|
|
|
|
import (
|
|
"github.com/gogf/gf/v2/os/gtime"
|
|
)
|
|
|
|
// TSimCardInfo is the golang structure for table t_sim_card_info.
|
|
type TSimCardInfo struct {
|
|
Id int64 `json:"id" orm:"id" description:"ID"`
|
|
Msisdn string `json:"msisdn" orm:"msisdn" description:"SIM号码"`
|
|
Iccid string `json:"iccid" orm:"iccid" description:"SIM卡号"`
|
|
Imsi string `json:"imsi" orm:"imsi" description:"SIM识别码"`
|
|
Imei string `json:"imei" orm:"imei" description:"IMEI"`
|
|
OpenDate *gtime.Time `json:"openDate" orm:"open_date" description:"开卡日期(运营商)"`
|
|
ActivateDate *gtime.Time `json:"activateDate" orm:"activate_date" description:"激活时间(运营商)"`
|
|
AllocationBatch string `json:"allocationBatch" orm:"allocation_batch" description:"划拨批次"`
|
|
AllocationDate *gtime.Time `json:"allocationDate" orm:"allocation_date" description:"划拨日期"`
|
|
ChanKey string `json:"chanKey" orm:"chan_key" description:"通道编号"`
|
|
IsPool int `json:"isPool" orm:"is_pool" description:"是否流量池(0:否,1:是)"`
|
|
PoolKey string `json:"poolKey" orm:"pool_key" description:"流量池编号"`
|
|
BatchKey string `json:"batchKey" orm:"batch_key" description:"入库批次"`
|
|
BatchDate *gtime.Time `json:"batchDate" orm:"batch_date" description:"入库日期"`
|
|
PackageKey string `json:"packageKey" orm:"package_key" description:"套餐分类编码"`
|
|
CurrPacketKey string `json:"currPacketKey" orm:"curr_packet_key" description:"当前套餐编码"`
|
|
AllowPacketChange int `json:"allowPacketChange" orm:"allow_packet_change" description:"是否允许更改套餐(0:否 1:是)"`
|
|
CardStatus int `json:"cardStatus" orm:"card_status" description:"卡状态"`
|
|
ValidityPeriod int `json:"validityPeriod" orm:"validity_period" description:"有效期(月份)"`
|
|
ExpiryDate *gtime.Time `json:"expiryDate" orm:"expiry_date" description:"套餐到期日期"`
|
|
UpstreamExpiryDate *gtime.Time `json:"upstreamExpiryDate" orm:"upstream_expiry_date" description:"上游到期时间(运营商)"`
|
|
IpType string `json:"ipType" orm:"ip_type" description:"IP版本(人工录入)"`
|
|
NetModel string `json:"netModel" orm:"net_model" description:"网络模式(人工录入)"`
|
|
RegionCode string `json:"regionCode" orm:"region_code" description:"行政区域代码(省市)"`
|
|
HasOffNet int `json:"hasOffNet" orm:"has_off_net" description:"是否开启达量断网"`
|
|
OffNetQuota float64 `json:"offNetQuota" orm:"off_net_quota" description:"达量断网阈值(MB)"`
|
|
OffNetExpiryDate *gtime.Time `json:"offNetExpiryDate" orm:"off_net_expiry_date" description:"达量断网过期时间"`
|
|
AgentShowField string `json:"agentShowField" orm:"agent_show_field" description:"客户展示字段设置"`
|
|
AgentShowValue string `json:"agentShowValue" orm:"agent_show_value" description:"客户展示字段数据"`
|
|
HasTestPeriod int `json:"hasTestPeriod" orm:"has_test_period" description:"是否有测试期(0:无,1:有)"`
|
|
TestPeriod int `json:"testPeriod" orm:"test_period" description:"测试期(天)"`
|
|
TestPeriodExpiryDate *gtime.Time `json:"testPeriodExpiryDate" orm:"test_period_expiry_date" description:"测试期过期日期"`
|
|
HasSilentPeriod int `json:"hasSilentPeriod" orm:"has_silent_period" description:"是否有沉默期(0:无,1:有)"`
|
|
SilentPeriod int `json:"silentPeriod" orm:"silent_period" description:"沉默期(月)"`
|
|
SilentPeriodExpiryDate *gtime.Time `json:"silentPeriodExpiryDate" orm:"silent_period_expiry_date" description:"沉默期过期日期"`
|
|
HasAdditional int `json:"hasAdditional" orm:"has_additional" description:"是否有附加费用(0:无 1:有)"`
|
|
AdditionalMultiplier float64 `json:"additionalMultiplier" orm:"additional_multiplier" description:"附加费用倍数"`
|
|
AdditionalAmount float64 `json:"additionalAmount" orm:"additional_amount" description:"附加金额"`
|
|
DataService int `json:"dataService" orm:"data_service" description:"数据服务(0:关闭 1:开启)"`
|
|
DataTotalAmount float64 `json:"dataTotalAmount" orm:"data_total_amount" description:"套餐流量(MB)"`
|
|
DataUseAmount float64 `json:"dataUseAmount" orm:"data_use_amount" description:"已用流量(MB)"`
|
|
SmsService int `json:"smsService" orm:"sms_service" description:"短信服务(0:关闭 1:开启)"`
|
|
SmsTotalAmount float64 `json:"smsTotalAmount" orm:"sms_total_amount" description:"套餐短信数量"`
|
|
SmsUseAmount float64 `json:"smsUseAmount" orm:"sms_use_amount" description:"已用短信数量"`
|
|
VoiceService int `json:"voiceService" orm:"voice_service" description:"语音服务(0:关闭 1:开启)"`
|
|
VoiceTotalAmount float64 `json:"voiceTotalAmount" orm:"voice_total_amount" description:"套餐通话分钟数"`
|
|
VoiceUseAmount float64 `json:"voiceUseAmount" orm:"voice_use_amount" description:"已用通话分钟数"`
|
|
IntlRoamingService int `json:"intlRoamingService" orm:"intl_roaming_service" description:"国际漫游服务(0:关闭 1:开启)"`
|
|
IntlRoamingTotalAmount float64 `json:"intlRoamingTotalAmount" orm:"intl_roaming_total_amount" description:"套餐国际漫游流量(MB)"`
|
|
IntlRoamingUseAmount float64 `json:"intlRoamingUseAmount" orm:"intl_roaming_use_amount" description:"已用国际漫游流量(MB)"`
|
|
Description string `json:"description" orm:"description" description:"描述信息"`
|
|
DeptId int64 `json:"deptId" orm:"dept_id" description:"所属机构"`
|
|
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
|
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
|
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
|
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
|
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
|
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
|
}
|