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