Schema/AppKitAuthDB/Result/Aclfeature.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package OpusVL::AppKit::Schema::AppKitAuthDB::Result::Aclfeature;
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  
14 __PACKAGE__->table("aclfeature");
15  
16  
17 __PACKAGE__->add_columns(
18 "id",
19 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
20 "feature",
21 { data_type => "text", is_nullable => 0 },
22 "feature_description",
23 { data_type => "text", is_nullable => 1 },
24 );
25 __PACKAGE__->set_primary_key("id");
26  
27  
28 __PACKAGE__->has_many(
29 "aclfeature_roles",
30 "OpusVL::AppKit::Schema::AppKitAuthDB::Result::AclfeatureRole",
31 { "foreign.aclfeature_id" => "self.id" },
32 { cascade_copy => 0, cascade_delete => 0 },
33 );
34  
35  
36 # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-03-14 12:26:54
37 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kXm7NSea55lahdQ68Z/l9A
38  
39 __PACKAGE__->many_to_many( roles => 'aclfeature_roles', 'role');
40  
41  
42 # You can replace this text with custom code or comments, and it will be preserved on regeneration
43 1;
44  
45 __END__
46  
47 =pod
48  
49 =encoding UTF-8
50  
51 =head1 NAME
52  
53 OpusVL::AppKit::Schema::AppKitAuthDB::Result::Aclfeature
54  
55 =head1 VERSION
56  
57 version 1
58  
59 =head1 NAME
60  
61 OpusVL::AppKit::Schema::AppKitAuthDB::Result::Aclfeature
62  
63 =head1 ACCESSORS
64  
65 =head2 id
66  
67 data_type: 'integer'
68 is_auto_increment: 1
69 is_nullable: 0
70  
71 =head2 feature
72  
73 data_type: 'text'
74 is_nullable: 0
75  
76 =head1 RELATIONS
77  
78 =head2 aclfeature_roles
79  
80 Type: has_many
81  
82 Related object: L<OpusVL::AppKit::Schema::AppKitAuthDB::Result::AclfeatureRole>
83  
84 =head1 AUTHOR
85  
86 Colin Newell <colin@opusvl.com>
87  
88 =head1 COPYRIGHT AND LICENSE
89  
90 This software is copyright (c) 2016 by OpusVL.
91  
92 This is free software; you can redistribute it and/or modify it under
93 the same terms as the Perl 5 programming language system itself.
94  
95 =cut