Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Overduerule.pm |
Statements | Executed 0 statements in 0s |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 272µs | 292µs | BEGIN@1.2512 | Class::C3::Componentised::
1 | 1 | 1 | 14µs | 28µs | BEGIN@13 | Koha::Schema::Result::Overduerule::
1 | 1 | 1 | 11µs | 22µs | BEGIN@14 | Koha::Schema::Result::Overduerule::
1 | 1 | 1 | 11µs | 101µs | BEGIN@16 | Koha::Schema::Result::Overduerule::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 311µs | # spent 292µs (272+20) within Class::C3::Componentised::BEGIN@1.2512 which was called:
# once (272µs+20µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 292µs making 1 call to Class::C3::Componentised::BEGIN@1.2512
# spent 20µs making 1 call to utf8::import | ||
2 | package Koha::Schema::Result::Overduerule; | ||||
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::Overduerule | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 42µs | # spent 28µs (14+14) within Koha::Schema::Result::Overduerule::BEGIN@13 which was called:
# once (14µs+14µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 28µs making 1 call to Koha::Schema::Result::Overduerule::BEGIN@13
# spent 14µs making 1 call to strict::import | ||
14 | 2 | 32µs | # spent 22µs (11+11) within Koha::Schema::Result::Overduerule::BEGIN@14 which was called:
# once (11µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 22µs making 1 call to Koha::Schema::Result::Overduerule::BEGIN@14
# spent 11µs making 1 call to warnings::import | ||
15 | |||||
16 | 2 | 192µs | # spent 101µs (11+91) within Koha::Schema::Result::Overduerule::BEGIN@16 which was called:
# once (11µs+91µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 101µs making 1 call to Koha::Schema::Result::Overduerule::BEGIN@16
# spent 91µs making 1 call to base::import | ||
17 | |||||
18 | =head1 TABLE: C<overduerules> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 361µs | __PACKAGE__->table("overduerules"); # spent 361µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table | ||
23 | |||||
24 | =head1 ACCESSORS | ||||
25 | |||||
26 | =head2 overduerules_id | ||||
27 | |||||
28 | data_type: 'integer' | ||||
29 | is_auto_increment: 1 | ||||
30 | is_nullable: 0 | ||||
31 | |||||
32 | =head2 branchcode | ||||
33 | |||||
34 | data_type: 'varchar' | ||||
35 | default_value: (empty string) | ||||
36 | is_nullable: 0 | ||||
37 | size: 10 | ||||
38 | |||||
39 | =head2 categorycode | ||||
40 | |||||
41 | data_type: 'varchar' | ||||
42 | default_value: (empty string) | ||||
43 | is_nullable: 0 | ||||
44 | size: 10 | ||||
45 | |||||
46 | =head2 delay1 | ||||
47 | |||||
48 | data_type: 'integer' | ||||
49 | is_nullable: 1 | ||||
50 | |||||
51 | =head2 letter1 | ||||
52 | |||||
53 | data_type: 'varchar' | ||||
54 | is_nullable: 1 | ||||
55 | size: 20 | ||||
56 | |||||
57 | =head2 debarred1 | ||||
58 | |||||
59 | data_type: 'varchar' | ||||
60 | default_value: 0 | ||||
61 | is_nullable: 1 | ||||
62 | size: 1 | ||||
63 | |||||
64 | =head2 delay2 | ||||
65 | |||||
66 | data_type: 'integer' | ||||
67 | is_nullable: 1 | ||||
68 | |||||
69 | =head2 debarred2 | ||||
70 | |||||
71 | data_type: 'varchar' | ||||
72 | default_value: 0 | ||||
73 | is_nullable: 1 | ||||
74 | size: 1 | ||||
75 | |||||
76 | =head2 letter2 | ||||
77 | |||||
78 | data_type: 'varchar' | ||||
79 | is_nullable: 1 | ||||
80 | size: 20 | ||||
81 | |||||
82 | =head2 delay3 | ||||
83 | |||||
84 | data_type: 'integer' | ||||
85 | is_nullable: 1 | ||||
86 | |||||
87 | =head2 letter3 | ||||
88 | |||||
89 | data_type: 'varchar' | ||||
90 | is_nullable: 1 | ||||
91 | size: 20 | ||||
92 | |||||
93 | =head2 debarred3 | ||||
94 | |||||
95 | data_type: 'integer' | ||||
96 | default_value: 0 | ||||
97 | is_nullable: 1 | ||||
98 | |||||
99 | =cut | ||||
100 | |||||
101 | 1 | 23.1ms | __PACKAGE__->add_columns( # spent 23.1ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns | ||
102 | "overduerules_id", | ||||
103 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
104 | "branchcode", | ||||
105 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 }, | ||||
106 | "categorycode", | ||||
107 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 }, | ||||
108 | "delay1", | ||||
109 | { data_type => "integer", is_nullable => 1 }, | ||||
110 | "letter1", | ||||
111 | { data_type => "varchar", is_nullable => 1, size => 20 }, | ||||
112 | "debarred1", | ||||
113 | { data_type => "varchar", default_value => 0, is_nullable => 1, size => 1 }, | ||||
114 | "delay2", | ||||
115 | { data_type => "integer", is_nullable => 1 }, | ||||
116 | "debarred2", | ||||
117 | { data_type => "varchar", default_value => 0, is_nullable => 1, size => 1 }, | ||||
118 | "letter2", | ||||
119 | { data_type => "varchar", is_nullable => 1, size => 20 }, | ||||
120 | "delay3", | ||||
121 | { data_type => "integer", is_nullable => 1 }, | ||||
122 | "letter3", | ||||
123 | { data_type => "varchar", is_nullable => 1, size => 20 }, | ||||
124 | "debarred3", | ||||
125 | { data_type => "integer", default_value => 0, is_nullable => 1 }, | ||||
126 | ); | ||||
127 | |||||
128 | =head1 PRIMARY KEY | ||||
129 | |||||
130 | =over 4 | ||||
131 | |||||
132 | =item * L</overduerules_id> | ||||
133 | |||||
134 | =back | ||||
135 | |||||
136 | =cut | ||||
137 | |||||
138 | 1 | 100µs | __PACKAGE__->set_primary_key("overduerules_id"); # spent 100µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key | ||
139 | |||||
140 | =head1 UNIQUE CONSTRAINTS | ||||
141 | |||||
142 | =head2 C<overduerules_branch_cat> | ||||
143 | |||||
144 | =over 4 | ||||
145 | |||||
146 | =item * L</branchcode> | ||||
147 | |||||
148 | =item * L</categorycode> | ||||
149 | |||||
150 | =back | ||||
151 | |||||
152 | =cut | ||||
153 | |||||
154 | 1 | 31µs | __PACKAGE__->add_unique_constraint("overduerules_branch_cat", ["branchcode", "categorycode"]); # spent 31µs making 1 call to DBIx::Class::ResultSourceProxy::add_unique_constraint | ||
155 | |||||
156 | =head1 RELATIONS | ||||
157 | |||||
158 | =head2 overduerules_transport_types | ||||
159 | |||||
160 | Type: has_many | ||||
161 | |||||
162 | Related object: L<Koha::Schema::Result::OverduerulesTransportType> | ||||
163 | |||||
164 | =cut | ||||
165 | |||||
166 | 1 | 355µs | __PACKAGE__->has_many( # spent 355µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
167 | "overduerules_transport_types", | ||||
168 | "Koha::Schema::Result::OverduerulesTransportType", | ||||
169 | { "foreign.overduerules_id" => "self.overduerules_id" }, | ||||
170 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
171 | ); | ||||
172 | |||||
173 | |||||
174 | # Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-01-06 12:00:28 | ||||
175 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Opfa1YZ3IeQRRbyrbKAkNQ | ||||
176 | |||||
177 | |||||
178 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
179 | 1; |