lib/OpusVL/AppKit/Schema/AppKitAuthDB/Result/AclfeatureRole.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/OpusVL/AppKit/Schema/AppKitAuthDB/Result/Aclfeature.pm ↑ Summary lib/OpusVL/AppKit/Schema/AppKitAuthDB/Result/Aclrule.pm »
1 package OpusVL::AppKit::Schema::AppKitAuthDB::Result::AclfeatureRole;
2  
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
5  
6 12 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 12 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 12 ▶use base 'DBIx::Class::Core';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 12 __PACKAGE__->load_components("InflateColumn::DateTime");
12  
13  
14 12 __PACKAGE__->table("aclfeature_role");
15  
16  
17 12 __PACKAGE__->add_columns(
18 "aclfeature_id",
19 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
20 "role_id",
21 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
22 );
23 12 __PACKAGE__->set_primary_key("aclfeature_id", "role_id");
24  
25  
26 12 __PACKAGE__->belongs_to(
27 "role",
28 "OpusVL::AppKit::Schema::AppKitAuthDB::Result::Role",
29 { id => "role_id" },
30 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
31 );
32  
33  
34 12 __PACKAGE__->belongs_to(
35 "aclfeature",
36 "OpusVL::AppKit::Schema::AppKitAuthDB::Result::Aclfeature",
37 { id => "aclfeature_id" },
38 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
39 );
40  
41  
42 # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-03-14 12:26:54
43 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zPS+/kIqsqFWtQGjpZDqew
44  
45 # You can replace this text with custom code or comments, and it will be preserved on regeneration
46 12 1;
47  
48 __END__
49  
50 =pod
51  
52 =encoding UTF-8
53  
54 =head1 NAME
55  
56 OpusVL::AppKit::Schema::AppKitAuthDB::Result::AclfeatureRole
57  
58 =head1 VERSION
59  
60 version 2.24
61  
62 =head1 NAME
63  
64 OpusVL::AppKit::Schema::AppKitAuthDB::Result::AclfeatureRole
65  
66 =head1 ACCESSORS
67  
68 =head2 aclfeature_id
69  
70 data_type: 'integer'
71 is_foreign_key: 1
72 is_nullable: 0
73  
74 =head2 role_id
75  
76 data_type: 'integer'
77 is_foreign_key: 1
78 is_nullable: 0
79  
80 =head1 RELATIONS
81  
82 =head2 role
83  
84 Type: belongs_to
85  
86 Related object: L<OpusVL::AppKit::Schema::AppKitAuthDB::Result::Role>
87  
88 =head2 aclfeature
89  
90 Type: belongs_to
91  
92 Related object: L<OpusVL::AppKit::Schema::AppKitAuthDB::Result::Aclfeature>
93  
94 =head1 AUTHOR
95  
96 OpusVL - www.opusvl.com
97  
98 =head1 COPYRIGHT AND LICENSE
99  
100 This software is copyright (c) 2010 by OpusVL - www.opusvl.com.
101  
102 This is free software; you can redistribute it and/or modify it under
103 the same terms as the Perl 5 programming language system itself.
104  
105 =cut
« lib/OpusVL/AppKit/Schema/AppKitAuthDB/Result/Aclfeature.pm ↑ Summary lib/OpusVL/AppKit/Schema/AppKitAuthDB/Result/Aclrule.pm »