Bug 21797: Update two-column templates with Bootstrap grid: Acquisitions part 5
[koha.git] / Koha / Schema / Result / Aqbudgetperiod.pm
blob1d76ec00d996253cc0a1ba1e16124618d165b70b
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: 'longtext'
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 => "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 },
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.07042 @ 2018-02-16 17:54:53
115 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:M13qdhmXgKilais2IFkXFw
118 # You can replace this text with custom content, and it will be preserved on regeneration