Merge pull request #42 from solgenomics/topic/duplicate_image_warning
[cxgn-corelibs.git] / lib / SGN / Schema / PcrExperimentSequence.pm
blob5e636dae33c6f812f8b25c4602b2986da3d5b9f7
1 package SGN::Schema::PcrExperimentSequence;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6 use strict;
7 use warnings;
9 use base 'DBIx::Class::Core';
12 =head1 NAME
14 SGN::Schema::PcrExperimentSequence
16 =cut
18 __PACKAGE__->table("pcr_experiment_sequence");
20 =head1 ACCESSORS
22 =head2 pcr_experiment_sequence_id
24 data_type: 'integer'
25 is_auto_increment: 1
26 is_nullable: 0
27 sequence: 'sgn.pcr_experiment_sequence_pcr_experiment_sequence_id_seq'
29 =head2 pcr_experiment_id
31 data_type: 'integer'
32 is_foreign_key: 1
33 is_nullable: 0
35 =head2 sequence_id
37 data_type: 'integer'
38 is_foreign_key: 1
39 is_nullable: 0
41 =head2 type_id
43 data_type: 'integer'
44 is_nullable: 1
46 =cut
48 __PACKAGE__->add_columns(
49 "pcr_experiment_sequence_id",
51 data_type => "integer",
52 is_auto_increment => 1,
53 is_nullable => 0,
54 sequence => "sgn.pcr_experiment_sequence_pcr_experiment_sequence_id_seq",
56 "pcr_experiment_id",
57 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
58 "sequence_id",
59 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
60 "type_id",
61 { data_type => "integer", is_nullable => 1 },
63 __PACKAGE__->set_primary_key("pcr_experiment_sequence_id");
65 =head1 RELATIONS
67 =head2 pcr_experiment
69 Type: belongs_to
71 Related object: L<SGN::Schema::PcrExperiment>
73 =cut
75 __PACKAGE__->belongs_to(
76 "pcr_experiment",
77 "SGN::Schema::PcrExperiment",
78 { pcr_experiment_id => "pcr_experiment_id" },
79 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
82 =head2 sequence
84 Type: belongs_to
86 Related object: L<SGN::Schema::Sequence>
88 =cut
90 __PACKAGE__->belongs_to(
91 "sequence",
92 "SGN::Schema::Sequence",
93 { sequence_id => "sequence_id" },
94 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
98 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
99 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:95CRo7IhbTOypksTtsBcCw
102 # You can replace this text with custom content, and it will be preserved on regeneration