Files
zmkgC/internal/app/system/model/bus_folder.go
2025-07-07 20:11:59 +08:00

42 lines
1.8 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.

// ==========================================================================
// GFast自动生成model操作代码。
// 生成日期2023-09-15 17:15:59
// 生成路径: internal/app/system/model/bus_folder.go
// 生成人gfast
// desc:文件夹
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// BusFolderInfoRes is the golang structure for table bus_folder.
type BusFolderInfoRes struct {
gmeta.Meta `orm:"table:bus_folder"`
Id int64 `orm:"id,primary" json:"id"` // 序号
Father int64 `orm:"father" json:"father"` // 大于0表示当前文件夹有父级
FolderType string `orm:"folder_type" json:"folderType"` // 文件夹类型
Icon string `orm:"icon" json:"icon"` // 文件夹图标
Name string `orm:"name" json:"name"` // 文件夹名称
Remark string `orm:"remark" json:"remark"` // 备注
CreateBy string `orm:"create_by" json:"createBy"` // 创建者
UpdateBy string `orm:"update_by" json:"updateBy"` // 更新者
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
}
type BusFolderListRes struct {
Id int64 `json:"id"`
FolderType string `json:"folderType"`
Icon string `json:"icon"`
Name string `json:"name"`
Remark string `json:"remark"`
CreatedAt *gtime.Time `json:"createdAt"`
QiePian []string `json:"qiePian"`
}