ETLp/Schema/Result/EtlpStatus.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::EtlpStatus;
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::EtlpStatus
16  
17 =cut
18  
19 __PACKAGE__->table("etlp_status");
20  
21 =head1 ACCESSORS
22  
23 =head2 status_id
24  
25 is_auto_increment: 1
26  
27 =head2 status_name
28  
29 data_type: 'varchar2'
30 is_nullable: 0
31 size: 30
32  
33 =cut
34  
35 __PACKAGE__->add_columns(
36 "status_id",
37 { is_auto_increment => 1 },
38 "status_name",
39 { data_type => "varchar2", is_nullable => 0, size => 30 },
40 );
41 __PACKAGE__->set_primary_key("status_id");
42 __PACKAGE__->add_unique_constraint("etlp_status_u1", ["status_name"]);
43  
44 =head1 RELATIONS
45  
46 =head2 etlp_file_processes
47  
48 Type: has_many
49  
50 Related object: L<ETLp::Schema::Result::EtlpFileProcess>
51  
52 =cut
53  
54 __PACKAGE__->has_many(
55 "etlp_file_processes",
56 "ETLp::Schema::Result::EtlpFileProcess",
57 { "foreign.status_id" => "self.status_id" },
58 { cascade_copy => 0, cascade_delete => 0 },
59 );
60  
61 =head2 etlp_items
62  
63 Type: has_many
64  
65 Related object: L<ETLp::Schema::Result::EtlpItem>
66  
67 =cut
68  
69 __PACKAGE__->has_many(
70 "etlp_items",
71 "ETLp::Schema::Result::EtlpItem",
72 { "foreign.status_id" => "self.status_id" },
73 { cascade_copy => 0, cascade_delete => 0 },
74 );
75  
76 =head2 etlp_jobs
77  
78 Type: has_many
79  
80 Related object: L<ETLp::Schema::Result::EtlpJob>
81  
82 =cut
83  
84 __PACKAGE__->has_many(
85 "etlp_jobs",
86 "ETLp::Schema::Result::EtlpJob",
87 { "foreign.status_id" => "self.status_id" },
88 { cascade_copy => 0, cascade_delete => 0 },
89 );
90  
91  
92 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2010-05-12 15:25:39
93 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+16aRUB2npzcJScXoZV28g
94  
95 use Data::Page::Navigation;
96 # You can replace this text with custom content, and it will be preserved on regeneration
97 1;