ETLp/Schema/Result/EtlpScheduleMonth.pm untested

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