1 package SGN
::Schema
::Est
;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base
'DBIx::Class::Core';
18 __PACKAGE__
->table("est");
27 sequence: 'est_est_id_seq'
76 =head2 genbank_submission_date
81 =head2 genbank_confirmed
88 __PACKAGE__
->add_columns(
91 data_type
=> "integer",
92 is_auto_increment
=> 1,
94 sequence
=> "est_est_id_seq",
97 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 1 },
99 { data_type
=> "integer", is_nullable
=> 1 },
101 { data_type
=> "varchar", is_nullable
=> 1, size
=> 40 },
103 { data_type
=> "text", is_nullable
=> 1 },
105 { data_type
=> "text", is_nullable
=> 1 },
107 { data_type
=> "text", is_nullable
=> 1 },
109 { data_type
=> "integer", is_nullable
=> 1 },
111 { data_type
=> "bigint", is_nullable
=> 1 },
113 { data_type
=> "date", is_nullable
=> 1 },
114 "genbank_submission_date",
115 { data_type
=> "date", is_nullable
=> 1 },
117 { data_type
=> "boolean", is_nullable
=> 1 },
119 __PACKAGE__
->set_primary_key("est_id");
127 Related object: L<SGN::Schema::Seqread>
131 __PACKAGE__
->belongs_to(
133 "SGN::Schema::Seqread",
134 { read_id
=> "read_id" },
138 on_delete
=> "CASCADE",
139 on_update
=> "CASCADE",
147 Related object: L<SGN::Schema::EstDbxref>
151 __PACKAGE__
->has_many(
153 "SGN::Schema::EstDbxref",
154 { "foreign.est_id" => "self.est_id" },
155 { cascade_copy
=> 0, cascade_delete
=> 0 },
162 Related object: L<SGN::Schema::QcReport>
166 __PACKAGE__
->might_have(
168 "SGN::Schema::QcReport",
169 { "foreign.est_id" => "self.est_id" },
170 { cascade_copy
=> 0, cascade_delete
=> 0 },
173 =head2 unigene_members
177 Related object: L<SGN::Schema::UnigeneMember>
181 __PACKAGE__
->has_many(
183 "SGN::Schema::UnigeneMember",
184 { "foreign.est_id" => "self.est_id" },
185 { cascade_copy
=> 0, cascade_delete
=> 0 },
189 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
190 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:DeimiLHdVqQ+IoBlB+xxog
195 if( my $qc = $self->qc_report ) {
196 return substr( $self->seq, $qc->hqi_start, $qc->hqi_length );
203 # You can replace this text with custom content, and it will be preserved on regeneration