2 package Koha
::Schema
::Result
::Aqbudgetperiod
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Aqbudgetperiod
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<aqbudgetperiods>
22 __PACKAGE__
->table("aqbudgetperiods");
26 =head2 budget_period_id
32 =head2 budget_period_startdate
35 datetime_undef_if_invalid: 1
38 =head2 budget_period_enddate
41 datetime_undef_if_invalid: 1
44 =head2 budget_period_active
50 =head2 budget_period_description
55 =head2 budget_period_total
61 =head2 budget_period_locked
80 __PACKAGE__
->add_columns(
82 { data_type
=> "integer", is_auto_increment
=> 1, is_nullable
=> 0 },
83 "budget_period_startdate",
84 { data_type
=> "date", datetime_undef_if_invalid
=> 1, is_nullable
=> 0 },
85 "budget_period_enddate",
86 { data_type
=> "date", datetime_undef_if_invalid
=> 1, is_nullable
=> 0 },
87 "budget_period_active",
88 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 1 },
89 "budget_period_description",
90 { data_type
=> "longtext", is_nullable
=> 1 },
91 "budget_period_total",
92 { data_type
=> "decimal", is_nullable
=> 1, size
=> [28, 6] },
93 "budget_period_locked",
94 { data_type
=> "tinyint", is_nullable
=> 1 },
96 { data_type
=> "varchar", is_nullable
=> 1, size
=> 10 },
98 { data_type
=> "varchar", is_nullable
=> 1, size
=> 10 },
105 =item * L</budget_period_id>
111 __PACKAGE__
->set_primary_key("budget_period_id");
114 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
115 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:M13qdhmXgKilais2IFkXFw
117 sub koha_object_class
{
118 'Koha::Acquisition::Budget';
120 sub koha_objects_class
{
121 'Koha::Acquisition::Budgets';