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
52 data_type: 'mediumtext'
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
=> "mediumtext", 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.07025 @ 2013-10-14 20:56:21
115 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SaTTCao0N80iDL8pgf5k1A
118 # You can replace this text with custom content, and it will be preserved on regeneration