| 1 | package Bio::Chado::Schema::Result::Stock::StockRelationshipPubscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Stock/StockRelationshipPub/; |
| 2 | BEGIN { |
| 3 | $Bio::Chado::Schema::Result::Stock::StockRelationshipPub::AUTHORITYscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Stock/StockRelationshipPub/$AUTHORITY. = 'cpan:RBUELS'; |
| 4 | } |
| 5 | { |
| 6 | $Bio::Chado::Schema::Result::Stock::StockRelationshipPub::VERSIONscip-perl cpan Bio-Chado-Schema 0.20000 Bio/Chado/Schema/Result/Stock/StockRelationshipPub/$VERSION. = '0.20000'; |
| 7 | } |
| 8 | |
| 9 | # Created by DBIx::Class::Schema::Loader |
| 10 | # DO NOT MODIFY THE FIRST PART OF THIS FILE |
| 11 | |
| 12 | use strictscip-perl cpan Bio-Chado-Schema 0.20000 strict/; |
| 13 | use warningsscip-perl cpan Bio-Chado-Schema 0.20000 warnings/; |
| 14 | |
| 15 | use basescip-perl cpan Bio-Chado-Schema 0.20000 base/ 'DBIx::Class::Core'; |
| 16 | |
| 17 | |
| 18 | =head1 NAME |
| 19 | |
| 20 | Bio::Chado::Schema::Result::Stock::StockRelationshipPub |
| 21 | |
| 22 | =head1 DESCRIPTION |
| 23 | |
| 24 | Provenance. Attach optional evidence to a stock_relationship in the form of a publication. |
| 25 | |
| 26 | =cut |
| 27 | |
| 28 | __PACKAGE__->tablescip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/table().("stock_relationship_pub"); |
| 29 | |
| 30 | =head1 ACCESSORS |
| 31 | |
| 32 | =head2 stock_relationship_pub_id |
| 33 | |
| 34 | data_type: 'integer' |
| 35 | is_auto_increment: 1 |
| 36 | is_nullable: 0 |
| 37 | sequence: 'stock_relationship_pub_stock_relationship_pub_id_seq' |
| 38 | |
| 39 | =head2 stock_relationship_id |
| 40 | |
| 41 | data_type: 'integer' |
| 42 | is_foreign_key: 1 |
| 43 | is_nullable: 0 |
| 44 | |
| 45 | =head2 pub_id |
| 46 | |
| 47 | data_type: 'integer' |
| 48 | is_foreign_key: 1 |
| 49 | is_nullable: 0 |
| 50 | |
| 51 | =cut |
| 52 | |
| 53 | __PACKAGE__->add_columnsscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_columns().( |
| 54 | "stock_relationship_pub_id", |
| 55 | { |
| 56 | data_type => "integer", |
| 57 | is_auto_increment => 1, |
| 58 | is_nullable => 0, |
| 59 | sequence => "stock_relationship_pub_stock_relationship_pub_id_seq", |
| 60 | }, |
| 61 | "stock_relationship_id", |
| 62 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
| 63 | "pub_id", |
| 64 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
| 65 | ); |
| 66 | __PACKAGE__->set_primary_keyscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/set_primary_key().("stock_relationship_pub_id"); |
| 67 | __PACKAGE__->add_unique_constraintscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/add_unique_constraint().( |
| 68 | "stock_relationship_pub_c1", |
| 69 | ["stock_relationship_id", "pub_id"], |
| 70 | ); |
| 71 | |
| 72 | =head1 RELATIONS |
| 73 | |
| 74 | =head2 pub |
| 75 | |
| 76 | Type: belongs_to |
| 77 | |
| 78 | Related object: L<Bio::Chado::Schema::Result::Pub::Pub> |
| 79 | |
| 80 | =cut |
| 81 | |
| 82 | __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().( |
| 83 | "pub", |
| 84 | "Bio::Chado::Schema::Result::Pub::Pub", |
| 85 | { pub_id => "pub_id" }, |
| 86 | { |
| 87 | cascade_copy => 0, |
| 88 | cascade_delete => 0, |
| 89 | is_deferrable => 1, |
| 90 | on_delete => "CASCADE", |
| 91 | on_update => "CASCADE", |
| 92 | }, |
| 93 | ); |
| 94 | |
| 95 | =head2 stock_relationship |
| 96 | |
| 97 | Type: belongs_to |
| 98 | |
| 99 | Related object: L<Bio::Chado::Schema::Result::Stock::StockRelationship> |
| 100 | |
| 101 | =cut |
| 102 | |
| 103 | __PACKAGE__->belongs_toscip-perl cpan Bio-Chado-Schema 0.20000 __PACKAGE__/belongs_to().( |
| 104 | "stock_relationship", |
| 105 | "Bio::Chado::Schema::Result::Stock::StockRelationship", |
| 106 | { stock_relationship_id => "stock_relationship_id" }, |
| 107 | { |
| 108 | cascade_copy => 0, |
| 109 | cascade_delete => 0, |
| 110 | is_deferrable => 1, |
| 111 | on_delete => "CASCADE", |
| 112 | on_update => "CASCADE", |
| 113 | }, |
| 114 | ); |
| 115 | |
| 116 | |
| 117 | # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-03-16 23:09:59 |
| 118 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZF13PkZILl5vVQX8kBtgHA |
| 119 | |
| 120 | |
| 121 | # You can replace this text with custom content, and it will be preserved on regeneration |
| 122 | 1; |