package fetched_file

import (
	"time"
)

// FetchedFile represents a file stored in PocketBase associated with a link.
type FetchedFile struct {
	ID      string    `json:"id" db:"id"`
	LinkID  string    `json:"link" db:"link"`         // Relation to links collection
	File    string    `json:"file" db:"file"`         // PocketBase file field (filename)
	Created time.Time `json:"created" db:"created"`
	Updated time.Time `json:"updated" db:"updated"`
}
