Bug 17855 - Followup patch following requests in comments 176 and 177
[koha.git] / Koha / Schema / Result / Aqbudgetperiod.pm
blob60158935160c2357bf451db3b3d28bfc98bdc660
1 use utf8;
2 package Koha::Schema::Result::Aqbudgetperiod;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::Aqbudgetperiod
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<aqbudgetperiods>
20 =cut
22 __PACKAGE__->table("aqbudgetperiods");
24 =head1 ACCESSORS
26 =head2 budget_period_id
28 data_type: 'integer'
29 is_auto_increment: 1
30 is_nullable: 0
32 =head2 budget_period_startdate
34 data_type: 'date'
35 datetime_undef_if_invalid: 1
36 is_nullable: 0
38 =head2 budget_period_enddate
40 data_type: 'date'
41 datetime_undef_if_invalid: 1
42 is_nullable: 0
44 =head2 budget_period_active
46 data_type: 'tinyint'
47 default_value: 0
48 is_nullable: 1
50 =head2 budget_period_description
52 data_type: 'mediumtext'
53 is_nullable: 1
55 =head2 budget_period_total
57 data_type: 'decimal'
58 is_nullable: 1
59 size: [28,6]
61 =head2 budget_period_locked
63 data_type: 'tinyint'
64 is_nullable: 1
66 =head2 sort1_authcat
68 data_type: 'varchar'
69 is_nullable: 1
70 size: 10
72 =head2 sort2_authcat
74 data_type: 'varchar'
75 is_nullable: 1
76 size: 10
78 =cut
80 __PACKAGE__->add_columns(
81 "budget_period_id",
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 },
95 "sort1_authcat",
96 { data_type => "varchar", is_nullable => 1, size => 10 },
97 "sort2_authcat",
98 { data_type => "varchar", is_nullable => 1, size => 10 },
101 =head1 PRIMARY KEY
103 =over 4
105 =item * L</budget_period_id>
107 =back
109 =cut
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