Jarian Cottingham 68eb4d9f43 feat: Add Rust UI and backend implementation with project infrastructure
Adds the new Rust-based UI (iced), backend service, shared Swift models,
CI/CD workflows, build scripts, and project documentation.
2026-08-19 21:22:08 -05:00

32 lines
749 B
Swift

import Foundation
struct Season: Identifiable, Codable, Hashable {
let id: Int
let showId: Int
let seasonNumber: Int
let name: String
let overview: String
let posterPath: String?
let episodeCount: Int
let airDate: Date?
init(
id: Int,
showId: Int,
seasonNumber: Int,
name: String,
overview: String,
posterPath: String? = nil,
episodeCount: Int = 0,
airDate: Date? = nil
) {
self.id = id
self.showId = showId
self.seasonNumber = seasonNumber
self.name = name
self.overview = overview
self.posterPath = posterPath
self.episodeCount = episodeCount
self.airDate = airDate
}
}