Bug 32257: Label for patron attributes misaligned
[koha-ffzg.git] / Koha / Schema / Result / MarcOverlayRule.pm
1 use utf8;
2 package Koha::Schema::Result::MarcOverlayRule;
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::MarcOverlayRule
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<marc_overlay_rules>
19
20 =cut
21
22 __PACKAGE__->table("marc_overlay_rules");
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 tag
33
34   data_type: 'varchar'
35   is_nullable: 0
36   size: 255
37
38 =head2 module
39
40   data_type: 'varchar'
41   is_nullable: 0
42   size: 127
43
44 =head2 filter
45
46   data_type: 'varchar'
47   is_nullable: 0
48   size: 255
49
50 =head2 add
51
52   data_type: 'tinyint'
53   default_value: 0
54   is_nullable: 0
55
56 =head2 append
57
58   data_type: 'tinyint'
59   default_value: 0
60   is_nullable: 0
61
62 =head2 remove
63
64   data_type: 'tinyint'
65   default_value: 0
66   is_nullable: 0
67
68 =head2 delete
69
70   accessor: undef
71   data_type: 'tinyint'
72   default_value: 0
73   is_nullable: 0
74
75 =cut
76
77 __PACKAGE__->add_columns(
78   "id",
79   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
80   "tag",
81   { data_type => "varchar", is_nullable => 0, size => 255 },
82   "module",
83   { data_type => "varchar", is_nullable => 0, size => 127 },
84   "filter",
85   { data_type => "varchar", is_nullable => 0, size => 255 },
86   "add",
87   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
88   "append",
89   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
90   "remove",
91   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
92   "delete",
93   {
94     accessor      => undef,
95     data_type     => "tinyint",
96     default_value => 0,
97     is_nullable   => 0,
98   },
99 );
100
101 =head1 PRIMARY KEY
102
103 =over 4
104
105 =item * L</id>
106
107 =back
108
109 =cut
110
111 __PACKAGE__->set_primary_key("id");
112
113
114 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-10-26 13:45:44
115 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fA/OqudFcHff0itNGDnjZw
116
117 __PACKAGE__->add_columns(
118     '+add'    => { is_boolean => 1 },
119     '+append' => { is_boolean => 1 },
120     '+remove' => { is_boolean => 1 },
121     '+delete' => { is_boolean => 1 }
122 );
123
124 1;