3 See the NOTICE file distributed with
this work
for additional information
4 regarding copyright ownership.
6 Licensed under the Apache License, Version 2.0 (the
"License");
7 you may not use
this file except in compliance with the License.
8 You may obtain a copy of the License at
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an
"AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License
for the specific language governing permissions and
16 limitations under the License.
20 package Xref::Schema::Result::TranscriptDirectXref;
32 use base
'DBIx::Class::Core';
34 =head1 TABLE: C<transcript_direct_xref>
38 __PACKAGE__->table(
"transcript_direct_xref");
42 =head2 general_xref_id
45 extra: {
unsigned => 1}
48 =head2 ensembl_stable_id
62 __PACKAGE__->add_columns(
64 { data_type =>
"integer", extra => {
unsigned => 1 }, is_nullable => 0 },
66 { data_type =>
"varchar", is_nullable => 1, size => 255 },
68 { data_type =>
"varchar", is_nullable => 1, size => 255 },
71 __PACKAGE__->has_one(
'xref',
'Xref::Schema::Result::Xref', {
'foreign.xref_id' =>
'self.general_xref_id' });