1d76ec00d996253cc0a1ba1e16124618d165b70b
[koha-equinox.git] / Koha / Schema / Result / Aqbudgetperiod.pm
1 use utf8;
2 package Koha::Schema::Result::Aqbudgetperiod;
3
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6
7 =head1 NAME
8
9 Koha::Schema::Result::Aqbudgetperiod
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<aqbudgetperiods>
19
20 =cut
21
22 __PACKAGE__->table("aqbudgetperiods");
23
24 =head1 ACCESSORS
25
26 =head2 budget_period_id
27
28   data_type: 'integer'
29   is_auto_increment: 1
30   is_nullable: 0
31
32 =head2 budget_period_startdate
33
34   data_type: 'date'
35   datetime_undef_if_invalid: 1
36   is_nullable: 0
37
38 =head2 budget_period_enddate
39
40   data_type: 'date'
41   datetime_undef_if_invalid: 1
42   is_nullable: 0
43
44 =head2 budget_period_active
45
46   data_type: 'tinyint'
47   default_value: 0
48   is_nullable: 1
49
50 =head2 budget_period_description
51
52   data_type: 'longtext'
53   is_nullable: 1
54
55 =head2 budget_period_total
56
57   data_type: 'decimal'
58   is_nullable: 1
59   size: [28,6]
60
61 =head2 budget_period_locked
62
63   data_type: 'tinyint'
64   is_nullable: 1
65
66 =head2 sort1_authcat
67
68   data_type: 'varchar'
69   is_nullable: 1
70   size: 10
71
72 =head2 sort2_authcat
73
74   data_type: 'varchar'
75   is_nullable: 1
76   size: 10
77
78 =cut
79
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 },
99 );
100
101 =head1 PRIMARY KEY
102
103 =over 4
104
105 =item * L</budget_period_id>
106
107 =back
108
109 =cut
110
111 __PACKAGE__->set_primary_key("budget_period_id");
112
113
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
116
117
118 # You can replace this text with custom content, and it will be preserved on regeneration
119 1;