summaryrefslogtreecommitdiff
path: root/lisp/sql/language.lisp
blob: 92f03a725769ce9e61447fdb423d3be216ffc512 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
(declaim (optimize (speed 0) (safety 3) (debug 3)))

(in-package :resume)

(defclass language (postgres-record)
  ((id :initarg :id
       :initform nil
       :accessor id)
   (user_id :initarg :user_id
            :initform nil
            :accessor user_id)
   (name :initarg :name
         :initform nil
         :accessor name)
   (understanding_listening :initarg :understanding_listening
                            :initform nil
                            :accessor understanding_listening)
   (understanding_reading :initarg :understanding_reading
                          :initform nil
                          :accessor understanding_reading)
   (speaking_interaction :initarg :speaking_interaction
                         :initform nil
                         :accessor speaking_interaction)
   (speaking_production :initarg :speaking_production
                        :initform nil
                        :accessor speaking_production)
   (writing :initarg :writing
            :initform nil
            :accessor writing)
   (*table :initform "resume.language")
   (*where-expression :initform "id = ~a"))
  (:documentation "Holds the data for a resume.language record."))