Chinook/DB/Result/InvoiceLine.pm untested

filter: Statementstmt 0.0% 0 / 27 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod n/a totaltotal 0.0% 0 / 33 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 Rapi::Demo::Chinook::DB::Result::InvoiceLine;
3  
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6  
7 use strict;
8 use warnings;
9  
10 use Moose;
11 use MooseX::NonMoose;
12 use MooseX::MarkAsMethods autoclean => 1;
13 extends 'DBIx::Class::Core';
14 __PACKAGE__->load_components("InflateColumn::DateTime");
15 __PACKAGE__->table("InvoiceLine");
16 __PACKAGE__->add_columns(
17 "invoicelineid",
18 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
19 "invoiceid",
20 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
21 "trackid",
22 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
23 "unitprice",
24 { data_type => "numeric", is_nullable => 0, size => [10, 2] },
25 "quantity",
26 { data_type => "integer", is_nullable => 0 },
27 );
28 __PACKAGE__->set_primary_key("invoicelineid");
29 __PACKAGE__->belongs_to(
30 "invoiceid",
31 "Rapi::Demo::Chinook::DB::Result::Invoice",
32 { invoiceid => "invoiceid" },
33 { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
34 );
35 __PACKAGE__->belongs_to(
36 "trackid",
37 "Rapi::Demo::Chinook::DB::Result::Track",
38 { trackid => "trackid" },
39 { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
40 );
41  
42  
43 # Created by DBIx::Class::Schema::Loader v0.07036 @ 2013-09-12 15:36:29
44 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/fHkaVziPDQhBw3lU+JmUA
45  
46  
47 # You can replace this text with custom code or comments, and it will be preserved on regeneration
48 __PACKAGE__->meta->make_immutable;
49 1;