ETLp/Schema/Result/EtlpScheduleDayOfWeek.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 25 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::EtlpScheduleDayOfWeek;
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::EtlpScheduleDayOfWeek
16  
17 =cut
18  
19 __PACKAGE__->table("etlp_schedule_day_of_week");
20  
21 =head1 ACCESSORS
22  
23 =head2 schedule_dow_id
24  
25 data_type: 'integer'
26 is_nullable: 0
27 original: {data_type => "number",size => [38,0]}
28  
29 =head2 dow_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 schedule_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 =cut
44  
45 __PACKAGE__->add_columns(
46 "schedule_dow_id",
47 {
48 data_type => "integer",
49 is_nullable => 0,
50 original => { data_type => "number", size => [38, 0] },
51 },
52 "dow_id",
53 {
54 data_type => "integer",
55 is_foreign_key => 1,
56 is_nullable => 0,
57 original => { data_type => "number", size => [38, 0] },
58 },
59 "schedule_id",
60 {
61 data_type => "integer",
62 is_foreign_key => 1,
63 is_nullable => 0,
64 original => { data_type => "number", size => [38, 0] },
65 },
66 );
67 __PACKAGE__->set_primary_key("schedule_dow_id");
68  
69 =head1 RELATIONS
70  
71 =head2 dow
72  
73 Type: belongs_to
74  
75 Related object: L<ETLp::Schema::Result::EtlpDayOfWeek>
76  
77 =cut
78  
79 __PACKAGE__->belongs_to(
80 "dow",
81 "ETLp::Schema::Result::EtlpDayOfWeek",
82 { dow_id => "dow_id" },
83 { on_delete => "CASCADE", on_update => "CASCADE" },
84 );
85  
86 =head2 schedule
87  
88 Type: belongs_to
89  
90 Related object: L<ETLp::Schema::Result::EtlpSchedule>
91  
92 =cut
93  
94 __PACKAGE__->belongs_to(
95 "schedule",
96 "ETLp::Schema::Result::EtlpSchedule",
97 { schedule_id => "schedule_id" },
98 { on_delete => "CASCADE", on_update => "CASCADE" },
99 );
100  
101  
102 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2010-06-25 13:03:18
103 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mtaeeYoSfDZBDOhV8XrR2Q
104  
105 use Data::Page::Navigation;
106  
107 # You can replace this text with custom content, and it will be preserved on regeneration
108 1;