File Coverage

lib/App/SimulateReads/Quality/Schema/Result/SequencingSystem.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1 6     6   10735 use utf8;
  6         16  
  6         52  
2             package App::SimulateReads::Quality::Schema::Result::SequencingSystem;
3              
4             # Created by DBIx::Class::Schema::Loader
5             # DO NOT MODIFY THE FIRST PART OF THIS FILE
6              
7              
8 6     6   262 use strict;
  6         15  
  6         126  
9 6     6   31 use warnings;
  6         14  
  6         201  
10              
11 6     6   34 use base 'DBIx::Class::Core';
  6         19  
  6         1610  
12              
13              
14             __PACKAGE__->table("sequencing_system");
15              
16              
17             __PACKAGE__->add_columns(
18             "id",
19             { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
20             "name",
21             { data_type => "text", is_nullable => 0 },
22             );
23              
24              
25             __PACKAGE__->set_primary_key("id");
26              
27              
28             __PACKAGE__->add_unique_constraint("name_unique", ["name"]);
29              
30              
31             __PACKAGE__->has_many(
32             "qualities",
33             "App::SimulateReads::Quality::Schema::Result::Quality",
34             { "foreign.sequencing_system_id" => "self.id" },
35             { cascade_copy => 0, cascade_delete => 0 },
36             );
37              
38              
39             # Created by DBIx::Class::Schema::Loader v0.07047 @ 2017-09-14 23:37:51
40             # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NTenO9gWSMUFhnomwjCmuQ
41              
42              
43             # You can replace this text with custom code or comments, and it will be preserved on regeneration
44             1;
45              
46             __END__
47              
48             =pod
49              
50             =encoding UTF-8
51              
52             =head1 NAME
53              
54             App::SimulateReads::Quality::Schema::Result::SequencingSystem
55              
56             =head1 VERSION
57              
58             version 0.05
59              
60             =head1 NAME
61              
62             App::SimulateReads::Quality::Schema::Result::SequencingSystem
63              
64             =head1 TABLE: C<sequencing_system>
65              
66             =head1 ACCESSORS
67              
68             =head2 id
69              
70             data_type: 'integer'
71             is_auto_increment: 1
72             is_nullable: 0
73              
74             =head2 name
75              
76             data_type: 'text'
77             is_nullable: 0
78              
79             =head1 PRIMARY KEY
80              
81             =over 4
82              
83             =item * L</id>
84              
85             =back
86              
87             =head1 UNIQUE CONSTRAINTS
88              
89             =head2 C<name_unique>
90              
91             =over 4
92              
93             =item * L</name>
94              
95             =back
96              
97             =head1 RELATIONS
98              
99             =head2 qualities
100              
101             Type: has_many
102              
103             Related object: L<App::SimulateReads::Quality::Schema::Result::Quality>
104              
105             =head1 AUTHOR
106              
107             Thiago L. A. Miller <tmiller@mochsl.org.br>
108              
109             =head1 COPYRIGHT AND LICENSE
110              
111             This software is Copyright (c) 2017 by Teaching and Research Institute from Sírio-Libanês Hospital.
112              
113             This is free software, licensed under:
114              
115             The GNU General Public License, Version 3, June 2007
116              
117             =cut