24 lines
755 B
Go
24 lines
755 B
Go
package response
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
type MediaLibraryItemResponse struct {
|
|
ID uint `json:"id"`
|
|
PublicURL string `json:"public_url"`
|
|
ObjectKey *string `json:"object_key"`
|
|
OriginalFilename *string `json:"original_filename"`
|
|
FileCategory string `json:"file_category"`
|
|
SizeBytes *int64 `json:"size_bytes"`
|
|
SourceType string `json:"source_type"`
|
|
SourceLabel *string `json:"source_label"`
|
|
ArticleFileID *uint `json:"article_file_id"`
|
|
CreatedByID int `json:"created_by_id"`
|
|
ClientID *uuid.UUID `json:"client_id"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
}
|