summaryrefslogtreecommitdiff
path: root/lisp/sql/role-group.lisp
blob: 396acdc45cfc4b849b5c7e07021ced2bd6da42d9 (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
;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
(declaim (optimize (speed 0) (safety 3) (debug 3)))

(in-package :bogenherr)

(defclass role-group (postgres-record)
  ((user_role_group_id :initarg :user_role_group_id
                       :initform nil
                       :accessor user_role_group_id)
   (user_id :initarg :user_id
            :initform nil
            :accessor user_id)
   (role_group_id :initarg :role_group_id
                  :initform nil
                  :accessor role_group_id)
   (name :initarg :name
         :initform nil
         :accessor name)
   (description :initarg :description
                :initform nil
                :accessor description)
   (*table :initform "auth.get_all_role_groups_for_user(~a)")
   (*where-expression :initform nil))
  (:documentation "Holds the data for an auth.role_group_t type."))