lib/Bracket/Schema/Result/RegionScore.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 18 / 18 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/Region.pm ↑ Summary lib/Bracket/Schema/Result/Role.pm »
1 package Bracket::Schema::Result::RegionScore;
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::RegionScore
15  
16 =cut
17  
18 4 __PACKAGE__->table("region_score");
19  
20 =head1 ACCESSORS
21  
22 =head2 player
23  
24 data_type: INT
25 default_value: undef
26 is_foreign_key: 1
27 is_nullable: 0
28 size: 11
29  
30 =head2 region
31  
32 data_type: INT
33 default_value: undef
34 is_foreign_key: 1
35 is_nullable: 0
36 size: 11
37  
38 =head2 points
39  
40 data_type: INT
41 default_value: undef
42 is_nullable: 0
43 size: 11
44  
45 =cut
46  
47 4 __PACKAGE__->add_columns(
48 "player",
49 {
50 data_type => "INT",
51 default_value => undef,
52 is_foreign_key => 1,
53 is_nullable => 0,
54 size => 11,
55 },
56 "region",
57 {
58 data_type => "INT",
59 default_value => undef,
60 is_foreign_key => 1,
61 is_nullable => 0,
62 size => 11,
63 },
64 "points",
65 { data_type => "INT", default_value => undef, is_nullable => 0, size => 11 },
66 );
67 4 __PACKAGE__->set_primary_key("player", "region");
68  
69 =head1 RELATIONS
70  
71 =head2 player
72  
73 Type: belongs_to
74  
75 Related object: L<Bracket::Schema::Result::Player>
76  
77 =cut
78  
79 4 __PACKAGE__->belongs_to(
80 "player",
81 "Bracket::Schema::Result::Player",
82 { id => "player" },
83 {},
84 );
85  
86 =head2 region
87  
88 Type: belongs_to
89  
90 Related object: L<Bracket::Schema::Result::Region>
91  
92 =cut
93  
94 4 __PACKAGE__->belongs_to(
95 "region",
96 "Bracket::Schema::Result::Region",
97 { id => "region" },
98 {},
99 );
100  
101  
102 # Created by DBIx::Class::Schema::Loader v0.05003 @ 2010-03-15 11:45:32
103 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UiBOetVBSxDOkCf4HJpl2g
104  
105  
106 # You can replace this text with custom content, and it will be preserved on regeneration
107 4 1;
« lib/Bracket/Schema/Result/Region.pm ↑ Summary lib/Bracket/Schema/Result/Role.pm »