Bug 23152: Implement koha_object[s]_class when needed
[koha-equinox.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 =head2 value
34
35   data_type: 'mediumtext'
36   is_nullable: 1
37
38 =head2 options
39
40   data_type: 'longtext'
41   is_nullable: 1
42
43 =head2 explanation
44
45   data_type: 'mediumtext'
46   is_nullable: 1
47
48 =head2 type
49
50   data_type: 'varchar'
51   is_nullable: 1
52   size: 20
53
54 =cut
55
56 __PACKAGE__->add_columns(
57   "variable",
58   { data_type => "varchar", default_value => "", is_nullable => 0, size => 50 },
59   "value",
60   { data_type => "mediumtext", is_nullable => 1 },
61   "options",
62   { data_type => "longtext", is_nullable => 1 },
63   "explanation",
64   { data_type => "mediumtext", is_nullable => 1 },
65   "type",
66   { data_type => "varchar", is_nullable => 1, size => 20 },
67 );
68
69 =head1 PRIMARY KEY
70
71 =over 4
72
73 =item * L</variable>
74
75 =back
76
77 =cut
78
79 __PACKAGE__->set_primary_key("variable");
80
81
82 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
83 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QI7OL4VHrXe8FridIOCZ4A
84
85 sub koha_object_class {
86     'Koha::Config::SysPref';
87 }
88 sub koha_objects_class {
89     'Koha::Config::SysPrefs';
90 }
91
92 1;