Bug 21797: Update two-column templates with Bootstrap grid: Acquisitions part 5
[koha.git] / Koha / Schema / Result / Issuingrule.pm
blob187e463c0e4ad954212db46d952c53b10432d32b
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 suspension_chargeperiod
75 data_type: 'integer'
76 default_value: 1
77 is_nullable: 1
79 =head2 firstremind
81 data_type: 'integer'
82 is_nullable: 1
84 =head2 chargeperiod
86 data_type: 'integer'
87 is_nullable: 1
89 =head2 chargeperiod_charge_at
91 data_type: 'tinyint'
92 default_value: 0
93 is_nullable: 0
95 =head2 accountsent
97 data_type: 'integer'
98 is_nullable: 1
100 =head2 maxissueqty
102 data_type: 'integer'
103 is_nullable: 1
105 =head2 maxonsiteissueqty
107 data_type: 'integer'
108 is_nullable: 1
110 =head2 issuelength
112 data_type: 'integer'
113 is_nullable: 1
115 =head2 lengthunit
117 data_type: 'varchar'
118 default_value: 'days'
119 is_nullable: 1
120 size: 10
122 =head2 hardduedate
124 data_type: 'date'
125 datetime_undef_if_invalid: 1
126 is_nullable: 1
128 =head2 hardduedatecompare
130 data_type: 'tinyint'
131 default_value: 0
132 is_nullable: 0
134 =head2 renewalsallowed
136 data_type: 'smallint'
137 default_value: 0
138 is_nullable: 0
140 =head2 renewalperiod
142 data_type: 'integer'
143 is_nullable: 1
145 =head2 norenewalbefore
147 data_type: 'integer'
148 is_nullable: 1
150 =head2 auto_renew
152 data_type: 'tinyint'
153 default_value: 0
154 is_nullable: 1
156 =head2 no_auto_renewal_after
158 data_type: 'integer'
159 is_nullable: 1
161 =head2 no_auto_renewal_after_hard_limit
163 data_type: 'date'
164 datetime_undef_if_invalid: 1
165 is_nullable: 1
167 =head2 reservesallowed
169 data_type: 'smallint'
170 default_value: 0
171 is_nullable: 0
173 =head2 holds_per_record
175 data_type: 'smallint'
176 default_value: 1
177 is_nullable: 0
179 =head2 holds_per_day
181 data_type: 'smallint'
182 is_nullable: 1
184 =head2 branchcode
186 data_type: 'varchar'
187 default_value: (empty string)
188 is_nullable: 0
189 size: 10
191 =head2 overduefinescap
193 data_type: 'decimal'
194 is_nullable: 1
195 size: [28,6]
197 =head2 cap_fine_to_replacement_price
199 data_type: 'tinyint'
200 default_value: 0
201 is_nullable: 0
203 =head2 onshelfholds
205 data_type: 'tinyint'
206 default_value: 0
207 is_nullable: 0
209 =head2 opacitemholds
211 data_type: 'char'
212 default_value: 'N'
213 is_nullable: 0
214 size: 1
216 =head2 article_requests
218 data_type: 'enum'
219 default_value: 'no'
220 extra: {list => ["no","yes","bib_only","item_only"]}
221 is_nullable: 0
223 =head2 note
225 data_type: 'varchar'
226 is_nullable: 1
227 size: 100
229 =cut
231 __PACKAGE__->add_columns(
232 "categorycode",
233 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
234 "itemtype",
235 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
236 "restrictedtype",
237 { data_type => "tinyint", is_nullable => 1 },
238 "rentaldiscount",
239 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
240 "reservecharge",
241 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
242 "fine",
243 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
244 "finedays",
245 { data_type => "integer", is_nullable => 1 },
246 "maxsuspensiondays",
247 { data_type => "integer", is_nullable => 1 },
248 "suspension_chargeperiod",
249 { data_type => "integer", default_value => 1, is_nullable => 1 },
250 "firstremind",
251 { data_type => "integer", is_nullable => 1 },
252 "chargeperiod",
253 { data_type => "integer", is_nullable => 1 },
254 "chargeperiod_charge_at",
255 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
256 "accountsent",
257 { data_type => "integer", is_nullable => 1 },
258 "maxissueqty",
259 { data_type => "integer", is_nullable => 1 },
260 "maxonsiteissueqty",
261 { data_type => "integer", is_nullable => 1 },
262 "issuelength",
263 { data_type => "integer", is_nullable => 1 },
264 "lengthunit",
266 data_type => "varchar",
267 default_value => "days",
268 is_nullable => 1,
269 size => 10,
271 "hardduedate",
272 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
273 "hardduedatecompare",
274 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
275 "renewalsallowed",
276 { data_type => "smallint", default_value => 0, is_nullable => 0 },
277 "renewalperiod",
278 { data_type => "integer", is_nullable => 1 },
279 "norenewalbefore",
280 { data_type => "integer", is_nullable => 1 },
281 "auto_renew",
282 { data_type => "tinyint", default_value => 0, is_nullable => 1 },
283 "no_auto_renewal_after",
284 { data_type => "integer", is_nullable => 1 },
285 "no_auto_renewal_after_hard_limit",
286 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
287 "reservesallowed",
288 { data_type => "smallint", default_value => 0, is_nullable => 0 },
289 "holds_per_record",
290 { data_type => "smallint", default_value => 1, is_nullable => 0 },
291 "holds_per_day",
292 { data_type => "smallint", is_nullable => 1 },
293 "branchcode",
294 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
295 "overduefinescap",
296 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
297 "cap_fine_to_replacement_price",
298 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
299 "onshelfholds",
300 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
301 "opacitemholds",
302 { data_type => "char", default_value => "N", is_nullable => 0, size => 1 },
303 "article_requests",
305 data_type => "enum",
306 default_value => "no",
307 extra => { list => ["no", "yes", "bib_only", "item_only"] },
308 is_nullable => 0,
310 "note",
311 { data_type => "varchar", is_nullable => 1, size => 100 },
314 =head1 PRIMARY KEY
316 =over 4
318 =item * L</branchcode>
320 =item * L</categorycode>
322 =item * L</itemtype>
324 =back
326 =cut
328 __PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype");
331 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2019-01-04 03:06:35
332 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:slPyHZs0YvOKev3cAxdDJQ
335 # You can replace this text with custom code or comments, and it will be preserved on regeneration