Schema/Result/MediaNavigation.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Schema/Result/MediaMessage.pm ↑ Summary Schema/Result/MediaProduct.pm »
1 2 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 package Interchange6::Schema::Result::MediaNavigation;
4  
5 =head1 NAME
6  
7 Interchange6::Schema::Result::MediaNavigation
8  
9 =cut
10  
11 2 ▶use Interchange6::Schema::Candy;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 =head1 ACCESSORS
14  
15 =head2 media_id
16  
17 FK on L<Interchange6::Schema::Result::Media/media_id>.
18  
19 =cut
20  
21 2 column media_id => { data_type => "integer" };
22  
23 =head2 navigation_id
24  
25 FK on L<Interchange6::Schema::Result::Navigation/navigation_id>.
26  
27 =cut
28  
29 2 column navigation_id => { data_type => "integer" };
30  
31 =head1 PRIMARY KEY
32  
33 =over 4
34  
35 =item * L</media_id>
36  
37 =item * L</navigation_id>
38  
39 =back
40  
41 =cut
42  
43 2 primary_key "media_id", "navigation_id";
44  
45 =head1 RELATIONS
46  
47 =head2 media
48  
49 Type: belongs_to
50  
51 Related object: L<Interchange6::Schema::Result::Media>
52  
53 =cut
54  
55 2 belongs_to
56 media => "Interchange6::Schema::Result::Media",
57 "media_id";
58  
59 =head2 navigation
60  
61 Type: belongs_to
62  
63 Related object: L<Interchange6::Schema::Result::Navigation>
64  
65 =cut
66  
67 2 belongs_to
68 navigation => "Interchange6::Schema::Result::Navigation",
69 "navigation_id";
70  
71 2 1;
« Schema/Result/MediaMessage.pm ↑ Summary Schema/Result/MediaProduct.pm »