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
73 =head2 suspension_chargeperiod
89 =head2 chargeperiod_charge_at
111 =head2 maxonsiteissueqty
124 default_value: 'days'
131 datetime_undef_if_invalid: 1
134 =head2 hardduedatecompare
140 =head2 renewalsallowed
142 data_type: 'smallint'
151 =head2 norenewalbefore
162 =head2 no_auto_renewal_after
167 =head2 no_auto_renewal_after_hard_limit
170 datetime_undef_if_invalid: 1
173 =head2 reservesallowed
175 data_type: 'smallint'
179 =head2 holds_per_record
181 data_type: 'smallint'
187 data_type: 'smallint'
193 default_value: (empty string)
197 =head2 overduefinescap
203 =head2 cap_fine_to_replacement_price
222 =head2 article_requests
226 extra: {list => ["no","yes","bib_only","item_only"]}
237 __PACKAGE__->add_columns(
239 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
241 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
243 { data_type => "tinyint", is_nullable => 1 },
245 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
247 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
249 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
251 { data_type => "integer", is_nullable => 1 },
253 { data_type => "integer", is_nullable => 1 },
254 "suspension_chargeperiod",
255 { data_type => "integer", default_value => 1, is_nullable => 1 },
257 { data_type => "integer", is_nullable => 1 },
259 { data_type => "integer", is_nullable => 1 },
260 "chargeperiod_charge_at",
261 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
263 { data_type => "integer", is_nullable => 1 },
265 { data_type => "varchar", is_nullable => 1, size => 100 },
267 { data_type => "integer", is_nullable => 1 },
269 { data_type => "integer", is_nullable => 1 },
271 { data_type => "integer", is_nullable => 1 },
274 data_type => "varchar",
275 default_value => "days",
280 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
281 "hardduedatecompare",
282 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
284 { data_type => "smallint", default_value => 0, is_nullable => 0 },
286 { data_type => "integer", is_nullable => 1 },
288 { data_type => "integer", is_nullable => 1 },
290 { data_type => "tinyint", default_value => 0, is_nullable => 1 },
291 "no_auto_renewal_after",
292 { data_type => "integer", is_nullable => 1 },
293 "no_auto_renewal_after_hard_limit",
294 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
296 { data_type => "smallint", default_value => 0, is_nullable => 0 },
298 { data_type => "smallint", default_value => 1, is_nullable => 0 },
300 { data_type => "smallint", is_nullable => 1 },
302 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
304 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
305 "cap_fine_to_replacement_price",
306 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
308 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
310 { data_type => "char", default_value => "N", is_nullable => 0, size => 1 },
314 default_value => "no",
315 extra => { list => ["no", "yes", "bib_only", "item_only"] },
319 { data_type => "varchar", is_nullable => 1, size => 100 },
326 =item * L</branchcode>
328 =item * L</categorycode>
336 __PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype");
339 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-24 13:17:50
340 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hVIiAIZ5ui3ZhLhuVxCzZg
343 # You can replace this text with custom code or comments, and it will be preserved on regeneration