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"` Video string `json:"video"` VideoHeight uint16 `json:"videoHeight"` VideoWidth uint16 `json:"videoWidth"` Thumbnail string `json:"thumbnail"` Description string `json:"description"` AuthorName string `json:"authorName"` AuthorImage string `json:"authorImage"` } type DiscordQueueDto struct { //CreatedAt time.Time `json:"createdAt"` //UpdatedAt time.Time `json:"updatedAt"` ID int64 `json:"id"` ArticleId int64 `json:"articleId"` SourceId int64 `json:"sourceId"` } type DiscordWebHookDto struct { //CreatedAt time.Time `json:"CreatedAt"` //UpdatedAt time.Time `json:"UpdatedAt"` //DeletedAt time.Time `json:"DeletedAt"` ID uint `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 { //CreatedAt time.Time `json:"CreatedAt"` //UpdatedAt time.Time `json:"UpdatedAt"` //DeletedAt time.Time `json:"DeletedAt"` ID int64 `json:"id"` FileName string `json:"fileName"` Site string `json:"site"` } type SettingDto struct { //CreatedAt time.Time `json:"CreatedAt"` //UpdatedAt time.Time `json:"UpdatedAt"` //DeletedAt time.Time `json:"DeletedAt"` ID int64 `json:"id"` Key string `json:"key"` Value string `json:"value"` Options string `json:"options"` } type SubscriptionDto struct { //CreatedAt time.Time `json:"CreatedAt"` //UpdatedAt time.Time `json:"UpdatedAt"` //DeletedAt time.Time `json:"DeletedAt"` 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 { //CreatedAt time.Time `json:"CreatedAt"` //UpdatedAt time.Time `json:"UpdatedAt"` //DeletedAt time.Time `json:"DeletedAt"` ID int64 `json:"id"` Site string `json:"site"` Name string `json:"name"` Source string `json:"source"` Type string `json:"type"` Value string `json:"value"` Enabled bool `json:"enabled"` Url string `json:"url"` Tags string `json:"tags"` }