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
105 =head2 maxonsiteissueqty
118 default_value: 'days'
125 datetime_undef_if_invalid: 1
128 =head2 hardduedatecompare
134 =head2 renewalsallowed
136 data_type: 'smallint'
145 =head2 norenewalbefore
156 =head2 no_auto_renewal_after
161 =head2 no_auto_renewal_after_hard_limit
164 datetime_undef_if_invalid: 1
167 =head2 reservesallowed
169 data_type: 'smallint'
173 =head2 holds_per_record
175 data_type: 'smallint'
181 data_type: 'smallint'
187 default_value: (empty string)
191 =head2 overduefinescap
197 =head2 cap_fine_to_replacement_price
216 =head2 article_requests
220 extra: {list => ["no","yes","bib_only","item_only"]}
231 __PACKAGE__->add_columns(
233 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
235 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
237 { data_type => "tinyint", is_nullable => 1 },
239 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
241 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
243 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
245 { data_type => "integer", is_nullable => 1 },
247 { data_type => "integer", is_nullable => 1 },
248 "suspension_chargeperiod",
249 { data_type => "integer", default_value => 1, is_nullable => 1 },
251 { data_type => "integer", is_nullable => 1 },
253 { data_type => "integer", is_nullable => 1 },
254 "chargeperiod_charge_at",
255 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
257 { data_type => "integer", is_nullable => 1 },
259 { data_type => "integer", is_nullable => 1 },
261 { data_type => "integer", is_nullable => 1 },
263 { data_type => "integer", is_nullable => 1 },
266 data_type => "varchar",
267 default_value => "days",
272 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
273 "hardduedatecompare",
274 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
276 { data_type => "smallint", default_value => 0, is_nullable => 0 },
278 { data_type => "integer", is_nullable => 1 },
280 { data_type => "integer", is_nullable => 1 },
282 { data_type => "tinyint", default_value => 0, is_nullable => 1 },
283 "no_auto_renewal_after",
284 { data_type => "integer", is_nullable => 1 },
285 "no_auto_renewal_after_hard_limit",
286 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
288 { data_type => "smallint", default_value => 0, is_nullable => 0 },
290 { data_type => "smallint", default_value => 1, is_nullable => 0 },
292 { data_type => "smallint", is_nullable => 1 },
294 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
296 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
297 "cap_fine_to_replacement_price",
298 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
300 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
302 { data_type => "char", default_value => "N", is_nullable => 0, size => 1 },
306 default_value => "no",
307 extra => { list => ["no", "yes", "bib_only", "item_only"] },
311 { data_type => "varchar", is_nullable => 1, size => 100 },
318 =item * L</branchcode>
320 =item * L</categorycode>
328 __PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype");
331 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2019-01-04 03:06:35
332 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:slPyHZs0YvOKev3cAxdDJQ
335 # You can replace this text with custom code or comments, and it will be preserved on regeneration