summaryrefslogtreecommitdiff
path: root/lisp/sql/states.lisp
blob: 7968c1657c4df774b261d7fc51592eb2f3819f1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
(declaim (optimize (speed 0) (safety 3) (debug 3)))

(in-package :resume)

(defclass states (postgres-record)
  ((id :initarg :id
       :initform nil
       :accessor id)
   (state :initarg :state
          :initform nil
          :accessor state)
   (abbr :initarg :abbr
         :initform nil
         :accessor abbr)
   (*table :initform "resume.states")
   (*where-expression :initform "id = ~a"))
  (:documentation "Holds the data for a resume.states record."))