entity updated to reflect table

This commit is contained in:
James Tombleson 2024-04-27 07:44:20 -07:00
parent ba33d18525
commit f6cc0a3d93
1 changed files with 8 additions and 7 deletions

View File

@ -7,13 +7,14 @@ import (
type ArticleEntity struct {
ID int64
CreatedAt time.Time
LastUpdated time.Time
UpdatedAt time.Time
DeletedAt time.Time
SourceID int64
Tags string
Title string
Url string
PubDate time.Time
IsVideo bool
Thumbnail string
Description string
AuthorName string
@ -21,12 +22,12 @@ type ArticleEntity struct {
}
type DiscordQueueEntity struct {
ID int64
CreatedAt time.Time
LastUpdated time.Time
DeletedAt time.Time
ArticleId int64
SourceId int64
ID int64
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt time.Time
ArticleId int64
SourceId int64
}
type DiscordWebHookEntity struct {