summaryrefslogtreecommitdiff
path: root/lisp/sql/education.lisp
blob: 45ee2c8fc96a480eb99abfd2b73874d45fbd12ca (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
34
35
36
;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
(declaim (optimize (speed 0) (safety 3) (debug 3)))

(in-package :resume)

(defclass education (postgres-record)
  ((id :initarg :id
       :initform nil
       :accessor id)
   (user_id :initarg :user_id
            :initform nil
            :accessor user_id)
   (school :initarg :school
           :initform nil
           :accessor school)
   (start_date :initarg :start_date
               :initform nil
               :accessor start_date)
   (end_date :initarg :end_date
             :initform nil
             :accessor end_date)
   (major :initarg :major
          :initform nil
          :accessor major)
   (minor :initarg :minor
          :initform nil
          :accessor minor)
   (degree :initarg :degree
           :initform nil
           :accessor degree)
   (progress :initarg :progress
             :initform nil
             :accessor progress)
   (*table :initform "resume.education")
   (*where-expression :initform "id = ~a"))
  (:documentation "Holds the data for a resume.education record."))