28 lines
574 B
Swift
28 lines
574 B
Swift
import Foundation
|
|
|
|
public struct Location: Codable, Equatable, Sendable {
|
|
|
|
public let city: String
|
|
public let state: String
|
|
public let zipCode: String
|
|
public let stateCode: String
|
|
public let county: String
|
|
public let coordinates: Coordinates
|
|
|
|
public init(
|
|
city: String,
|
|
state: String,
|
|
stateCode: String,
|
|
zipCode: String,
|
|
county: String,
|
|
coordinates: Coordinates
|
|
) {
|
|
self.city = city
|
|
self.zipCode = zipCode
|
|
self.state = state
|
|
self.stateCode = stateCode
|
|
self.county = county
|
|
self.coordinates = coordinates
|
|
}
|
|
}
|