Created
March 21, 2018 21:04
-
-
Save projectxcappe/20be6fba693c525c00fa710e5ffa5788 to your computer and use it in GitHub Desktop.
This file contains hidden or 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.venue_id == rhs.venue_id && | |
lhs.venue_tax_rate == rhs.venue_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 venue_id: Int | |
let venue_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 | |
let places:[Place] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment