// ================================================================================= // 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:"更新时间"` }