2 package Koha
::Schema
::Result
::Issuingrule
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Issuingrule
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<issuingrules>
22 __PACKAGE__
->table("issuingrules");
29 default_value: (empty string)
36 default_value: (empty string)
68 =head2 maxsuspensiondays
107 default_value: 'days'
114 datetime_undef_if_invalid: 1
117 =head2 hardduedatecompare
123 =head2 renewalsallowed
125 data_type: 'smallint'
134 =head2 norenewalbefore
145 =head2 reservesallowed
147 data_type: 'smallint'
154 default_value: (empty string)
158 =head2 overduefinescap
179 __PACKAGE__
->add_columns(
181 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 10 },
183 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 10 },
185 { data_type
=> "tinyint", is_nullable
=> 1 },
187 { data_type
=> "decimal", is_nullable
=> 1, size
=> [28, 6] },
189 { data_type
=> "decimal", is_nullable
=> 1, size
=> [28, 6] },
191 { data_type
=> "decimal", is_nullable
=> 1, size
=> [28, 6] },
193 { data_type
=> "integer", is_nullable
=> 1 },
195 { data_type
=> "integer", is_nullable
=> 1 },
197 { data_type
=> "integer", is_nullable
=> 1 },
199 { data_type
=> "integer", is_nullable
=> 1 },
201 { data_type
=> "integer", is_nullable
=> 1 },
203 { data_type
=> "varchar", is_nullable
=> 1, size
=> 100 },
205 { data_type
=> "integer", is_nullable
=> 1 },
207 { data_type
=> "integer", is_nullable
=> 1 },
210 data_type
=> "varchar",
211 default_value
=> "days",
216 { data_type
=> "date", datetime_undef_if_invalid
=> 1, is_nullable
=> 1 },
217 "hardduedatecompare",
218 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
220 { data_type
=> "smallint", default_value
=> 0, is_nullable
=> 0 },
222 { data_type
=> "integer", is_nullable
=> 1 },
224 { data_type
=> "integer", is_nullable
=> 1 },
226 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 1 },
228 { data_type
=> "smallint", default_value
=> 0, is_nullable
=> 0 },
230 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 10 },
232 { data_type
=> "decimal", is_nullable
=> 1, size
=> [28, 6] },
234 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
236 { data_type
=> "char", default_value
=> "N", is_nullable
=> 0, size
=> 1 },
243 =item * L</branchcode>
245 =item * L</categorycode>
253 __PACKAGE__
->set_primary_key("branchcode", "categorycode", "itemtype");
256 # Created by DBIx::Class::Schema::Loader v0.07040 @ 2014-12-19 07:00:40
257 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CE8yuYC5QgPHI2GOjiT28w
260 # You can replace this text with custom content, and it will be preserved on regeneration