2026-04-09 10:01:23 +08:00
|
|
|
package response
|
|
|
|
|
|
2026-08-21 00:41:07 +08:00
|
|
|
import "code.tczkiot.com/wlw/ai-agent/internal/pkg/enums"
|
2026-04-09 10:01:23 +08:00
|
|
|
|
|
|
|
|
type AssetResponse struct {
|
|
|
|
|
ID int64 `json:"id"`
|
2026-08-28 22:23:13 +08:00
|
|
|
AssetID string `json:"asset_id"`
|
2026-04-09 10:01:23 +08:00
|
|
|
Provider enums.AssetProvider `json:"provider"`
|
|
|
|
|
Filename string `json:"filename"`
|
2026-08-28 22:23:13 +08:00
|
|
|
FileSize int64 `json:"file_size"`
|
|
|
|
|
MimeType string `json:"mime_type"`
|
2026-04-09 10:01:23 +08:00
|
|
|
Status enums.AssetStatus `json:"status"`
|
2026-08-28 22:23:13 +08:00
|
|
|
StorageKey string `json:"storage_key"`
|
2026-04-09 10:01:23 +08:00
|
|
|
URL string `json:"url"`
|
2026-08-28 22:23:13 +08:00
|
|
|
CreatedAt string `json:"created_at"`
|
|
|
|
|
UpdatedAt string `json:"updated_at"`
|
|
|
|
|
CreateUserID int64 `json:"create_user_id"`
|
|
|
|
|
CreateUserName string `json:"create_user_name"`
|
|
|
|
|
UpdateUserID int64 `json:"update_user_id"`
|
|
|
|
|
UpdateUserName string `json:"update_user_name"`
|
2026-04-09 10:01:23 +08:00
|
|
|
}
|