Merge pull request #42 from solgenomics/topic/duplicate_image_warning
[cxgn-corelibs.git] / lib / SGN / Schema / UnigeneMember.pm
blob4f5bb486f8bda5dc4bdf345f9efb7d6d175b24ce
1 package SGN::Schema::UnigeneMember;
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::UnigeneMember
16 =cut
18 __PACKAGE__->table("unigene_member");
20 =head1 ACCESSORS
22 =head2 unigene_member_id
24 data_type: 'integer'
25 is_auto_increment: 1
26 is_nullable: 0
27 sequence: 'unigene_member_unigene_member_id_seq'
29 =head2 unigene_id
31 data_type: 'integer'
32 default_value: 0
33 is_foreign_key: 1
34 is_nullable: 0
36 =head2 est_id
38 data_type: 'integer'
39 is_foreign_key: 1
40 is_nullable: 1
42 =head2 start
44 data_type: 'bigint'
45 is_nullable: 1
47 =head2 stop
49 data_type: 'bigint'
50 is_nullable: 1
52 =head2 qstart
54 data_type: 'bigint'
55 is_nullable: 1
57 =head2 qend
59 data_type: 'bigint'
60 is_nullable: 1
62 =head2 dir
64 data_type: 'char'
65 is_nullable: 1
66 size: 1
68 =cut
70 __PACKAGE__->add_columns(
71 "unigene_member_id",
73 data_type => "integer",
74 is_auto_increment => 1,
75 is_nullable => 0,
76 sequence => "unigene_member_unigene_member_id_seq",
78 "unigene_id",
80 data_type => "integer",
81 default_value => 0,
82 is_foreign_key => 1,
83 is_nullable => 0,
85 "est_id",
86 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
87 "start",
88 { data_type => "bigint", is_nullable => 1 },
89 "stop",
90 { data_type => "bigint", is_nullable => 1 },
91 "qstart",
92 { data_type => "bigint", is_nullable => 1 },
93 "qend",
94 { data_type => "bigint", is_nullable => 1 },
95 "dir",
96 { data_type => "char", is_nullable => 1, size => 1 },
98 __PACKAGE__->set_primary_key("unigene_member_id");
100 =head1 RELATIONS
102 =head2 unigene
104 Type: belongs_to
106 Related object: L<SGN::Schema::Unigene>
108 =cut
110 __PACKAGE__->belongs_to(
111 "unigene",
112 "SGN::Schema::Unigene",
113 { unigene_id => "unigene_id" },
114 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
117 =head2 est
119 Type: belongs_to
121 Related object: L<SGN::Schema::Est>
123 =cut
125 __PACKAGE__->belongs_to(
126 "est",
127 "SGN::Schema::Est",
128 { est_id => "est_id" },
130 is_deferrable => 1,
131 join_type => "LEFT",
132 on_delete => "CASCADE",
133 on_update => "CASCADE",
138 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:35:39
139 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2oZk+NBGlTaYYsoDTPnXHQ
142 # You can replace this text with custom content, and it will be preserved on regeneration