2 package Koha
::Schema
::Result
::Aqbudget
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Aqbudget
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<aqbudgets>
22 __PACKAGE__
->table("aqbudgets");
32 =head2 budget_parent_id
49 =head2 budget_branchcode
58 default_value: 0.000000
65 default_value: 0.000000
72 default_value: 0.000000
78 data_type: 'mediumtext'
83 data_type: 'timestamp'
84 datetime_undef_if_invalid: 1
85 default_value: current_timestamp
88 =head2 budget_period_id
105 =head2 budget_owner_id
110 =head2 budget_permission
118 __PACKAGE__
->add_columns(
120 { data_type
=> "integer", is_auto_increment
=> 1, is_nullable
=> 0 },
122 { data_type
=> "integer", is_nullable
=> 1 },
124 { data_type
=> "varchar", is_nullable
=> 1, size
=> 30 },
126 { data_type
=> "varchar", is_nullable
=> 1, size
=> 80 },
128 { data_type
=> "varchar", is_nullable
=> 1, size
=> 10 },
131 data_type
=> "decimal",
132 default_value
=> "0.000000",
138 data_type
=> "decimal",
139 default_value
=> "0.000000",
145 data_type
=> "decimal",
146 default_value
=> "0.000000",
151 { data_type
=> "mediumtext", is_nullable
=> 1 },
154 data_type
=> "timestamp",
155 datetime_undef_if_invalid
=> 1,
156 default_value
=> \"current_timestamp
",
160 { data_type => "integer
", is_nullable => 1 },
162 { data_type => "varchar
", is_nullable => 1, size => 80 },
164 { data_type => "varchar
", is_nullable => 1, size => 80 },
166 { data_type => "integer
", is_nullable => 1 },
168 { data_type => "integer
", default_value => 0, is_nullable => 1 },
175 =item * L</budget_id>
181 __PACKAGE__->set_primary_key("budget_id
");
185 =head2 aqbudgetborrowers
189 Related object: L<Koha::Schema::Result::Aqbudgetborrower>
193 __PACKAGE__->has_many(
195 "Koha
::Schema
::Result
::Aqbudgetborrower
",
196 { "foreign
.budget_id
" => "self
.budget_id
" },
197 { cascade_copy => 0, cascade_delete => 0 },
200 =head2 aqbudgets_plannings
204 Related object: L<Koha::Schema::Result::AqbudgetsPlanning>
208 __PACKAGE__->has_many(
209 "aqbudgets_plannings
",
210 "Koha
::Schema
::Result
::AqbudgetsPlanning
",
211 { "foreign
.budget_id
" => "self
.budget_id
" },
212 { cascade_copy => 0, cascade_delete => 0 },
219 Related object: L<Koha::Schema::Result::Aqinvoice>
223 __PACKAGE__->has_many(
225 "Koha
::Schema
::Result
::Aqinvoice
",
226 { "foreign
.shipmentcost_budgetid
" => "self
.budget_id
" },
227 { cascade_copy => 0, cascade_delete => 0 },
234 Related object: L<Koha::Schema::Result::Aqorder>
238 __PACKAGE__->has_many(
240 "Koha
::Schema
::Result
::Aqorder
",
241 { "foreign
.budget_id
" => "self
.budget_id
" },
242 { cascade_copy => 0, cascade_delete => 0 },
249 Related object: L<Koha::Schema::Result::Suggestion>
253 __PACKAGE__->has_many(
255 "Koha
::Schema
::Result
::Suggestion
",
256 { "foreign
.budgetid
" => "self
.budget_id
" },
257 { cascade_copy => 0, cascade_delete => 0 },
260 =head2 vendor_edi_accounts
264 Related object: L<Koha::Schema::Result::VendorEdiAccount>
268 __PACKAGE__->has_many(
269 "vendor_edi_accounts
",
270 "Koha
::Schema
::Result
::VendorEdiAccount
",
271 { "foreign
.shipment_budget
" => "self
.budget_id
" },
272 { cascade_copy => 0, cascade_delete => 0 },
275 =head2 borrowernumbers
279 Composing rels: L</aqbudgetborrowers> -> borrowernumber
283 __PACKAGE__->many_to_many("borrowernumbers
", "aqbudgetborrowers
", "borrowernumber
");
286 # Created by DBIx::Class::Schema::Loader v0.07033 @ 2015-03-04 10:26:49
287 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:E4J/D0+2j0/8JZd0YRnoeA
290 # You can replace this text with custom content, and it will be preserved on regeneration