github.com/SupenBysz/gf-admin-community@v0.7.4/sys_model/sys_do/sys_file.go (about) 1 // ================================================================================= 2 // Code generated by GoFrame CLI tool. DO NOT EDIT. 3 // ================================================================================= 4 5 package sys_do 6 7 import ( 8 "github.com/gogf/gf/v2/frame/g" 9 "github.com/gogf/gf/v2/os/gtime" 10 ) 11 12 // SysFile is the golang structure of table sys_file for DAO operations like Where/Data. 13 type SysFile struct { 14 g.Meta `orm:"table:sys_file, do:true"` 15 Id interface{} // 自增ID 16 Name interface{} // 文件名称 17 Src interface{} // 存储路径 18 Url interface{} // URL地址 19 Ext interface{} // 扩展名 20 Size interface{} // 文件大小 21 Category interface{} // 文件分类 22 UserId interface{} // 用户ID 23 UnionMainId interface{} // 关联主体ID 24 CreatedAt *gtime.Time // 25 UpdatedAt *gtime.Time // 26 LocalPath interface{} // 本地路径 27 }