Files
weatherapi/internal/adapters/outbound/postgres/weatherstories_rows.go
Eric Rakestraw ecea856e8e
All checks were successful
ci/woodpecker/push/build-image Pipeline was successful
Implemented weather stories support
2026-05-30 07:06:29 -05:00

29 lines
581 B
Go

// weatherstories_rows.go defines row DTOs for weather story reads.
// Layer: adapters/outbound/postgres weather stories feature.
package postgres
import (
"database/sql"
"time"
)
type weatherStoryRunParentRow struct {
EventID string
OfficeID sql.NullString
AsOf time.Time
}
type weatherStoryRow struct {
StoryIndex int
OfficeID sql.NullString
StartTime time.Time
EndTime time.Time
UpdatedAt time.Time
Title sql.NullString
Description sql.NullString
AltText sql.NullString
Priority bool
StoryOrder int
DownloadURL sql.NullString
}