metatext/DB/Sources/DB/Content/LoadMoreRecord.swift
Justin Mazzocchi 2020c69120
Cleanup
2020-11-12 16:13:09 -08:00

20 lines
515 B
Swift

// Copyright © 2020 Metabolist. All rights reserved.
import Foundation
import GRDB
import Mastodon
struct LoadMoreRecord: ContentDatabaseRecord, Hashable {
let timelineId: Timeline.Id
let afterStatusId: Status.Id
let beforeStatusId: Status.Id
}
extension LoadMoreRecord {
enum Columns {
static let timelineId = Column(CodingKeys.timelineId)
static let afterStatusId = Column(CodingKeys.afterStatusId)
static let beforeStatusId = Column(CodingKeys.beforeStatusId)
}
}