Created
March 22, 2018 14:27
-
-
Save projectxcappe/865689ddb5e7fcd9877d3f7206952bb4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Venue: Codable, Equatable { | |
static func ==(lhs: Venue, rhs: Venue) -> Bool { | |
return | |
lhs.longitude == rhs.longitude && | |
lhs.latitude == rhs.latitude && | |
lhs.id == rhs.id && | |
lhs.tax_rate == rhs.tax_rate && | |
lhs.name == rhs.name && | |
lhs.places_count == rhs.places_count && | |
lhs.address == rhs.address && | |
lhs.close_time == rhs.close_time && | |
lhs.open_time == rhs.open_time && | |
lhs.phone_number == rhs.phone_number | |
// lhs.image == rhs.image && | |
// lhs.venue_map == rhs.venue_map | |
} | |
let longitude: Double | |
let latitude: Double | |
let id: Int | |
let tax_rate: Double | |
let name: String | |
let places_count: Int | |
let address: String | |
let close_time: String | |
let open_time: String | |
let phone_number: String | |
// let image: URL | |
// let venue_map: URL | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment