3 Star 2 Fork 1

fotomxq/weeekj_core

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
fields_component.go 1.14 KB
一键复制 编辑 原始数据 按行查看 历史
fotomxq 提交于 2025-02-05 18:52 +08:00 . 修改项目路径;
package BaseStyle
import (
CoreSQLConfig "gitee.com/fotomxq/weeekj_core/v5/core/sql/config"
"github.com/lib/pq"
"time"
)
// FieldsComponent 组件
// 按照顺序被样式主表定义引用
// 样式需要被申明
type FieldsComponent struct {
//ID
ID int64 `db:"id" json:"id"`
//创建时间
CreateAt time.Time `db:"create_at" json:"createAt"`
//更新时间
UpdateAt time.Time `db:"update_at" json:"updateAt"`
//删除时间
DeleteAt time.Time `db:"delete_at" json:"deleteAt"`
//关联标识码
// 必填
// 页面内独特的代码片段,声明后可直接定义该组件的默认参数形式
Mark string `db:"mark" json:"mark"`
//组件名称
Name string `db:"name" json:"name"`
//组件介绍
Des string `db:"des" json:"des"`
//组件封面
CoverFileID int64 `db:"cover_file_id" json:"coverFileID"`
//组件描述文件组
DesFiles pq.Int64Array `db:"des_files" json:"desFiles"`
//分类ID
SortID int64 `db:"sort_id" json:"sortID"`
//标签组
Tags pq.Int64Array `db:"tags" json:"tags"`
//附加参数
// 布局相关的自定会参数,都将在此处定义
Params CoreSQLConfig.FieldsConfigsType `db:"params" json:"params"`
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/fotomxq/weeekj_core.git
git@gitee.com:fotomxq/weeekj_core.git
fotomxq
weeekj_core
weeekj_core
v5.4.29

搜索帮助