Files
2026-05-10 12:21:27 +08:00

22 lines
1.4 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
)
// SptAttachments is the golang structure for table spt_attachments.
type SptAttachments struct {
Id int64 `json:"id" orm:"id" description:"主键ID"` // 主键ID
TicketId int64 `json:"ticket_id" orm:"ticket_id" description:"工单ID"` // 工单ID
ReplyId int64 `json:"reply_id" orm:"reply_id" description:"回复ID(NULL表示工单创建时的附件)"` // 回复ID(NULL表示工单创建时的附件)
FileName string `json:"file_name" orm:"file_name" description:"文件名"` // 文件名
FileUrl string `json:"file_url" orm:"file_url" description:"文件访问地址"` // 文件访问地址
FileSize int `json:"file_size" orm:"file_size" description:"文件大小(字节)"` // 文件大小(字节)
ContentType string `json:"content_type" orm:"content_type" description:"文件MIME类型"` // 文件MIME类型
CreatedAt *gtime.Time `json:"created_at" orm:"created_at" description:"上传时间"` // 上传时间
}