Bug 32257: Label for patron attributes misaligned
[koha-ffzg.git] / Koha / Schema / Result / Systempreference.pm
1 use utf8;
2 package Koha::Schema::Result::Systempreference;
3
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6
7 =head1 NAME
8
9 Koha::Schema::Result::Systempreference
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<systempreferences>
19
20 =cut
21
22 __PACKAGE__->table("systempreferences");
23
24 =head1 ACCESSORS
25
26 =head2 variable
27
28   data_type: 'varchar'
29   default_value: (empty string)
30   is_nullable: 0
31   size: 50
32
33 system preference name
34
35 =head2 value
36
37   data_type: 'mediumtext'
38   is_nullable: 1
39
40 system preference values
41
42 =head2 options
43
44   data_type: 'longtext'
45   is_nullable: 1
46
47 options for multiple choice system preferences
48
49 =head2 explanation
50
51   data_type: 'mediumtext'
52   is_nullable: 1
53
54 descriptive text for the system preference
55
56 =head2 type
57
58   data_type: 'varchar'
59   is_nullable: 1
60   size: 20
61
62 type of question this preference asks (multiple choice, plain text, yes or no, etc)
63
64 =cut
65
66 __PACKAGE__->add_columns(
67   "variable",
68   { data_type => "varchar", default_value => "", is_nullable => 0, size => 50 },
69   "value",
70   { data_type => "mediumtext", is_nullable => 1 },
71   "options",
72   { data_type => "longtext", is_nullable => 1 },
73   "explanation",
74   { data_type => "mediumtext", is_nullable => 1 },
75   "type",
76   { data_type => "varchar", is_nullable => 1, size => 20 },
77 );
78
79 =head1 PRIMARY KEY
80
81 =over 4
82
83 =item * L</variable>
84
85 =back
86
87 =cut
88
89 __PACKAGE__->set_primary_key("variable");
90
91
92 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
93 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:d9V4/gPRw1ucbd/TzEzNUQ
94
95 sub koha_object_class {
96     'Koha::Config::SysPref';
97 }
98 sub koha_objects_class {
99     'Koha::Config::SysPrefs';
100 }
101
102 1;