All checks were successful
ci/woodpecker/push/build-image Pipeline was successful
29 lines
581 B
Go
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
|
|
}
|