59eb34976a
iotlcm-admin-svr:管理后台服务。 - Go module:iotlcm → git.5iot.com/iotlcm-public/iotlcm-admin-svr(729 文件) - 凭据与地址脱敏:JWT signingKey(含代码里的 MustGet 默认值)、 MySQL DSN、Redis 口令、告警邮件发件人邮箱全部改为占位; 私网 IP → 文档地址段;库名 xiujie_admin → iotlcm - 真实手机号/邮箱 → 合法 11 位编造号 / example.com - 移除内部资产:CI 触发器、过时 DDL(sql/db_iotlcm.sql)、 私有依赖 go get 行、明文 registry 登录口令 - 启动 banner 统一 IOTLCM 方块字 + 社区惯例署名 - Dockerfile 改用公共基础镜像 - 拼错的 RADEME.md → README.md,README 重写 - 需要真实数据库的用例改为可用 IOTLCM_TEST_WITH_DB=1 显式启用 - 补 Apache-2.0 LICENSE,LF 行尾 + .gitattributes 数据库 schema 不随本仓发布(生产 DDL 已过时),README 已说明。
46 lines
4.3 KiB
Go
46 lines
4.3 KiB
Go
// =================================================================================
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|
// =================================================================================
|
|
|
|
package entity
|
|
|
|
import (
|
|
"github.com/gogf/gf/v2/os/gtime"
|
|
)
|
|
|
|
// TSimChannels is the golang structure for table t_sim_channels.
|
|
type TSimChannels struct {
|
|
Operator int `json:"operator" orm:"operator" description:"运营商:1移动,2联通,3电信"`
|
|
Id int64 `json:"id" orm:"id" description:"ID"`
|
|
TempKey string `json:"tempKey" orm:"temp_key" description:"模板标识"`
|
|
SyncEnabled int `json:"syncEnabled" orm:"sync_enabled" description:"是否轮询:0是(参与) 1否(不参与)"`
|
|
ChanKey string `json:"chanKey" orm:"chan_key" description:"通道编号"`
|
|
ChanName string `json:"chanName" orm:"chan_name" description:"通道名称"`
|
|
ChanConfig string `json:"chanConfig" orm:"chan_config" description:"通道配置"`
|
|
ChanStatus int `json:"chanStatus" orm:"chan_status" description:"通道状态(0启用,1停用, 2未申请, 3申请中, 4接口信息不全)"`
|
|
ShareEnabled int `json:"shareEnabled" orm:"share_enabled" description:"是否开放共享Token(0否,1是)"`
|
|
IsNormal int `json:"isNormal" orm:"is_normal" description:"是否正常(0是,1否)"`
|
|
DockingStatus int `json:"dockingStatus" orm:"docking_status" description:"对接信息(0接口信息不全,1接口申请中,2不需要对接,3已对接,4未申请,5接口订阅不全)"`
|
|
ChanAlias string `json:"chanAlias" orm:"chan_alias" description:"通道别名"`
|
|
RegionCode string `json:"regionCode" orm:"region_code" description:"通道行政区域代码(省市)"`
|
|
AppKey string `json:"appKey" orm:"app_key" description:"应用标识"`
|
|
AppSecret string `json:"appSecret" orm:"app_secret" description:"应用密钥"`
|
|
AccessToken string `json:"accessToken" orm:"access_token" description:"接口调用凭证"`
|
|
AccessTokenCreated *gtime.Time `json:"accessTokenCreated" orm:"access_token_created" description:"凭证申请时间"`
|
|
AccessTokenExpire *gtime.Time `json:"accessTokenExpire" orm:"access_token_expire" description:"凭证过期时间"`
|
|
RefreshToken string `json:"refreshToken" orm:"refresh_token" description:"刷新凭证"`
|
|
LoginUser string `json:"loginUser" orm:"login_user" description:"登录账号"`
|
|
LoginPassword string `json:"loginPassword" orm:"login_password" description:"登录密码"`
|
|
LoginUrl string `json:"loginUrl" orm:"login_url" description:"登录地址"`
|
|
Remark string `json:"remark" orm:"remark" description:"备注"`
|
|
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
|
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
|
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
|
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
|
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
|
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
|
StockCardCount int64 `json:"stockCardCount" orm:"stock_card_count" description:"库存卡数量"`
|
|
CardInfoCount int64 `json:"cardInfoCount" orm:"card_info_count" description:"卡信息数量"`
|
|
CancellationCardCount int64 `json:"cancellationCardCount" orm:"cancellation_card_count" description:"销户卡数量"`
|
|
}
|