github.com/SupenBysz/gf-admin-community@v0.7.4/sys_model/sys_entity/sys_file.go (about) 1 // ================================================================================= 2 // Code generated by GoFrame CLI tool. DO NOT EDIT. 3 // ================================================================================= 4 5 package sys_entity 6 7 import ( 8 "github.com/gogf/gf/v2/os/gtime" 9 ) 10 11 // SysFile is the golang structure for table sys_file. 12 type SysFile struct { 13 Id int64 `json:"id" description:"自增ID"` 14 Name string `json:"name" description:"文件名称"` 15 Src string `json:"src" description:"存储路径"` 16 Url string `json:"url" description:"URL地址"` 17 Ext string `json:"ext" description:"扩展名"` 18 Size int64 `json:"size" description:"文件大小"` 19 Category string `json:"category" description:"文件分类"` 20 UserId int64 `json:"userId" description:"用户ID"` 21 UnionMainId int64 `json:"unionMainId" description:"关联主体ID"` 22 CreatedAt *gtime.Time `json:"createdAt" description:""` 23 UpdatedAt *gtime.Time `json:"updatedAt" description:""` 24 LocalPath string `json:"localPath" description:"本地路径"` 25 }