ensembl-hive  2.8.1
TranscriptStableId.pm
Go to the documentation of this file.
1 =head1 LICENSE
2 
3 See the NOTICE file distributed with this work for additional information
4 regarding copyright ownership.
5 
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
9 
10  http://www.apache.org/licenses/LICENSE-2.0
11 
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.
17 
18 =cut
19 
20 package Xref::Schema::Result::TranscriptStableId;
21 
22 =head1 NAME
23 
25 
26 =cut
27 
28 use strict;
29 use warnings;
30 use utf8;
31 
32 use base 'DBIx::Class::Core';
33 
34 =head1 TABLE: C<transcript_stable_id>
35 
36 =cut
37 
38 __PACKAGE__->table("transcript_stable_id");
39 
40 =head1 ACCESSORS
41 
42 =head2 internal_id
43 
44  data_type: 'integer'
45  extra: {unsigned => 1}
46  is_nullable: 0
47 
48 =head2 stable_id
49 
50  data_type: 'varchar'
51  is_nullable: 0
52  size: 128
53 
54 =head2 display_xref_id
55 
56  data_type: 'integer'
57  extra: {unsigned => 1}
58  is_nullable: 1
59 
60 =head2 biotype
61 
62  data_type: 'varchar'
63  is_nullable: 0
64  size: 40
65 
66 =cut
67 
68 __PACKAGE__->add_columns(
69  "internal_id",
70  { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 0 },
71  "stable_id",
72  { data_type => "varchar", is_nullable => 0, size => 128 },
73  "display_xref_id",
74  { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 },
75  "biotype",
76  { data_type => "varchar", is_nullable => 0, size => 40 },
77 );
78 
79 =head1 PRIMARY KEY
80 
81 =over 4
82 
83 =item * L</stable_id>
84 
85 =back
86 
87 =cut
88 
89 __PACKAGE__->set_primary_key("stable_id");
90 
91 1;
Xref::Schema::Result::TranscriptStableId
Definition: TranscriptStableId.pm:5