Bug 7295: (follow-up) update DBIx::Class schema classes
[koha.git] / Koha / Schema / Result / CreatorLayout.pm
1 use utf8;
2 package Koha::Schema::Result::CreatorLayout;
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::CreatorLayout
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<creator_layouts>
19
20 =cut
21
22 __PACKAGE__->table("creator_layouts");
23
24 =head1 ACCESSORS
25
26 =head2 layout_id
27
28   data_type: 'integer'
29   is_auto_increment: 1
30   is_nullable: 0
31
32 =head2 barcode_type
33
34   data_type: 'char'
35   default_value: 'CODE39'
36   is_nullable: 0
37   size: 100
38
39 =head2 start_label
40
41   data_type: 'integer'
42   default_value: 1
43   is_nullable: 0
44
45 =head2 printing_type
46
47   data_type: 'char'
48   default_value: 'BAR'
49   is_nullable: 0
50   size: 32
51
52 =head2 layout_name
53
54   data_type: 'char'
55   default_value: 'DEFAULT'
56   is_nullable: 0
57   size: 20
58
59 =head2 guidebox
60
61   data_type: 'integer'
62   default_value: 0
63   is_nullable: 1
64
65 =head2 font
66
67   data_type: 'char'
68   default_value: 'TR'
69   is_nullable: 0
70   size: 10
71
72 =head2 font_size
73
74   data_type: 'integer'
75   default_value: 10
76   is_nullable: 0
77
78 =head2 units
79
80   data_type: 'char'
81   default_value: 'POINT'
82   is_nullable: 0
83   size: 20
84
85 =head2 callnum_split
86
87   data_type: 'integer'
88   default_value: 0
89   is_nullable: 1
90
91 =head2 text_justify
92
93   data_type: 'char'
94   default_value: 'L'
95   is_nullable: 0
96   size: 1
97
98 =head2 format_string
99
100   data_type: 'varchar'
101   default_value: 'barcode'
102   is_nullable: 0
103   size: 210
104
105 =head2 layout_xml
106
107   data_type: 'text'
108   is_nullable: 0
109
110 =head2 creator
111
112   data_type: 'char'
113   default_value: 'Labels'
114   is_nullable: 0
115   size: 15
116
117 =cut
118
119 __PACKAGE__->add_columns(
120   "layout_id",
121   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
122   "barcode_type",
123   {
124     data_type => "char",
125     default_value => "CODE39",
126     is_nullable => 0,
127     size => 100,
128   },
129   "start_label",
130   { data_type => "integer", default_value => 1, is_nullable => 0 },
131   "printing_type",
132   { data_type => "char", default_value => "BAR", is_nullable => 0, size => 32 },
133   "layout_name",
134   {
135     data_type => "char",
136     default_value => "DEFAULT",
137     is_nullable => 0,
138     size => 20,
139   },
140   "guidebox",
141   { data_type => "integer", default_value => 0, is_nullable => 1 },
142   "font",
143   { data_type => "char", default_value => "TR", is_nullable => 0, size => 10 },
144   "font_size",
145   { data_type => "integer", default_value => 10, is_nullable => 0 },
146   "units",
147   { data_type => "char", default_value => "POINT", is_nullable => 0, size => 20 },
148   "callnum_split",
149   { data_type => "integer", default_value => 0, is_nullable => 1 },
150   "text_justify",
151   { data_type => "char", default_value => "L", is_nullable => 0, size => 1 },
152   "format_string",
153   {
154     data_type => "varchar",
155     default_value => "barcode",
156     is_nullable => 0,
157     size => 210,
158   },
159   "layout_xml",
160   { data_type => "text", is_nullable => 0 },
161   "creator",
162   {
163     data_type => "char",
164     default_value => "Labels",
165     is_nullable => 0,
166     size => 15,
167   },
168 );
169
170 =head1 PRIMARY KEY
171
172 =over 4
173
174 =item * L</layout_id>
175
176 =back
177
178 =cut
179
180 __PACKAGE__->set_primary_key("layout_id");
181
182
183 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
184 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MNE/WVsvlJXO5IHiM64yPQ
185
186
187 # You can replace this text with custom content, and it will be preserved on regeneration
188 1;