Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Issuingrule.pm |
Statements | Executed 12 statements in 715µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 25µs | 28µs | BEGIN@1.1977 | Class::C3::Componentised::
1 | 1 | 1 | 12µs | 76µs | BEGIN@16 | Koha::Schema::Result::Issuingrule::
1 | 1 | 1 | 10µs | 19µs | BEGIN@13 | Koha::Schema::Result::Issuingrule::
1 | 1 | 1 | 8µs | 15µs | BEGIN@14 | Koha::Schema::Result::Issuingrule::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 77µs | 2 | 31µs | # spent 28µs (25+3) within Class::C3::Componentised::BEGIN@1.1977 which was called:
# once (25µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 28µs making 1 call to Class::C3::Componentised::BEGIN@1.1977
# spent 3µs making 1 call to utf8::import |
2 | package Koha::Schema::Result::Issuingrule; | ||||
3 | |||||
4 | # Created by DBIx::Class::Schema::Loader | ||||
5 | # DO NOT MODIFY THE FIRST PART OF THIS FILE | ||||
6 | |||||
7 | =head1 NAME | ||||
8 | |||||
9 | Koha::Schema::Result::Issuingrule | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 39µs | 2 | 28µs | # spent 19µs (10+9) within Koha::Schema::Result::Issuingrule::BEGIN@13 which was called:
# once (10µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 19µs making 1 call to Koha::Schema::Result::Issuingrule::BEGIN@13
# spent 9µs making 1 call to strict::import |
14 | 2 | 36µs | 2 | 22µs | # spent 15µs (8+7) within Koha::Schema::Result::Issuingrule::BEGIN@14 which was called:
# once (8µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 15µs making 1 call to Koha::Schema::Result::Issuingrule::BEGIN@14
# spent 7µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 443µs | 2 | 140µs | # spent 76µs (12+64) within Koha::Schema::Result::Issuingrule::BEGIN@16 which was called:
# once (12µs+64µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 76µs making 1 call to Koha::Schema::Result::Issuingrule::BEGIN@16
# spent 64µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<issuingrules> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 22µs | 1 | 310µs | __PACKAGE__->table("issuingrules"); # spent 310µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
23 | |||||
24 | =head1 ACCESSORS | ||||
25 | |||||
26 | =head2 categorycode | ||||
27 | |||||
28 | data_type: 'varchar' | ||||
29 | default_value: (empty string) | ||||
30 | is_nullable: 0 | ||||
31 | size: 10 | ||||
32 | |||||
33 | =head2 itemtype | ||||
34 | |||||
35 | data_type: 'varchar' | ||||
36 | default_value: (empty string) | ||||
37 | is_nullable: 0 | ||||
38 | size: 10 | ||||
39 | |||||
40 | =head2 restrictedtype | ||||
41 | |||||
42 | data_type: 'tinyint' | ||||
43 | is_nullable: 1 | ||||
44 | |||||
45 | =head2 rentaldiscount | ||||
46 | |||||
47 | data_type: 'decimal' | ||||
48 | is_nullable: 1 | ||||
49 | size: [28,6] | ||||
50 | |||||
51 | =head2 reservecharge | ||||
52 | |||||
53 | data_type: 'decimal' | ||||
54 | is_nullable: 1 | ||||
55 | size: [28,6] | ||||
56 | |||||
57 | =head2 fine | ||||
58 | |||||
59 | data_type: 'decimal' | ||||
60 | is_nullable: 1 | ||||
61 | size: [28,6] | ||||
62 | |||||
63 | =head2 finedays | ||||
64 | |||||
65 | data_type: 'integer' | ||||
66 | is_nullable: 1 | ||||
67 | |||||
68 | =head2 maxsuspensiondays | ||||
69 | |||||
70 | data_type: 'integer' | ||||
71 | is_nullable: 1 | ||||
72 | |||||
73 | =head2 firstremind | ||||
74 | |||||
75 | data_type: 'integer' | ||||
76 | is_nullable: 1 | ||||
77 | |||||
78 | =head2 chargeperiod | ||||
79 | |||||
80 | data_type: 'integer' | ||||
81 | is_nullable: 1 | ||||
82 | |||||
83 | =head2 chargeperiod_charge_at | ||||
84 | |||||
85 | data_type: 'tinyint' | ||||
86 | default_value: 0 | ||||
87 | is_nullable: 0 | ||||
88 | |||||
89 | =head2 accountsent | ||||
90 | |||||
91 | data_type: 'integer' | ||||
92 | is_nullable: 1 | ||||
93 | |||||
94 | =head2 chargename | ||||
95 | |||||
96 | data_type: 'varchar' | ||||
97 | is_nullable: 1 | ||||
98 | size: 100 | ||||
99 | |||||
100 | =head2 maxissueqty | ||||
101 | |||||
102 | data_type: 'integer' | ||||
103 | is_nullable: 1 | ||||
104 | |||||
105 | =head2 maxonsiteissueqty | ||||
106 | |||||
107 | data_type: 'integer' | ||||
108 | is_nullable: 1 | ||||
109 | |||||
110 | =head2 issuelength | ||||
111 | |||||
112 | data_type: 'integer' | ||||
113 | is_nullable: 1 | ||||
114 | |||||
115 | =head2 lengthunit | ||||
116 | |||||
117 | data_type: 'varchar' | ||||
118 | default_value: 'days' | ||||
119 | is_nullable: 1 | ||||
120 | size: 10 | ||||
121 | |||||
122 | =head2 hardduedate | ||||
123 | |||||
124 | data_type: 'date' | ||||
125 | datetime_undef_if_invalid: 1 | ||||
126 | is_nullable: 1 | ||||
127 | |||||
128 | =head2 hardduedatecompare | ||||
129 | |||||
130 | data_type: 'tinyint' | ||||
131 | default_value: 0 | ||||
132 | is_nullable: 0 | ||||
133 | |||||
134 | =head2 renewalsallowed | ||||
135 | |||||
136 | data_type: 'smallint' | ||||
137 | default_value: 0 | ||||
138 | is_nullable: 0 | ||||
139 | |||||
140 | =head2 renewalperiod | ||||
141 | |||||
142 | data_type: 'integer' | ||||
143 | is_nullable: 1 | ||||
144 | |||||
145 | =head2 norenewalbefore | ||||
146 | |||||
147 | data_type: 'integer' | ||||
148 | is_nullable: 1 | ||||
149 | |||||
150 | =head2 auto_renew | ||||
151 | |||||
152 | data_type: 'tinyint' | ||||
153 | default_value: 0 | ||||
154 | is_nullable: 1 | ||||
155 | |||||
156 | =head2 reservesallowed | ||||
157 | |||||
158 | data_type: 'smallint' | ||||
159 | default_value: 0 | ||||
160 | is_nullable: 0 | ||||
161 | |||||
162 | =head2 branchcode | ||||
163 | |||||
164 | data_type: 'varchar' | ||||
165 | default_value: (empty string) | ||||
166 | is_nullable: 0 | ||||
167 | size: 10 | ||||
168 | |||||
169 | =head2 overduefinescap | ||||
170 | |||||
171 | data_type: 'decimal' | ||||
172 | is_nullable: 1 | ||||
173 | size: [28,6] | ||||
174 | |||||
175 | =head2 cap_fine_to_replacement_price | ||||
176 | |||||
177 | data_type: 'tinyint' | ||||
178 | default_value: 0 | ||||
179 | is_nullable: 0 | ||||
180 | |||||
181 | =head2 onshelfholds | ||||
182 | |||||
183 | data_type: 'tinyint' | ||||
184 | default_value: 0 | ||||
185 | is_nullable: 0 | ||||
186 | |||||
187 | =head2 opacitemholds | ||||
188 | |||||
189 | data_type: 'char' | ||||
190 | default_value: 'N' | ||||
191 | is_nullable: 0 | ||||
192 | size: 1 | ||||
193 | |||||
194 | =cut | ||||
195 | |||||
196 | 1 | 54µs | 1 | 19.5ms | __PACKAGE__->add_columns( # spent 19.5ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
197 | "categorycode", | ||||
198 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 }, | ||||
199 | "itemtype", | ||||
200 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 }, | ||||
201 | "restrictedtype", | ||||
202 | { data_type => "tinyint", is_nullable => 1 }, | ||||
203 | "rentaldiscount", | ||||
204 | { data_type => "decimal", is_nullable => 1, size => [28, 6] }, | ||||
205 | "reservecharge", | ||||
206 | { data_type => "decimal", is_nullable => 1, size => [28, 6] }, | ||||
207 | "fine", | ||||
208 | { data_type => "decimal", is_nullable => 1, size => [28, 6] }, | ||||
209 | "finedays", | ||||
210 | { data_type => "integer", is_nullable => 1 }, | ||||
211 | "maxsuspensiondays", | ||||
212 | { data_type => "integer", is_nullable => 1 }, | ||||
213 | "firstremind", | ||||
214 | { data_type => "integer", is_nullable => 1 }, | ||||
215 | "chargeperiod", | ||||
216 | { data_type => "integer", is_nullable => 1 }, | ||||
217 | "chargeperiod_charge_at", | ||||
218 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
219 | "accountsent", | ||||
220 | { data_type => "integer", is_nullable => 1 }, | ||||
221 | "chargename", | ||||
222 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
223 | "maxissueqty", | ||||
224 | { data_type => "integer", is_nullable => 1 }, | ||||
225 | "maxonsiteissueqty", | ||||
226 | { data_type => "integer", is_nullable => 1 }, | ||||
227 | "issuelength", | ||||
228 | { data_type => "integer", is_nullable => 1 }, | ||||
229 | "lengthunit", | ||||
230 | { | ||||
231 | data_type => "varchar", | ||||
232 | default_value => "days", | ||||
233 | is_nullable => 1, | ||||
234 | size => 10, | ||||
235 | }, | ||||
236 | "hardduedate", | ||||
237 | { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, | ||||
238 | "hardduedatecompare", | ||||
239 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
240 | "renewalsallowed", | ||||
241 | { data_type => "smallint", default_value => 0, is_nullable => 0 }, | ||||
242 | "renewalperiod", | ||||
243 | { data_type => "integer", is_nullable => 1 }, | ||||
244 | "norenewalbefore", | ||||
245 | { data_type => "integer", is_nullable => 1 }, | ||||
246 | "auto_renew", | ||||
247 | { data_type => "tinyint", default_value => 0, is_nullable => 1 }, | ||||
248 | "reservesallowed", | ||||
249 | { data_type => "smallint", default_value => 0, is_nullable => 0 }, | ||||
250 | "branchcode", | ||||
251 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 }, | ||||
252 | "overduefinescap", | ||||
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 }, | ||||
256 | "onshelfholds", | ||||
257 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
258 | "opacitemholds", | ||||
259 | { data_type => "char", default_value => "N", is_nullable => 0, size => 1 }, | ||||
260 | ); | ||||
261 | |||||
262 | =head1 PRIMARY KEY | ||||
263 | |||||
264 | =over 4 | ||||
265 | |||||
266 | =item * L</branchcode> | ||||
267 | |||||
268 | =item * L</categorycode> | ||||
269 | |||||
270 | =item * L</itemtype> | ||||
271 | |||||
272 | =back | ||||
273 | |||||
274 | =cut | ||||
275 | |||||
276 | 1 | 20µs | 1 | 112µs | __PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype"); # spent 112µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
277 | |||||
278 | |||||
279 | # Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-12-31 15:26:16 | ||||
280 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:K/8SKpDjba5CM4+WPZtWPw | ||||
281 | |||||
282 | |||||
283 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
284 | 1 | 24µs | 1; |