Files
iotlcm/internal/model/entity/t_customer.go
T
MiFaZhan 82466d587d chore: 初始开源发布
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
2026-10-22 16:08:08 +08:00

34 lines
2.6 KiB
Go

// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// TCustomer is the golang structure for table t_customer.
type TCustomer struct {
Id int64 `json:"id" orm:"id" description:"ID"`
CKey string `json:"cKey" orm:"c_key" description:"客户编号"`
CType int `json:"cType" orm:"c_type" description:"客户类型(0:企业,1:个人)"`
CName string `json:"cName" orm:"c_name" description:"客户名称"`
CShortName string `json:"cShortName" orm:"c_short_name" description:"客户简称"`
ContactUserName string `json:"contactUserName" orm:"contact_user_name" description:"联系人"`
ContactPhone string `json:"contactPhone" orm:"contact_phone" description:"联系电话"`
LicenseNumber string `json:"licenseNumber" orm:"license_number" description:"统一社会信用代码"`
RegionCode string `json:"regionCode" orm:"region_code" description:"行政区域代码"`
Address string `json:"address" orm:"address" description:"地址"`
DepositAmount float64 `json:"depositAmount" orm:"deposit_amount" description:"预存金额"`
CreditAmountTotal float64 `json:"creditAmountTotal" orm:"credit_amount_total" description:"已授信额度"`
CreditAmountUsed float64 `json:"creditAmountUsed" orm:"credit_amount_used" 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:"更新时间"`
}