Bug 8798: DBIx::Class base classes for all Koha tables
[koha.git] / Koha / Schema / Result / CreatorTemplate.pm
1 package Koha::Schema::Result::CreatorTemplate;
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::CreatorTemplate
15
16 =cut
17
18 __PACKAGE__->table("creator_templates");
19
20 =head1 ACCESSORS
21
22 =head2 template_id
23
24   data_type: 'integer'
25   is_auto_increment: 1
26   is_nullable: 0
27
28 =head2 profile_id
29
30   data_type: 'integer'
31   is_nullable: 1
32
33 =head2 template_code
34
35   data_type: 'char'
36   default_value: 'DEFAULT TEMPLATE'
37   is_nullable: 0
38   size: 100
39
40 =head2 template_desc
41
42   data_type: 'char'
43   default_value: 'Default description'
44   is_nullable: 0
45   size: 100
46
47 =head2 page_width
48
49   data_type: 'float'
50   default_value: 0
51   is_nullable: 0
52
53 =head2 page_height
54
55   data_type: 'float'
56   default_value: 0
57   is_nullable: 0
58
59 =head2 label_width
60
61   data_type: 'float'
62   default_value: 0
63   is_nullable: 0
64
65 =head2 label_height
66
67   data_type: 'float'
68   default_value: 0
69   is_nullable: 0
70
71 =head2 top_text_margin
72
73   data_type: 'float'
74   default_value: 0
75   is_nullable: 0
76
77 =head2 left_text_margin
78
79   data_type: 'float'
80   default_value: 0
81   is_nullable: 0
82
83 =head2 top_margin
84
85   data_type: 'float'
86   default_value: 0
87   is_nullable: 0
88
89 =head2 left_margin
90
91   data_type: 'float'
92   default_value: 0
93   is_nullable: 0
94
95 =head2 cols
96
97   data_type: 'integer'
98   default_value: 0
99   is_nullable: 0
100
101 =head2 rows
102
103   data_type: 'integer'
104   default_value: 0
105   is_nullable: 0
106
107 =head2 col_gap
108
109   data_type: 'float'
110   default_value: 0
111   is_nullable: 0
112
113 =head2 row_gap
114
115   data_type: 'float'
116   default_value: 0
117   is_nullable: 0
118
119 =head2 units
120
121   data_type: 'char'
122   default_value: 'POINT'
123   is_nullable: 0
124   size: 20
125
126 =head2 creator
127
128   data_type: 'char'
129   default_value: 'Labels'
130   is_nullable: 0
131   size: 15
132
133 =cut
134
135 __PACKAGE__->add_columns(
136   "template_id",
137   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
138   "profile_id",
139   { data_type => "integer", is_nullable => 1 },
140   "template_code",
141   {
142     data_type => "char",
143     default_value => "DEFAULT TEMPLATE",
144     is_nullable => 0,
145     size => 100,
146   },
147   "template_desc",
148   {
149     data_type => "char",
150     default_value => "Default description",
151     is_nullable => 0,
152     size => 100,
153   },
154   "page_width",
155   { data_type => "float", default_value => 0, is_nullable => 0 },
156   "page_height",
157   { data_type => "float", default_value => 0, is_nullable => 0 },
158   "label_width",
159   { data_type => "float", default_value => 0, is_nullable => 0 },
160   "label_height",
161   { data_type => "float", default_value => 0, is_nullable => 0 },
162   "top_text_margin",
163   { data_type => "float", default_value => 0, is_nullable => 0 },
164   "left_text_margin",
165   { data_type => "float", default_value => 0, is_nullable => 0 },
166   "top_margin",
167   { data_type => "float", default_value => 0, is_nullable => 0 },
168   "left_margin",
169   { data_type => "float", default_value => 0, is_nullable => 0 },
170   "cols",
171   { data_type => "integer", default_value => 0, is_nullable => 0 },
172   "rows",
173   { data_type => "integer", default_value => 0, is_nullable => 0 },
174   "col_gap",
175   { data_type => "float", default_value => 0, is_nullable => 0 },
176   "row_gap",
177   { data_type => "float", default_value => 0, is_nullable => 0 },
178   "units",
179   { data_type => "char", default_value => "POINT", is_nullable => 0, size => 20 },
180   "creator",
181   {
182     data_type => "char",
183     default_value => "Labels",
184     is_nullable => 0,
185     size => 15,
186   },
187 );
188 __PACKAGE__->set_primary_key("template_id");
189
190
191 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
192 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7+6xi7FTvNEbXqNlPfzQSw
193
194
195 # You can replace this text with custom content, and it will be preserved on regeneration
196 1;