package domain import ( "time" ) type ArticleEntity struct { ID int64 CreatedAt time.Time LastUpdated time.Time DeletedAt time.Time SourceID int64 Tags string Title string Url string PubDate time.Time Thumbnail string Description string AuthorName string AuthorImageUrl string } type DiscordQueueEntity struct { ID int64 CreatedAt time.Time LastUpdated time.Time DeletedAt time.Time ArticleId int64 SourceId int64 } type DiscordWebHookEntity struct { ID int64 CreatedAt time.Time UpdatedAt time.Time DeletedAt time.Time Name string Key string Url string Server string Channel string Enabled bool } type IconEntity struct { ID int64 CreatedAt time.Time UpdatedAt time.Time DeletedAt time.Time FileName string Site string } type SettingEntity struct { ID int64 CreatedAt time.Time UpdatedAt time.Time DeletedAt time.Time Key string Value string Options string } type SourceEntity struct { ID int64 CreatedAt time.Time UpdatedAt time.Time DeletedAt time.Time Site string Name string Source string Type string Value string Enabled bool Url string Tags string } type SubscriptionEntity struct { ID int64 CreatedAt time.Time UpdatedAt time.Time DeletedAt time.Time SourceID int64 SourceType string SourceName string DiscordID int64 DiscordName string } type UserEntity struct { ID int64 CreatedAt time.Time UpdatedAt time.Time DeletedAt time.Time Username string Hash string Scopes string } type RefreshTokenEntity struct { ID int64 CreatedAt time.Time UpdatedAt time.Time DeletedAt time.Time Username string Token string }