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
108 default_value: 'days'
115 datetime_undef_if_invalid: 1
118 =head2 hardduedatecompare
124 =head2 renewalsallowed
126 data_type: 'smallint'
135 =head2 norenewalbefore
146 =head2 no_auto_renewal_after
151 =head2 no_auto_renewal_after_hard_limit
154 datetime_undef_if_invalid: 1
157 =head2 reservesallowed
159 data_type: 'smallint'
163 =head2 holds_per_record
165 data_type: 'smallint'
171 data_type: 'smallint'
177 default_value: (empty string)
181 =head2 overduefinescap
187 =head2 cap_fine_to_replacement_price
206 =head2 article_requests
210 extra: {list => ["no","yes","bib_only","item_only"]}
221 __PACKAGE__
->add_columns(
223 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 10 },
225 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 10 },
227 { data_type
=> "tinyint", is_nullable
=> 1 },
229 { data_type
=> "decimal", is_nullable
=> 1, size
=> [28, 6] },
231 { data_type
=> "decimal", is_nullable
=> 1, size
=> [28, 6] },
233 { data_type
=> "decimal", is_nullable
=> 1, size
=> [28, 6] },
235 { data_type
=> "integer", is_nullable
=> 1 },
237 { data_type
=> "integer", is_nullable
=> 1 },
238 "suspension_chargeperiod",
239 { data_type
=> "integer", default_value
=> 1, is_nullable
=> 1 },
241 { data_type
=> "integer", is_nullable
=> 1 },
243 { data_type
=> "integer", is_nullable
=> 1 },
244 "chargeperiod_charge_at",
245 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
247 { data_type
=> "integer", is_nullable
=> 1 },
249 { data_type
=> "integer", is_nullable
=> 1 },
252 data_type
=> "varchar",
253 default_value
=> "days",
258 { data_type
=> "date", datetime_undef_if_invalid
=> 1, is_nullable
=> 1 },
259 "hardduedatecompare",
260 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
262 { data_type
=> "smallint", default_value
=> 0, is_nullable
=> 0 },
264 { data_type
=> "integer", is_nullable
=> 1 },
266 { data_type
=> "integer", is_nullable
=> 1 },
268 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 1 },
269 "no_auto_renewal_after",
270 { data_type
=> "integer", is_nullable
=> 1 },
271 "no_auto_renewal_after_hard_limit",
272 { data_type
=> "date", datetime_undef_if_invalid
=> 1, is_nullable
=> 1 },
274 { data_type
=> "smallint", default_value
=> 0, is_nullable
=> 0 },
276 { data_type
=> "smallint", default_value
=> 1, is_nullable
=> 0 },
278 { data_type
=> "smallint", is_nullable
=> 1 },
280 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 10 },
282 { data_type
=> "decimal", is_nullable
=> 1, size
=> [28, 6] },
283 "cap_fine_to_replacement_price",
284 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
286 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
288 { data_type
=> "char", default_value
=> "N", is_nullable
=> 0, size
=> 1 },
292 default_value
=> "no",
293 extra
=> { list
=> ["no", "yes", "bib_only", "item_only"] },
297 { data_type
=> "varchar", is_nullable
=> 1, size
=> 100 },
304 =item * L</branchcode>
306 =item * L</categorycode>
314 __PACKAGE__
->set_primary_key("branchcode", "categorycode", "itemtype");
317 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-03-05 20:49:11
318 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6bPX0BRWWQZrWFun3GP86Q
320 sub koha_object_class
{
323 sub koha_objects_class
{
324 'Koha::IssuingRules';