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'
165 default_value: (empty string)
169 =head2 overduefinescap
175 =head2 cap_fine_to_replacement_price
196 __PACKAGE__->add_columns(
198 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
200 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
202 { data_type => "tinyint", is_nullable => 1 },
204 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
206 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
208 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
210 { data_type => "integer", is_nullable => 1 },
212 { data_type => "integer", is_nullable => 1 },
214 { data_type => "integer", is_nullable => 1 },
216 { data_type => "integer", is_nullable => 1 },
217 "chargeperiod_charge_at",
218 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
220 { data_type => "integer", is_nullable => 1 },
222 { data_type => "varchar", is_nullable => 1, size => 100 },
224 { data_type => "integer", is_nullable => 1 },
226 { data_type => "integer", is_nullable => 1 },
228 { data_type => "integer", is_nullable => 1 },
231 data_type => "varchar",
232 default_value => "days",
237 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
238 "hardduedatecompare",
239 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
241 { data_type => "smallint", default_value => 0, is_nullable => 0 },
243 { data_type => "integer", is_nullable => 1 },
245 { data_type => "integer", is_nullable => 1 },
247 { data_type => "tinyint", default_value => 0, is_nullable => 1 },
249 { data_type => "smallint", default_value => 0, is_nullable => 0 },
251 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
253 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
254 "cap_fine_to_replacement_price",
255 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
257 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
259 { data_type => "char", default_value => "N", is_nullable => 0, size => 1 },
266 =item * L</branchcode>
268 =item * L</categorycode>
276 __PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype");
279 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-09-06 09:35:36
280 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HkvNR2YHTkqN2PnQk5XGAA
283 # You can replace this text with custom code or comments, and it will be preserved on regeneration