Implemented weather stories support
All checks were successful
ci/woodpecker/push/build-image Pipeline was successful
All checks were successful
ci/woodpecker/push/build-image Pipeline was successful
This commit is contained in:
28
internal/adapters/outbound/postgres/weatherstories_rows.go
Normal file
28
internal/adapters/outbound/postgres/weatherstories_rows.go
Normal file
@@ -0,0 +1,28 @@
|
||||
// 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
|
||||
}
|
||||
Reference in New Issue
Block a user