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
190 __PACKAGE__
->add_columns(
192 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 10 },
194 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 10 },
196 { data_type
=> "tinyint", is_nullable
=> 1 },
198 { data_type
=> "decimal", is_nullable
=> 1, size
=> [28, 6] },
200 { data_type
=> "decimal", is_nullable
=> 1, size
=> [28, 6] },
202 { data_type
=> "decimal", is_nullable
=> 1, size
=> [28, 6] },
204 { data_type
=> "integer", is_nullable
=> 1 },
206 { data_type
=> "integer", is_nullable
=> 1 },
208 { data_type
=> "integer", is_nullable
=> 1 },
210 { data_type
=> "integer", is_nullable
=> 1 },
211 "chargeperiod_charge_at",
212 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
214 { data_type
=> "integer", is_nullable
=> 1 },
216 { data_type
=> "varchar", is_nullable
=> 1, size
=> 100 },
218 { data_type
=> "integer", is_nullable
=> 1 },
220 { data_type
=> "integer", is_nullable
=> 1 },
222 { data_type
=> "integer", is_nullable
=> 1 },
225 data_type
=> "varchar",
226 default_value
=> "days",
231 { data_type
=> "date", datetime_undef_if_invalid
=> 1, is_nullable
=> 1 },
232 "hardduedatecompare",
233 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
235 { data_type
=> "smallint", default_value
=> 0, is_nullable
=> 0 },
237 { data_type
=> "integer", is_nullable
=> 1 },
239 { data_type
=> "integer", is_nullable
=> 1 },
241 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 1 },
243 { data_type
=> "smallint", default_value
=> 0, is_nullable
=> 0 },
245 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 10 },
247 { data_type
=> "decimal", is_nullable
=> 1, size
=> [28, 6] },
249 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
251 { data_type
=> "char", default_value
=> "N", is_nullable
=> 0, size
=> 1 },
258 =item * L</branchcode>
260 =item * L</categorycode>
268 __PACKAGE__
->set_primary_key("branchcode", "categorycode", "itemtype");
271 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-10-22 14:50:45
272 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jTYQaXLtBrSIGEqpFlgIfg
275 # You can replace this text with custom content, and it will be preserved on regeneration