Implemented the weather forecast discussion product from weatherfeeder v0.8.3
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/discussion_rows.go
Normal file
28
internal/adapters/outbound/postgres/discussion_rows.go
Normal file
@@ -0,0 +1,28 @@
|
||||
// discussion_rows.go defines row DTOs for forecast discussion reads.
|
||||
// Layer: adapters/outbound/postgres discussion feature.
|
||||
package postgres
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"time"
|
||||
)
|
||||
|
||||
type discussionParentRow struct {
|
||||
EventID string
|
||||
OfficeID sql.NullString
|
||||
OfficeName sql.NullString
|
||||
IssuedAt time.Time
|
||||
UpdatedAt sql.NullTime
|
||||
Product string
|
||||
ShortTermQualifier sql.NullString
|
||||
ShortTermIssuedAt sql.NullTime
|
||||
ShortTermText sql.NullString
|
||||
LongTermQualifier sql.NullString
|
||||
LongTermIssuedAt sql.NullTime
|
||||
LongTermText sql.NullString
|
||||
}
|
||||
|
||||
type discussionKeyMessageRow struct {
|
||||
MessageIndex int
|
||||
MessageText sql.NullString
|
||||
}
|
||||
Reference in New Issue
Block a user