Bug 14633: Patch to control.ini to add or dependency to libapache2-mpm-itk
[koha.git] / Koha / Schema / Result / Issuingrule.pm
blob438c23b36e9514fea36688d6736cf916f316ac25
1 use utf8;
2 package Koha::Schema::Result::Issuingrule;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::Issuingrule
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<issuingrules>
20 =cut
22 __PACKAGE__->table("issuingrules");
24 =head1 ACCESSORS
26 =head2 categorycode
28 data_type: 'varchar'
29 default_value: (empty string)
30 is_nullable: 0
31 size: 10
33 =head2 itemtype
35 data_type: 'varchar'
36 default_value: (empty string)
37 is_nullable: 0
38 size: 10
40 =head2 restrictedtype
42 data_type: 'tinyint'
43 is_nullable: 1
45 =head2 rentaldiscount
47 data_type: 'decimal'
48 is_nullable: 1
49 size: [28,6]
51 =head2 reservecharge
53 data_type: 'decimal'
54 is_nullable: 1
55 size: [28,6]
57 =head2 fine
59 data_type: 'decimal'
60 is_nullable: 1
61 size: [28,6]
63 =head2 finedays
65 data_type: 'integer'
66 is_nullable: 1
68 =head2 maxsuspensiondays
70 data_type: 'integer'
71 is_nullable: 1
73 =head2 firstremind
75 data_type: 'integer'
76 is_nullable: 1
78 =head2 chargeperiod
80 data_type: 'integer'
81 is_nullable: 1
83 =head2 accountsent
85 data_type: 'integer'
86 is_nullable: 1
88 =head2 chargename
90 data_type: 'varchar'
91 is_nullable: 1
92 size: 100
94 =head2 maxissueqty
96 data_type: 'integer'
97 is_nullable: 1
99 =head2 issuelength
101 data_type: 'integer'
102 is_nullable: 1
104 =head2 lengthunit
106 data_type: 'varchar'
107 default_value: 'days'
108 is_nullable: 1
109 size: 10
111 =head2 hardduedate
113 data_type: 'date'
114 datetime_undef_if_invalid: 1
115 is_nullable: 1
117 =head2 hardduedatecompare
119 data_type: 'tinyint'
120 default_value: 0
121 is_nullable: 0
123 =head2 renewalsallowed
125 data_type: 'smallint'
126 default_value: 0
127 is_nullable: 0
129 =head2 renewalperiod
131 data_type: 'integer'
132 is_nullable: 1
134 =head2 norenewalbefore
136 data_type: 'integer'
137 is_nullable: 1
139 =head2 auto_renew
141 data_type: 'tinyint'
142 default_value: 0
143 is_nullable: 1
145 =head2 reservesallowed
147 data_type: 'smallint'
148 default_value: 0
149 is_nullable: 0
151 =head2 branchcode
153 data_type: 'varchar'
154 default_value: (empty string)
155 is_nullable: 0
156 size: 10
158 =head2 overduefinescap
160 data_type: 'decimal'
161 is_nullable: 1
162 size: [28,6]
164 =head2 onshelfholds
166 data_type: 'tinyint'
167 default_value: 0
168 is_nullable: 0
170 =head2 opacitemholds
172 data_type: 'char'
173 default_value: 'N'
174 is_nullable: 0
175 size: 1
177 =cut
179 __PACKAGE__->add_columns(
180 "categorycode",
181 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
182 "itemtype",
183 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
184 "restrictedtype",
185 { data_type => "tinyint", is_nullable => 1 },
186 "rentaldiscount",
187 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
188 "reservecharge",
189 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
190 "fine",
191 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
192 "finedays",
193 { data_type => "integer", is_nullable => 1 },
194 "maxsuspensiondays",
195 { data_type => "integer", is_nullable => 1 },
196 "firstremind",
197 { data_type => "integer", is_nullable => 1 },
198 "chargeperiod",
199 { data_type => "integer", is_nullable => 1 },
200 "accountsent",
201 { data_type => "integer", is_nullable => 1 },
202 "chargename",
203 { data_type => "varchar", is_nullable => 1, size => 100 },
204 "maxissueqty",
205 { data_type => "integer", is_nullable => 1 },
206 "issuelength",
207 { data_type => "integer", is_nullable => 1 },
208 "lengthunit",
210 data_type => "varchar",
211 default_value => "days",
212 is_nullable => 1,
213 size => 10,
215 "hardduedate",
216 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
217 "hardduedatecompare",
218 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
219 "renewalsallowed",
220 { data_type => "smallint", default_value => 0, is_nullable => 0 },
221 "renewalperiod",
222 { data_type => "integer", is_nullable => 1 },
223 "norenewalbefore",
224 { data_type => "integer", is_nullable => 1 },
225 "auto_renew",
226 { data_type => "tinyint", default_value => 0, is_nullable => 1 },
227 "reservesallowed",
228 { data_type => "smallint", default_value => 0, is_nullable => 0 },
229 "branchcode",
230 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
231 "overduefinescap",
232 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
233 "onshelfholds",
234 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
235 "opacitemholds",
236 { data_type => "char", default_value => "N", is_nullable => 0, size => 1 },
239 =head1 PRIMARY KEY
241 =over 4
243 =item * L</branchcode>
245 =item * L</categorycode>
247 =item * L</itemtype>
249 =back
251 =cut
253 __PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype");
256 # Created by DBIx::Class::Schema::Loader v0.07040 @ 2014-12-19 07:00:40
257 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CE8yuYC5QgPHI2GOjiT28w
260 # You can replace this text with custom content, and it will be preserved on regeneration