aboutsummaryrefslogtreecommitdiff
path: root/foray/Models/PenguinItemModel.swift
diff options
context:
space:
mode:
Diffstat (limited to 'foray/Models/PenguinItemModel.swift')
-rw-r--r--foray/Models/PenguinItemModel.swift20
1 files changed, 20 insertions, 0 deletions
diff --git a/foray/Models/PenguinItemModel.swift b/foray/Models/PenguinItemModel.swift
new file mode 100644
index 0000000..c721b95
--- /dev/null
+++ b/foray/Models/PenguinItemModel.swift
@@ -0,0 +1,20 @@
+//
+// ForayItems.swift
+// foray
+//
+// Created by Nicholas Tay on 20/3/2022.
+//
+
+import Foundation
+
+enum PenguinItemType: String, Decodable {
+ case item
+ case quest
+}
+
+struct PenguinItemModel: Decodable {
+ let type: PenguinItemType
+ let releaseDate: Date
+ let id: String
+ let name: String
+}