Merge pull request #42 from solgenomics/topic/duplicate_image_warning
[cxgn-corelibs.git] / lib / SGN / Schema / RflpUnigeneAssociation.pm
blob74c23ead9a0f31429c0160d1230b1943d4812f75
1 package SGN::Schema::RflpUnigeneAssociation;
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::RflpUnigeneAssociation
16 =cut
18 __PACKAGE__->table("rflp_unigene_associations");
20 =head1 ACCESSORS
22 =head2 rflp_unigene_assoc_id
24 data_type: 'integer'
25 is_auto_increment: 1
26 is_nullable: 0
27 sequence: 'rflp_unigene_associations_rflp_unigene_assoc_id_seq'
29 =head2 rflp_seq_id
31 data_type: 'bigint'
32 is_foreign_key: 1
33 is_nullable: 1
35 =head2 unigene_id
37 data_type: 'bigint'
38 is_foreign_key: 1
39 is_nullable: 1
41 =head2 e_val
43 data_type: 'double precision'
44 is_nullable: 1
46 =head2 align_length
48 data_type: 'bigint'
49 is_nullable: 1
51 =head2 query_start
53 data_type: 'bigint'
54 is_nullable: 1
56 =head2 query_end
58 data_type: 'bigint'
59 is_nullable: 1
61 =cut
63 __PACKAGE__->add_columns(
64 "rflp_unigene_assoc_id",
66 data_type => "integer",
67 is_auto_increment => 1,
68 is_nullable => 0,
69 sequence => "rflp_unigene_associations_rflp_unigene_assoc_id_seq",
71 "rflp_seq_id",
72 { data_type => "bigint", is_foreign_key => 1, is_nullable => 1 },
73 "unigene_id",
74 { data_type => "bigint", is_foreign_key => 1, is_nullable => 1 },
75 "e_val",
76 { data_type => "double precision", is_nullable => 1 },
77 "align_length",
78 { data_type => "bigint", is_nullable => 1 },
79 "query_start",
80 { data_type => "bigint", is_nullable => 1 },
81 "query_end",
82 { data_type => "bigint", is_nullable => 1 },
84 __PACKAGE__->set_primary_key("rflp_unigene_assoc_id");
86 =head1 RELATIONS
88 =head2 unigene
90 Type: belongs_to
92 Related object: L<SGN::Schema::Unigene>
94 =cut
96 __PACKAGE__->belongs_to(
97 "unigene",
98 "SGN::Schema::Unigene",
99 { unigene_id => "unigene_id" },
101 is_deferrable => 1,
102 join_type => "LEFT",
103 on_delete => "CASCADE",
104 on_update => "CASCADE",
108 =head2 rflp_seq
110 Type: belongs_to
112 Related object: L<SGN::Schema::RflpSequence>
114 =cut
116 __PACKAGE__->belongs_to(
117 "rflp_seq",
118 "SGN::Schema::RflpSequence",
119 { seq_id => "rflp_seq_id" },
121 is_deferrable => 1,
122 join_type => "LEFT",
123 on_delete => "CASCADE",
124 on_update => "CASCADE",
129 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
130 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8HiLrErnVTkuUbndvyRZ9g
133 # You can replace this text with custom content, and it will be preserved on regeneration