mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-09-18 17:26:40 +08:00
31 lines
1.8 KiB
Go
31 lines
1.8 KiB
Go
// =================================================================================
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|
// =================================================================================
|
|
|
|
package entity
|
|
|
|
import (
|
|
"github.com/gogf/gf/v2/os/gtime"
|
|
)
|
|
|
|
// SysAttachment is the golang structure for table sys_attachment.
|
|
type SysAttachment struct {
|
|
Id int64 `json:"id" orm:"id" description:"文件ID"`
|
|
AppId string `json:"appId" orm:"app_id" description:"应用ID"`
|
|
MemberId int64 `json:"memberId" orm:"member_id" description:"管理员ID"`
|
|
CateId uint64 `json:"cateId" orm:"cate_id" description:"上传分类"`
|
|
Drive string `json:"drive" orm:"drive" description:"上传驱动"`
|
|
Name string `json:"name" orm:"name" description:"文件原始名"`
|
|
Kind string `json:"kind" orm:"kind" description:"上传类型"`
|
|
MimeType string `json:"mimeType" orm:"mime_type" description:"扩展类型"`
|
|
NaiveType string `json:"naiveType" orm:"naive_type" description:"NaiveUI类型"`
|
|
Path string `json:"path" orm:"path" description:"本地路径"`
|
|
FileUrl string `json:"fileUrl" orm:"file_url" description:"url"`
|
|
Size int64 `json:"size" orm:"size" description:"文件大小"`
|
|
Ext string `json:"ext" orm:"ext" description:"扩展名"`
|
|
Md5 string `json:"md5" orm:"md5" description:"md5校验码"`
|
|
Status int `json:"status" orm:"status" description:"状态"`
|
|
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
|
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"修改时间"`
|
|
}
|