Bug 7295: (follow-up) update DBIx::Class schema classes
[koha.git] / Koha / Schema / Result / SpecialHoliday.pm
1 use utf8;
2 package Koha::Schema::Result::SpecialHoliday;
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::SpecialHoliday
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<special_holidays>
19
20 =cut
21
22 __PACKAGE__->table("special_holidays");
23
24 =head1 ACCESSORS
25
26 =head2 id
27
28   data_type: 'integer'
29   is_auto_increment: 1
30   is_nullable: 0
31
32 =head2 branchcode
33
34   data_type: 'varchar'
35   default_value: (empty string)
36   is_nullable: 0
37   size: 10
38
39 =head2 day
40
41   data_type: 'smallint'
42   default_value: 0
43   is_nullable: 0
44
45 =head2 month
46
47   data_type: 'smallint'
48   default_value: 0
49   is_nullable: 0
50
51 =head2 year
52
53   data_type: 'smallint'
54   default_value: 0
55   is_nullable: 0
56
57 =head2 isexception
58
59   data_type: 'smallint'
60   default_value: 1
61   is_nullable: 0
62
63 =head2 title
64
65   data_type: 'varchar'
66   default_value: (empty string)
67   is_nullable: 0
68   size: 50
69
70 =head2 description
71
72   data_type: 'text'
73   is_nullable: 0
74
75 =cut
76
77 __PACKAGE__->add_columns(
78   "id",
79   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
80   "branchcode",
81   { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
82   "day",
83   { data_type => "smallint", default_value => 0, is_nullable => 0 },
84   "month",
85   { data_type => "smallint", default_value => 0, is_nullable => 0 },
86   "year",
87   { data_type => "smallint", default_value => 0, is_nullable => 0 },
88   "isexception",
89   { data_type => "smallint", default_value => 1, is_nullable => 0 },
90   "title",
91   { data_type => "varchar", default_value => "", is_nullable => 0, size => 50 },
92   "description",
93   { data_type => "text", is_nullable => 0 },
94 );
95
96 =head1 PRIMARY KEY
97
98 =over 4
99
100 =item * L</id>
101
102 =back
103
104 =cut
105
106 __PACKAGE__->set_primary_key("id");
107
108
109 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
110 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mRo3D1nPRJsMY6hPxp/Ojg
111
112
113 # You can replace this text with custom content, and it will be preserved on regeneration
114 1;