ExpenseTracker/Models/Result/OperationsCategory.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 25 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use utf8;
2 package ExpenseTracker::Models::Result::OperationsCategory;
3 {
4 $ExpenseTracker::Models::Result::OperationsCategory::VERSION = '0.008';
5 }
6 {
7 $ExpenseTracker::Models::Result::OperationsCategory::VERSION = '0.008';
8 }
9  
10 # Created by DBIx::Class::Schema::Loader
11 # DO NOT MODIFY THE FIRST PART OF THIS FILE
12  
13 =head1 NAME
14  
15 ExpenseTracker::Models::Result::OperationsCategory
16  
17 =head1 VERSION
18  
19 version 0.008
20  
21 =cut
22  
23 use strict;
24 use warnings;
25  
26 use base 'DBIx::Class::Core';
27  
28 =head1 TABLE: C<operations_categories>
29  
30 =cut
31  
32 __PACKAGE__->table("operations_categories");
33  
34 =head1 ACCESSORS
35  
36 =head2 id
37  
38 data_type: 'integer'
39 is_auto_increment: 1
40 is_nullable: 0
41  
42 =head2 operation_id
43  
44 data_type: 'integer'
45 is_nullable: 0
46  
47 =head2 category_id
48  
49 data_type: 'integer'
50 is_nullable: 0
51  
52 =head2 created_at
53  
54 data_type: 'datetime'
55 default_value: current_timestamp
56 is_nullable: 0
57  
58 =cut
59  
60 __PACKAGE__->add_columns(
61 "id",
62 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
63 "operation_id",
64 { data_type => "integer", is_nullable => 0 },
65 "category_id",
66 { data_type => "integer", is_nullable => 0 },
67 "created_at",
68 {
69 data_type => "datetime",
70 default_value => \"current_timestamp",
71 is_nullable => 0,
72 },
73 );
74  
75 =head1 PRIMARY KEY
76  
77 =over 4
78  
79 =item * L</id>
80  
81 =back
82  
83 =cut
84  
85 __PACKAGE__->set_primary_key("id");
86  
87  
88 # Created by DBIx::Class::Schema::Loader v0.07017 @ 2012-07-08 11:25:25
89 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:G7xX9T5P0eIsnJYBw+9tUQ
90  
91  
92 # You can replace this text with custom code or comments, and it will be preserved on regeneration
93 __PACKAGE__->belongs_to(operation => 'ExpenseTracker::Models::Result::Operation', 'operation_id');
94 __PACKAGE__->belongs_to(category => 'ExpenseTracker::Models::Result::Operation', 'category_id');
95 1;