entity updated to reflect table

This commit is contained in:
James Tombleson 2024-04-27 07:44:20 -07:00
parent ba33d18525
commit f6cc0a3d93

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
@ -23,7 +24,7 @@ type ArticleEntity struct {
type DiscordQueueEntity struct {
ID int64
CreatedAt time.Time
LastUpdated time.Time
UpdatedAt time.Time
DeletedAt time.Time
ArticleId int64
SourceId int64