metatext/DB/Sources/DB/Content/LoadMoreRecord.swift
Justin Mazzocchi 66e7b01282
Refactoring
2020-10-13 17:28:27 -07:00

20 lines
560 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(LoadMoreRecord.CodingKeys.timelineId)
static let afterStatusId = Column(LoadMoreRecord.CodingKeys.afterStatusId)
static let beforeStatusId = Column(LoadMoreRecord.CodingKeys.beforeStatusId)
}
}