| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/AqbudgetsPlanning.pm |
| Statements | Executed 0 statements in 0s |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 26µs | 29µs | Class::C3::Componentised::BEGIN@1.135 |
| 1 | 1 | 1 | 10µs | 81µs | Koha::Schema::Result::AqbudgetsPlanning::BEGIN@16 |
| 1 | 1 | 1 | 9µs | 15µs | Koha::Schema::Result::AqbudgetsPlanning::BEGIN@14 |
| 1 | 1 | 1 | 9µs | 18µs | Koha::Schema::Result::AqbudgetsPlanning::BEGIN@13 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 33µs | # spent 29µs (26+4) within Class::C3::Componentised::BEGIN@1.135 which was called:
# once (26µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 29µs making 1 call to Class::C3::Componentised::BEGIN@1.135
# spent 4µs making 1 call to utf8::import | ||
| 2 | package Koha::Schema::Result::AqbudgetsPlanning; | ||||
| 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::AqbudgetsPlanning | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 27µs | # spent 18µs (9+9) within Koha::Schema::Result::AqbudgetsPlanning::BEGIN@13 which was called:
# once (9µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 18µs making 1 call to Koha::Schema::Result::AqbudgetsPlanning::BEGIN@13
# spent 9µs making 1 call to strict::import | ||
| 14 | 2 | 20µs | # spent 15µs (9+6) within Koha::Schema::Result::AqbudgetsPlanning::BEGIN@14 which was called:
# once (9µs+6µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 15µs making 1 call to Koha::Schema::Result::AqbudgetsPlanning::BEGIN@14
# spent 6µs making 1 call to warnings::import | ||
| 15 | |||||
| 16 | 2 | 153µs | # spent 81µs (10+71) within Koha::Schema::Result::AqbudgetsPlanning::BEGIN@16 which was called:
# once (10µs+71µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 81µs making 1 call to Koha::Schema::Result::AqbudgetsPlanning::BEGIN@16
# spent 71µs making 1 call to base::import | ||
| 17 | |||||
| 18 | =head1 TABLE: C<aqbudgets_planning> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 313µs | __PACKAGE__->table("aqbudgets_planning"); # spent 313µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table | ||
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 plan_id | ||||
| 27 | |||||
| 28 | data_type: 'integer' | ||||
| 29 | is_auto_increment: 1 | ||||
| 30 | is_nullable: 0 | ||||
| 31 | |||||
| 32 | =head2 budget_id | ||||
| 33 | |||||
| 34 | data_type: 'integer' | ||||
| 35 | is_foreign_key: 1 | ||||
| 36 | is_nullable: 0 | ||||
| 37 | |||||
| 38 | =head2 budget_period_id | ||||
| 39 | |||||
| 40 | data_type: 'integer' | ||||
| 41 | is_nullable: 0 | ||||
| 42 | |||||
| 43 | =head2 estimated_amount | ||||
| 44 | |||||
| 45 | data_type: 'decimal' | ||||
| 46 | is_nullable: 1 | ||||
| 47 | size: [28,6] | ||||
| 48 | |||||
| 49 | =head2 authcat | ||||
| 50 | |||||
| 51 | data_type: 'varchar' | ||||
| 52 | is_nullable: 0 | ||||
| 53 | size: 30 | ||||
| 54 | |||||
| 55 | =head2 authvalue | ||||
| 56 | |||||
| 57 | data_type: 'varchar' | ||||
| 58 | is_nullable: 0 | ||||
| 59 | size: 30 | ||||
| 60 | |||||
| 61 | =head2 display | ||||
| 62 | |||||
| 63 | data_type: 'tinyint' | ||||
| 64 | default_value: 1 | ||||
| 65 | is_nullable: 1 | ||||
| 66 | |||||
| 67 | =cut | ||||
| 68 | |||||
| 69 | 1 | 2.63ms | __PACKAGE__->add_columns( # spent 2.63ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns | ||
| 70 | "plan_id", | ||||
| 71 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
| 72 | "budget_id", | ||||
| 73 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
| 74 | "budget_period_id", | ||||
| 75 | { data_type => "integer", is_nullable => 0 }, | ||||
| 76 | "estimated_amount", | ||||
| 77 | { data_type => "decimal", is_nullable => 1, size => [28, 6] }, | ||||
| 78 | "authcat", | ||||
| 79 | { data_type => "varchar", is_nullable => 0, size => 30 }, | ||||
| 80 | "authvalue", | ||||
| 81 | { data_type => "varchar", is_nullable => 0, size => 30 }, | ||||
| 82 | "display", | ||||
| 83 | { data_type => "tinyint", default_value => 1, is_nullable => 1 }, | ||||
| 84 | ); | ||||
| 85 | |||||
| 86 | =head1 PRIMARY KEY | ||||
| 87 | |||||
| 88 | =over 4 | ||||
| 89 | |||||
| 90 | =item * L</plan_id> | ||||
| 91 | |||||
| 92 | =back | ||||
| 93 | |||||
| 94 | =cut | ||||
| 95 | |||||
| 96 | 1 | 81µs | __PACKAGE__->set_primary_key("plan_id"); # spent 81µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key | ||
| 97 | |||||
| 98 | =head1 RELATIONS | ||||
| 99 | |||||
| 100 | =head2 budget | ||||
| 101 | |||||
| 102 | Type: belongs_to | ||||
| 103 | |||||
| 104 | Related object: L<Koha::Schema::Result::Aqbudget> | ||||
| 105 | |||||
| 106 | =cut | ||||
| 107 | |||||
| 108 | 1 | 290µs | __PACKAGE__->belongs_to( # spent 290µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
| 109 | "budget", | ||||
| 110 | "Koha::Schema::Result::Aqbudget", | ||||
| 111 | { budget_id => "budget_id" }, | ||||
| 112 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
| 113 | ); | ||||
| 114 | |||||
| 115 | |||||
| 116 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
| 117 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7nhWIqgezc+W8sHqJkXCbQ | ||||
| 118 | |||||
| 119 | |||||
| 120 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
| 121 | 1; |