ETLp/Schema/Result/EtlpFileProcess.pm untested

filter: Statementstmt 0.0% 0 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 28 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package ETLp::Schema::Result::EtlpFileProcess;
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 __PACKAGE__->load_components("InflateColumn::DateTime");
12  
13 =head1 NAME
14  
15 ETLp::Schema::Result::EtlpFileProcess
16  
17 =cut
18  
19 __PACKAGE__->table("etlp_file_process");
20  
21 =head1 ACCESSORS
22  
23 =head2 file_proc_id
24  
25 data_type: 'integer'
26 is_nullable: 0
27 original: {data_type => "number",size => [38,0]}
28  
29 =head2 status_id
30  
31 data_type: 'integer'
32 is_foreign_key: 1
33 is_nullable: 0
34 original: {data_type => "number",size => [38,0]}
35  
36 =head2 item_id
37  
38 data_type: 'integer'
39 is_foreign_key: 1
40 is_nullable: 0
41 original: {data_type => "number",size => [38,0]}
42  
43 =head2 file_id
44  
45 data_type: 'integer'
46 is_foreign_key: 1
47 is_nullable: 0
48 original: {data_type => "number",size => [38,0]}
49  
50 =head2 filename
51  
52 data_type: 'varchar2'
53 is_nullable: 0
54 size: 255
55  
56 =head2 record_count
57  
58 data_type: 'integer'
59 is_nullable: 1
60 original: {data_type => "number",size => [38,0]}
61  
62 =head2 message
63  
64 data_type: 'clob'
65 is_nullable: 1
66  
67 =head2 date_created
68  
69 data_type: 'datetime'
70 is_nullable: 0
71 original: {data_type => "date"}
72  
73 =head2 date_updated
74  
75 data_type: 'datetime'
76 is_nullable: 0
77 original: {data_type => "date"}
78  
79 =cut
80  
81 __PACKAGE__->add_columns(
82 "file_proc_id",
83 {
84 data_type => "integer",
85 is_nullable => 0,
86 original => { data_type => "number", size => [38, 0] },
87 },
88 "status_id",
89 {
90 data_type => "integer",
91 is_foreign_key => 1,
92 is_nullable => 0,
93 original => { data_type => "number", size => [38, 0] },
94 },
95 "item_id",
96 {
97 data_type => "integer",
98 is_foreign_key => 1,
99 is_nullable => 0,
100 original => { data_type => "number", size => [38, 0] },
101 },
102 "file_id",
103 {
104 data_type => "integer",
105 is_foreign_key => 1,
106 is_nullable => 0,
107 original => { data_type => "number", size => [38, 0] },
108 },
109 "filename",
110 { data_type => "varchar2", is_nullable => 0, size => 255 },
111 "record_count",
112 {
113 data_type => "integer",
114 is_nullable => 1,
115 original => { data_type => "number", size => [38, 0] },
116 },
117 "message",
118 { data_type => "clob", is_nullable => 1 },
119 "date_created",
120 {
121 data_type => "datetime",
122 is_nullable => 0,
123 original => { data_type => "date" },
124 },
125 "date_updated",
126 {
127 data_type => "datetime",
128 is_nullable => 0,
129 original => { data_type => "date" },
130 },
131 );
132 __PACKAGE__->set_primary_key("file_proc_id");
133  
134 =head1 RELATIONS
135  
136 =head2 status
137  
138 Type: belongs_to
139  
140 Related object: L<ETLp::Schema::Result::EtlpStatus>
141  
142 =cut
143  
144 __PACKAGE__->belongs_to(
145 "status",
146 "ETLp::Schema::Result::EtlpStatus",
147 { status_id => "status_id" },
148 { on_delete => "CASCADE", on_update => "CASCADE" },
149 );
150  
151 =head2 file
152  
153 Type: belongs_to
154  
155 Related object: L<ETLp::Schema::Result::EtlpFile>
156  
157 =cut
158  
159 __PACKAGE__->belongs_to(
160 "file",
161 "ETLp::Schema::Result::EtlpFile",
162 { file_id => "file_id" },
163 { on_delete => "CASCADE", on_update => "CASCADE" },
164 );
165  
166 =head2 item
167  
168 Type: belongs_to
169  
170 Related object: L<ETLp::Schema::Result::EtlpItem>
171  
172 =cut
173  
174 __PACKAGE__->belongs_to(
175 "item",
176 "ETLp::Schema::Result::EtlpItem",
177 { item_id => "item_id" },
178 { on_delete => "CASCADE", on_update => "CASCADE" },
179 );
180  
181  
182 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2010-05-12 15:25:39
183 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hwsRKuuXljAzGf/GrUN0Ww
184  
185 use Data::Page::Navigation;
186  
187 # You can replace this text with custom content, and it will be preserved on regeneration
188 1;