Files

25 lines
1.3 KiB
Go
Raw Permalink Normal View History

2025-08-03 00:11:15 +08:00
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// Attachment is the golang structure for table nl_attachment.
type Attachment struct {
Id uint `json:"id" orm:"id" description:"附件ID"`
Name string `json:"name" orm:"name" description:"文件名"`
Path string `json:"path" orm:"path" description:"文件路径"`
Url string `json:"url" orm:"url" description:"访问URL"`
Size int64 `json:"size" orm:"size" description:"文件大小(字节)"`
MimeType string `json:"mime_type" orm:"mime_type" description:"文件类型"`
Extension string `json:"extension" orm:"extension" description:"文件扩展名"`
UserId int `json:"user_id" orm:"user_id" description:"上传用户ID"`
Status int `json:"status" orm:"status" description:"状态0禁用1启用"`
CreatedAt *gtime.Time `json:"created_at" orm:"created_at" description:"创建时间"`
UpdatedAt *gtime.Time `json:"updated_at" orm:"updated_at" description:"更新时间"`
}