From f6cc0a3d93075a7c80113e84a07773155138b939 Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Sat, 27 Apr 2024 07:44:20 -0700 Subject: [PATCH] entity updated to reflect table --- internal/domain/entity.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/internal/domain/entity.go b/internal/domain/entity.go index ab8ddcc..80ce64b 100644 --- a/internal/domain/entity.go +++ b/internal/domain/entity.go @@ -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 {