| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/Aqcontact.pm |
| Statements | Executed 0 statements in 0s |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 30µs | 34µs | Class::C3::Componentised::BEGIN@1.2196 |
| 1 | 1 | 1 | 10µs | 84µs | Koha::Schema::Result::Aqcontact::BEGIN@16 |
| 1 | 1 | 1 | 9µs | 18µs | Koha::Schema::Result::Aqcontact::BEGIN@13 |
| 1 | 1 | 1 | 9µs | 16µs | Koha::Schema::Result::Aqcontact::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 37µs | # spent 34µs (30+3) within Class::C3::Componentised::BEGIN@1.2196 which was called:
# once (30µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 34µs making 1 call to Class::C3::Componentised::BEGIN@1.2196
# spent 3µs making 1 call to utf8::import | ||
| 2 | package Koha::Schema::Result::Aqcontact; | ||||
| 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::Aqcontact | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 26µs | # spent 18µs (9+8) within Koha::Schema::Result::Aqcontact::BEGIN@13 which was called:
# once (9µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 18µs making 1 call to Koha::Schema::Result::Aqcontact::BEGIN@13
# spent 8µs making 1 call to strict::import | ||
| 14 | 2 | 23µs | # spent 16µs (9+7) within Koha::Schema::Result::Aqcontact::BEGIN@14 which was called:
# once (9µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 16µs making 1 call to Koha::Schema::Result::Aqcontact::BEGIN@14
# spent 7µs making 1 call to warnings::import | ||
| 15 | |||||
| 16 | 2 | 157µs | # spent 84µs (10+73) within Koha::Schema::Result::Aqcontact::BEGIN@16 which was called:
# once (10µs+73µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 84µs making 1 call to Koha::Schema::Result::Aqcontact::BEGIN@16
# spent 73µs making 1 call to base::import | ||
| 17 | |||||
| 18 | =head1 TABLE: C<aqcontacts> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 318µs | __PACKAGE__->table("aqcontacts"); # spent 318µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table | ||
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 id | ||||
| 27 | |||||
| 28 | data_type: 'integer' | ||||
| 29 | is_auto_increment: 1 | ||||
| 30 | is_nullable: 0 | ||||
| 31 | |||||
| 32 | =head2 name | ||||
| 33 | |||||
| 34 | data_type: 'varchar' | ||||
| 35 | is_nullable: 1 | ||||
| 36 | size: 100 | ||||
| 37 | |||||
| 38 | =head2 position | ||||
| 39 | |||||
| 40 | data_type: 'varchar' | ||||
| 41 | is_nullable: 1 | ||||
| 42 | size: 100 | ||||
| 43 | |||||
| 44 | =head2 phone | ||||
| 45 | |||||
| 46 | data_type: 'varchar' | ||||
| 47 | is_nullable: 1 | ||||
| 48 | size: 100 | ||||
| 49 | |||||
| 50 | =head2 altphone | ||||
| 51 | |||||
| 52 | data_type: 'varchar' | ||||
| 53 | is_nullable: 1 | ||||
| 54 | size: 100 | ||||
| 55 | |||||
| 56 | =head2 fax | ||||
| 57 | |||||
| 58 | data_type: 'varchar' | ||||
| 59 | is_nullable: 1 | ||||
| 60 | size: 100 | ||||
| 61 | |||||
| 62 | =head2 email | ||||
| 63 | |||||
| 64 | data_type: 'varchar' | ||||
| 65 | is_nullable: 1 | ||||
| 66 | size: 100 | ||||
| 67 | |||||
| 68 | =head2 notes | ||||
| 69 | |||||
| 70 | data_type: 'mediumtext' | ||||
| 71 | is_nullable: 1 | ||||
| 72 | |||||
| 73 | =head2 claimacquisition | ||||
| 74 | |||||
| 75 | data_type: 'tinyint' | ||||
| 76 | default_value: 0 | ||||
| 77 | is_nullable: 0 | ||||
| 78 | |||||
| 79 | =head2 claimissues | ||||
| 80 | |||||
| 81 | data_type: 'tinyint' | ||||
| 82 | default_value: 0 | ||||
| 83 | is_nullable: 0 | ||||
| 84 | |||||
| 85 | =head2 acqprimary | ||||
| 86 | |||||
| 87 | data_type: 'tinyint' | ||||
| 88 | default_value: 0 | ||||
| 89 | is_nullable: 0 | ||||
| 90 | |||||
| 91 | =head2 serialsprimary | ||||
| 92 | |||||
| 93 | data_type: 'tinyint' | ||||
| 94 | default_value: 0 | ||||
| 95 | is_nullable: 0 | ||||
| 96 | |||||
| 97 | =head2 booksellerid | ||||
| 98 | |||||
| 99 | data_type: 'integer' | ||||
| 100 | is_foreign_key: 1 | ||||
| 101 | is_nullable: 0 | ||||
| 102 | |||||
| 103 | =cut | ||||
| 104 | |||||
| 105 | 1 | 4.63ms | __PACKAGE__->add_columns( # spent 4.63ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns | ||
| 106 | "id", | ||||
| 107 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
| 108 | "name", | ||||
| 109 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
| 110 | "position", | ||||
| 111 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
| 112 | "phone", | ||||
| 113 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
| 114 | "altphone", | ||||
| 115 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
| 116 | "fax", | ||||
| 117 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
| 118 | "email", | ||||
| 119 | { data_type => "varchar", is_nullable => 1, size => 100 }, | ||||
| 120 | "notes", | ||||
| 121 | { data_type => "mediumtext", is_nullable => 1 }, | ||||
| 122 | "claimacquisition", | ||||
| 123 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
| 124 | "claimissues", | ||||
| 125 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
| 126 | "acqprimary", | ||||
| 127 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
| 128 | "serialsprimary", | ||||
| 129 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
| 130 | "booksellerid", | ||||
| 131 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
| 132 | ); | ||||
| 133 | |||||
| 134 | =head1 PRIMARY KEY | ||||
| 135 | |||||
| 136 | =over 4 | ||||
| 137 | |||||
| 138 | =item * L</id> | ||||
| 139 | |||||
| 140 | =back | ||||
| 141 | |||||
| 142 | =cut | ||||
| 143 | |||||
| 144 | 1 | 83µs | __PACKAGE__->set_primary_key("id"); # spent 83µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key | ||
| 145 | |||||
| 146 | =head1 RELATIONS | ||||
| 147 | |||||
| 148 | =head2 booksellerid | ||||
| 149 | |||||
| 150 | Type: belongs_to | ||||
| 151 | |||||
| 152 | Related object: L<Koha::Schema::Result::Aqbookseller> | ||||
| 153 | |||||
| 154 | =cut | ||||
| 155 | |||||
| 156 | 1 | 386µs | __PACKAGE__->belongs_to( # spent 386µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
| 157 | "booksellerid", | ||||
| 158 | "Koha::Schema::Result::Aqbookseller", | ||||
| 159 | { id => "booksellerid" }, | ||||
| 160 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
| 161 | ); | ||||
| 162 | |||||
| 163 | |||||
| 164 | # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-08-26 11:53:50 | ||||
| 165 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sIT7PzDxqInviUSe7wuzow | ||||
| 166 | |||||
| 167 | |||||
| 168 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||||
| 169 | 1; |