Line 0
Link Here
|
0 |
- |
1 |
use utf8; |
|
|
2 |
package Koha::Schema::Result::SearchFilter; |
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::SearchFilter |
10 |
|
11 |
=cut |
12 |
|
13 |
use strict; |
14 |
use warnings; |
15 |
|
16 |
use base 'DBIx::Class::Core'; |
17 |
|
18 |
=head1 TABLE: C<search_filters> |
19 |
|
20 |
=cut |
21 |
|
22 |
__PACKAGE__->table("search_filters"); |
23 |
|
24 |
=head1 ACCESSORS |
25 |
|
26 |
=head2 id |
27 |
|
28 |
data_type: 'integer' |
29 |
is_auto_increment: 1 |
30 |
is_nullable: 0 |
31 |
|
32 |
=head2 name |
33 |
|
34 |
data_type: 'varchar' |
35 |
is_nullable: 0 |
36 |
size: 255 |
37 |
|
38 |
=head2 query |
39 |
|
40 |
data_type: 'mediumtext' |
41 |
is_nullable: 1 |
42 |
|
43 |
=head2 limits |
44 |
|
45 |
data_type: 'mediumtext' |
46 |
is_nullable: 1 |
47 |
|
48 |
=head2 opac |
49 |
|
50 |
data_type: 'tinyint' |
51 |
default_value: 0 |
52 |
is_nullable: 0 |
53 |
|
54 |
whether this filter is shown on OPAC |
55 |
|
56 |
=head2 staff_client |
57 |
|
58 |
data_type: 'tinyint' |
59 |
default_value: 0 |
60 |
is_nullable: 0 |
61 |
|
62 |
whether this filter is shown in staff client |
63 |
|
64 |
=cut |
65 |
|
66 |
__PACKAGE__->add_columns( |
67 |
"id", |
68 |
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, |
69 |
"name", |
70 |
{ data_type => "varchar", is_nullable => 0, size => 255 }, |
71 |
"query", |
72 |
{ data_type => "mediumtext", is_nullable => 1 }, |
73 |
"limits", |
74 |
{ data_type => "mediumtext", is_nullable => 1 }, |
75 |
"opac", |
76 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
77 |
"staff_client", |
78 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
79 |
); |
80 |
|
81 |
=head1 PRIMARY KEY |
82 |
|
83 |
=over 4 |
84 |
|
85 |
=item * L</id> |
86 |
|
87 |
=back |
88 |
|
89 |
=cut |
90 |
|
91 |
__PACKAGE__->set_primary_key("id"); |
92 |
|
93 |
|
94 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-04-07 10:58:32 |
95 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QrBHiG/67sgZ5TLSvy731g |
96 |
|
97 |
|
98 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
99 |
1; |