summaryrefslogtreecommitdiff
path: root/model.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'model.lisp')
-rw-r--r--model.lisp11
1 files changed, 11 insertions, 0 deletions
diff --git a/model.lisp b/model.lisp
new file mode 100644
index 0000000..4c13185
--- /dev/null
+++ b/model.lisp
@@ -0,0 +1,11 @@
+;;;; model.lisp
+
+(defclass game ()
+ ((name :initarg :name :reader name)
+ (rating :accessor rating)
+ (playtime :accessor playtime)
+ (icon-url :accessor icon-url)
+ (last-played :accessor last-played)))
+
+(defclass steam-game (game)
+ ((appid :initarg :appid :reader appid)))