14 lines
353 B
Swift
14 lines
353 B
Swift
import Foundation
|
|
import GRDB
|
|
|
|
public struct DomainGroup: Decodable, FetchableRecord, Identifiable, Hashable, Sendable {
|
|
public var id: String { domain }
|
|
public var domain: String
|
|
public var requestCount: Int
|
|
|
|
public init(domain: String, requestCount: Int) {
|
|
self.domain = domain
|
|
self.requestCount = requestCount
|
|
}
|
|
}
|