mirror of
https://github.com/metabolist/metatext.git
synced 2024-06-02 13:01:21 +00:00
21 lines
521 B
Swift
21 lines
521 B
Swift
// Copyright © 2020 Metabolist. All rights reserved.
|
|
|
|
import Foundation
|
|
import GRDB
|
|
|
|
public struct EmojiUse: ContentDatabaseRecord, Hashable {
|
|
public let emoji: String
|
|
public let system: Bool
|
|
public let lastUse: Date
|
|
public let count: Int
|
|
}
|
|
|
|
extension EmojiUse {
|
|
enum Columns {
|
|
static let emoji = Column(CodingKeys.emoji)
|
|
static let system = Column(CodingKeys.system)
|
|
static let lastUse = Column(CodingKeys.lastUse)
|
|
static let count = Column(CodingKeys.count)
|
|
}
|
|
}
|