Unverified Commit 399b7f59 authored by Zach Knox's avatar Zach Knox
Browse files

enum for days of the week

parent 3817e5c6
......@@ -6,6 +6,18 @@ import Foundation
// MARK: - Data Model
//
enum Day: Int {
case Monday = 0
case Tuesday = 1
case Wednesday = 2
case Thursday = 3
case Friday = 4
case Saturday = 5
case Sunday = 6
// Add functions here later if we need them
}
struct OpenTimes: CreatableFromJSON { // TODO: Rename this struct
let endDay: Int
let endTime: Date
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment