package model import ( "github.com/mxpv/podsync/pkg/api" "time" ) type Pledge struct { PledgeID int64 `sql:",pk"` PatronID int64 CreatedAt time.Time DeclinedSince time.Time AmountCents int TotalHistoricalAmountCents int OutstandingPaymentAmountCents int IsPaused bool } type Feed struct { FeedID int64 `sql:",pk"` HashID string // Short human readable feed id for users UserID string // Patreon user id ItemID string LinkType api.LinkType // Either group, channel or user Provider api.Provider // Youtube or Vimeo PageSize int // The number of episodes to return Format api.Format Quality api.Quality FeatureLevel int CreatedAt time.Time LastAccess time.Time // Available features }