lib/Bracket/Schema/Result/Pick.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Bracket/Schema/Result/Game.pm ↑ Summary lib/Bracket/Schema/Result/Player.pm »
1 package Bracket::Schema::Result::Pick;
2  
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
5  
6 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 4 ▶use base 'DBIx::Class::Core';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11  
12 =head1 NAME
13  
14 Bracket::Schema::Result::Pick
15  
16 =cut
17  
18 4 __PACKAGE__->table("pick");
19  
20 =head1 ACCESSORS
21  
22 =head2 id
23  
24 data_type: INT
25 default_value: undef
26 is_auto_increment: 1
27 is_nullable: 0
28 size: 11
29  
30 =head2 player
31  
32 data_type: INT
33 default_value: undef
34 is_foreign_key: 1
35 is_nullable: 0
36 size: 11
37  
38 =head2 game
39  
40 data_type: INT
41 default_value: undef
42 is_foreign_key: 1
43 is_nullable: 0
44 size: 11
45  
46 =head2 pick
47  
48 data_type: INT
49 default_value: undef
50 is_foreign_key: 1
51 is_nullable: 0
52 size: 11
53  
54 =cut
55  
56 4 __PACKAGE__->add_columns(
57 "id",
58 {
59 data_type => "INT",
60 default_value => undef,
61 is_auto_increment => 1,
62 is_nullable => 0,
63 size => 11,
64 },
65 "player",
66 {
67 data_type => "INT",
68 default_value => undef,
69 is_foreign_key => 1,
70 is_nullable => 0,
71 size => 11,
72 },
73 "game",
74 {
75 data_type => "INT",
76 default_value => undef,
77 is_foreign_key => 1,
78 is_nullable => 0,
79 size => 11,
80 },
81 "pick",
82 {
83 data_type => "INT",
84 default_value => undef,
85 is_foreign_key => 1,
86 is_nullable => 0,
87 size => 11,
88 },
89 );
90 4 __PACKAGE__->set_primary_key("id");
91  
92 =head1 RELATIONS
93  
94 =head2 game
95  
96 Type: belongs_to
97  
98 Related object: L<Bracket::Schema::Result::Game>
99  
100 =cut
101  
102 4 __PACKAGE__->belongs_to("game", "Bracket::Schema::Result::Game", { id => "game" }, {});
103  
104 =head2 pick
105  
106 Type: belongs_to
107  
108 Related object: L<Bracket::Schema::Result::Team>
109  
110 =cut
111  
112 4 __PACKAGE__->belongs_to("pick", "Bracket::Schema::Result::Team", { id => "pick" }, {});
113  
114 =head2 player
115  
116 Type: belongs_to
117  
118 Related object: L<Bracket::Schema::Result::Player>
119  
120 =cut
121  
122 4 __PACKAGE__->belongs_to(
123 "player",
124 "Bracket::Schema::Result::Player",
125 { id => "player" },
126 {},
127 );
128  
129  
130 # Created by DBIx::Class::Schema::Loader v0.05003 @ 2010-03-15 11:45:32
131 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3y+D7eOEFq574St+fKk+zw
132  
133  
134 # You can replace this text with custom content, and it will be preserved on regeneration
135 4 1;
« lib/Bracket/Schema/Result/Game.pm ↑ Summary lib/Bracket/Schema/Result/Player.pm »