import Foundation struct Show: Identifiable, Codable, Hashable { let id: Int let name: String let overview: String let network: String? let firstAirDate: Date? let posterPath: String? let rating: Double? let episodeCount: Int let seasonCount: Int let status: String let tags: [String] init( id: Int, name: String, overview: String, network: String? = nil, firstAirDate: Date? = nil, posterPath: String? = nil, rating: Double? = nil, episodeCount: Int = 0, seasonCount: Int = 0, status: String = "", tags: [String] = [] ) { self.id = id self.name = name self.overview = overview self.network = network self.firstAirDate = firstAirDate self.posterPath = posterPath self.rating = rating self.episodeCount = episodeCount self.seasonCount = seasonCount self.status = status self.tags = tags } }