42 lines
1.8 KiB
Go
42 lines
1.8 KiB
Go
// ==========================================================================
|
||
// 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"`
|
||
}
|