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'
188 default_value: (empty string)
192 =head2 overduefinescap
198 =head2 cap_fine_to_replacement_price
217 =head2 article_requests
221 extra: {list => ["no","yes","bib_only","item_only"]}
226 __PACKAGE__->add_columns(
228 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
230 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
232 { data_type => "tinyint", is_nullable => 1 },
234 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
236 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
238 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
240 { data_type => "integer", is_nullable => 1 },
242 { data_type => "integer", is_nullable => 1 },
243 "suspension_chargeperiod",
244 { data_type => "integer", default_value => 1, is_nullable => 1 },
246 { data_type => "integer", is_nullable => 1 },
248 { data_type => "integer", is_nullable => 1 },
249 "chargeperiod_charge_at",
250 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
252 { data_type => "integer", is_nullable => 1 },
254 { data_type => "varchar", is_nullable => 1, size => 100 },
256 { data_type => "integer", is_nullable => 1 },
258 { data_type => "integer", is_nullable => 1 },
260 { data_type => "integer", is_nullable => 1 },
263 data_type => "varchar",
264 default_value => "days",
269 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
270 "hardduedatecompare",
271 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
273 { data_type => "smallint", default_value => 0, is_nullable => 0 },
275 { data_type => "integer", is_nullable => 1 },
277 { data_type => "integer", is_nullable => 1 },
279 { data_type => "tinyint", default_value => 0, is_nullable => 1 },
280 "no_auto_renewal_after",
281 { data_type => "integer", is_nullable => 1 },
282 "no_auto_renewal_after_hard_limit",
283 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
285 { data_type => "smallint", default_value => 0, is_nullable => 0 },
287 { data_type => "smallint", default_value => 1, is_nullable => 0 },
289 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
291 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
292 "cap_fine_to_replacement_price",
293 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
295 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
297 { data_type => "char", default_value => "N", is_nullable => 0, size => 1 },
301 default_value => "no",
302 extra => { list => ["no", "yes", "bib_only", "item_only"] },
311 =item * L</branchcode>
313 =item * L</categorycode>
321 __PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype");
324 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-12-13 12:44:30
325 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VBD8atc/D/6rN0D+aTaSOQ
328 # You can replace this text with custom code or comments, and it will be preserved on regeneration