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
83 =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 reservesallowed
158 data_type: 'smallint'
162 =head2 holds_per_record
164 data_type: 'smallint'
171 default_value: (empty string)
175 =head2 overduefinescap
181 =head2 cap_fine_to_replacement_price
200 =head2 article_requests
204 extra: {list => ["no","yes","bib_only","item_only"]}
209 __PACKAGE__->add_columns(
211 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
213 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
215 { data_type => "tinyint", is_nullable => 1 },
217 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
219 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
221 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
223 { data_type => "integer", is_nullable => 1 },
225 { data_type => "integer", is_nullable => 1 },
227 { data_type => "integer", is_nullable => 1 },
229 { data_type => "integer", is_nullable => 1 },
230 "chargeperiod_charge_at",
231 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
233 { data_type => "integer", is_nullable => 1 },
235 { data_type => "varchar", is_nullable => 1, size => 100 },
237 { data_type => "integer", is_nullable => 1 },
239 { data_type => "integer", is_nullable => 1 },
241 { data_type => "integer", is_nullable => 1 },
244 data_type => "varchar",
245 default_value => "days",
250 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
251 "hardduedatecompare",
252 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
254 { data_type => "smallint", default_value => 0, is_nullable => 0 },
256 { data_type => "integer", is_nullable => 1 },
258 { data_type => "integer", is_nullable => 1 },
260 { data_type => "tinyint", default_value => 0, is_nullable => 1 },
262 { data_type => "smallint", default_value => 0, is_nullable => 0 },
264 { data_type => "smallint", default_value => 1, is_nullable => 0 },
266 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
268 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
269 "cap_fine_to_replacement_price",
270 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
272 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
274 { data_type => "char", default_value => "N", is_nullable => 0, size => 1 },
278 default_value => "no",
279 extra => { list => ["no", "yes", "bib_only", "item_only"] },
288 =item * L</branchcode>
290 =item * L</categorycode>
298 __PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype");
301 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-10-24 13:56:21
302 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:eUHth1uaatT2fzY2bihv3g
305 # You can replace this text with custom code or comments, and it will be preserved on regeneration