package domain import "time" type ArticleDto struct { ID int64 `json:"id"` SourceID int64 `json:"sourceId"` Tags string `json:"tags"` Title string `json:"title"` Url string `json:"url"` PubDate time.Time `json:"pubDate"` IsVideo bool `json:"isVideo"` Thumbnail string `json:"thumbnail"` Description string `json:"description"` AuthorName string `json:"authorName"` AuthorImageUrl string `json:"authorImage"` } type DiscordQueueDto struct { ID int64 `json:"id"` ArticleId int64 `json:"articleId"` SourceId int64 `json:"sourceId"` } type DiscordWebHookDto struct { ID int64 `json:"id"` //Name string `json:"name"` //Key string `json:"key"` Url string `json:"url"` Server string `json:"server"` Channel string `json:"channel"` Enabled bool `json:"enabled"` } type IconDto struct { ID int64 `json:"id"` FileName string `json:"fileName"` Site string `json:"site"` } type SettingDto struct { ID int64 `json:"id"` Key string `json:"key"` Value string `json:"value"` Options string `json:"options"` } type SubscriptionDto struct { ID int64 `json:"id"` SourceID int64 `json:"sourceId"` SourceType string `json:"sourceType"` SourceName string `json:"sourceName"` DiscordID int64 `json:"discordId"` DiscordName string `json:"discordName"` } type SourceDto struct { ID int64 `json:"id"` Source string `json:"source"` DisplayName string `json:"name"` Url string `json:"url"` Tags string `json:"tags"` Enabled bool `json:"enabled"` }