Merge pull request #42 from solgenomics/topic/duplicate_image_warning
[cxgn-corelibs.git] / lib / SGN / Schema / CosMarker.pm
blobb38517e8c240697d5b300df6cb824ea830815fbd
1 package SGN::Schema::CosMarker;
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::CosMarker
16 =cut
18 __PACKAGE__->table("cos_markers");
20 =head1 ACCESSORS
22 =head2 cos_marker_id
24 data_type: 'integer'
25 is_auto_increment: 1
26 is_nullable: 0
27 sequence: 'cos_markers_cos_marker_id_seq'
29 =head2 marker_id
31 data_type: 'bigint'
32 default_value: '0)::bigint'
33 is_foreign_key: 1
34 is_nullable: 0
36 =head2 est_read_id
38 data_type: 'bigint'
39 default_value: '0)::bigint'
40 is_nullable: 0
42 =head2 cos_id
44 data_type: 'varchar'
45 default_value: (empty string)
46 is_nullable: 0
47 size: 10
49 =head2 at_match
51 data_type: 'varchar'
52 is_nullable: 1
53 size: 25
55 =head2 bac_id
57 data_type: 'bigint'
58 is_nullable: 1
60 =head2 at_position
62 data_type: 'numeric'
63 is_nullable: 1
64 size: [11,7]
66 =head2 best_gb_prot_hit
68 data_type: 'varchar'
69 is_nullable: 1
70 size: 25
72 =head2 at_evalue
74 data_type: 'varchar'
75 is_nullable: 1
76 size: 25
78 =head2 at_identities
80 data_type: 'numeric'
81 is_nullable: 1
82 size: [11,3]
84 =head2 mips_cat
86 data_type: 'varchar'
87 is_nullable: 1
88 size: 11
90 =head2 description
92 data_type: 'text'
93 is_nullable: 1
95 =head2 comment
97 data_type: 'text'
98 is_nullable: 1
100 =head2 tomato_copy_number
102 data_type: 'varchar'
103 is_nullable: 1
104 size: 11
106 =head2 gbprot_evalue
108 data_type: 'varchar'
109 is_nullable: 1
110 size: 25
112 =head2 gbprot_identities
114 data_type: 'numeric'
115 is_nullable: 1
116 size: [11,3]
118 =cut
120 __PACKAGE__->add_columns(
121 "cos_marker_id",
123 data_type => "integer",
124 is_auto_increment => 1,
125 is_nullable => 0,
126 sequence => "cos_markers_cos_marker_id_seq",
128 "marker_id",
130 data_type => "bigint",
131 default_value => "0)::bigint",
132 is_foreign_key => 1,
133 is_nullable => 0,
135 "est_read_id",
136 { data_type => "bigint", default_value => "0)::bigint", is_nullable => 0 },
137 "cos_id",
138 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
139 "at_match",
140 { data_type => "varchar", is_nullable => 1, size => 25 },
141 "bac_id",
142 { data_type => "bigint", is_nullable => 1 },
143 "at_position",
144 { data_type => "numeric", is_nullable => 1, size => [11, 7] },
145 "best_gb_prot_hit",
146 { data_type => "varchar", is_nullable => 1, size => 25 },
147 "at_evalue",
148 { data_type => "varchar", is_nullable => 1, size => 25 },
149 "at_identities",
150 { data_type => "numeric", is_nullable => 1, size => [11, 3] },
151 "mips_cat",
152 { data_type => "varchar", is_nullable => 1, size => 11 },
153 "description",
154 { data_type => "text", is_nullable => 1 },
155 "comment",
156 { data_type => "text", is_nullable => 1 },
157 "tomato_copy_number",
158 { data_type => "varchar", is_nullable => 1, size => 11 },
159 "gbprot_evalue",
160 { data_type => "varchar", is_nullable => 1, size => 25 },
161 "gbprot_identities",
162 { data_type => "numeric", is_nullable => 1, size => [11, 3] },
164 __PACKAGE__->set_primary_key("cos_marker_id");
166 =head1 RELATIONS
168 =head2 marker
170 Type: belongs_to
172 Related object: L<SGN::Schema::Marker>
174 =cut
176 __PACKAGE__->belongs_to(
177 "marker",
178 "SGN::Schema::Marker",
179 { marker_id => "marker_id" },
180 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
184 # Created by DBIx::Class::Schema::Loader v0.07002 @ 2012-03-03 12:32:42
185 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:L36UiM4d0cDlEEISeWAGhQ
188 # You can replace this text with custom content, and it will be preserved on regeneration