Files
iotlcm/server/internal/model/entity/t_category.go
T
MiFaZhan 2ed5dfa6a1 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 在源仓同一提交上同样失败,属既有缺陷。
2026-10-26 14:01:25 +08:00

35 lines
2.6 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// TCategory is the golang structure for table t_category.
type TCategory struct {
CategoryId int64 `json:"categoryId" orm:"category_id" description:"分类ID"`
CategoryName string `json:"categoryName" orm:"category_name" description:"分类名称"`
ShortName string `json:"shortName" orm:"short_name" description:"分类短名"`
Level int `json:"level" orm:"level" description:"层级深度:1-一级 2-二级 3-三级..."`
Keywords string `json:"keywords" orm:"keywords" description:"分类关键字(搜索用)"`
SearchKeywords string `json:"searchKeywords" orm:"search_keywords" description:"搜索关键字"`
CategoryDesc string `json:"categoryDesc" orm:"category_desc" description:"分类描述"`
ParentId int64 `json:"parentId" orm:"parent_id" description:"父分类ID(0=顶级分类)"`
SortOrder uint `json:"sortOrder" orm:"sort_order" description:"排序序号(数字越大越靠后)"`
MeasureUnit string `json:"measureUnit" orm:"measure_unit" description:"计量单位"`
IsShow uint `json:"isShow" orm:"is_show" description:"是否前台显示 枚举"`
IsHot uint `json:"isHot" orm:"is_hot" description:"是否热门 枚举:yesno_enum"`
SeoTitle string `json:"seoTitle" orm:"seo_title" description:"SEO标题"`
CategoryPic string `json:"categoryPic" orm:"category_pic" description:"分类图片"`
CategoryIco string `json:"categoryIco" orm:"category_ico" description:"分类图标"`
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门ID"`
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者ID"`
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者ID"`
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
}