Bug 8798: DBIx::Class base classes for all Koha tables
[koha.git] / Koha / Schema / Result / RepeatableHoliday.pm
1 package Koha::Schema::Result::RepeatableHoliday;
2
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
5
6 use strict;
7 use warnings;
8
9 use base 'DBIx::Class::Core';
10
11
12 =head1 NAME
13
14 Koha::Schema::Result::RepeatableHoliday
15
16 =cut
17
18 __PACKAGE__->table("repeatable_holidays");
19
20 =head1 ACCESSORS
21
22 =head2 id
23
24   data_type: 'integer'
25   is_auto_increment: 1
26   is_nullable: 0
27
28 =head2 branchcode
29
30   data_type: 'varchar'
31   default_value: (empty string)
32   is_nullable: 0
33   size: 10
34
35 =head2 weekday
36
37   data_type: 'smallint'
38   is_nullable: 1
39
40 =head2 day
41
42   data_type: 'smallint'
43   is_nullable: 1
44
45 =head2 month
46
47   data_type: 'smallint'
48   is_nullable: 1
49
50 =head2 title
51
52   data_type: 'varchar'
53   default_value: (empty string)
54   is_nullable: 0
55   size: 50
56
57 =head2 description
58
59   data_type: 'text'
60   is_nullable: 0
61
62 =cut
63
64 __PACKAGE__->add_columns(
65   "id",
66   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
67   "branchcode",
68   { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
69   "weekday",
70   { data_type => "smallint", is_nullable => 1 },
71   "day",
72   { data_type => "smallint", is_nullable => 1 },
73   "month",
74   { data_type => "smallint", is_nullable => 1 },
75   "title",
76   { data_type => "varchar", default_value => "", is_nullable => 0, size => 50 },
77   "description",
78   { data_type => "text", is_nullable => 0 },
79 );
80 __PACKAGE__->set_primary_key("id");
81
82
83 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
84 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9CaAbUmcE7O8TT5NZivX1Q
85
86
87 # You can replace this text with custom content, and it will be preserved on regeneration
88 1;