2 package Koha::Schema::Result::Stockrotationrota;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Stockrotationrota
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<stockrotationrotas>
22 __PACKAGE__->table("stockrotationrotas");
57 __PACKAGE__->add_columns(
59 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
61 { data_type => "varchar", is_nullable => 0, size => 100 },
63 { data_type => "text", is_nullable => 0 },
65 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
67 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
80 __PACKAGE__->set_primary_key("rota_id");
84 =head2 stockrotationstages
88 Related object: L<Koha::Schema::Result::Stockrotationstage>
92 __PACKAGE__->has_many(
93 "stockrotationstages",
94 "Koha::Schema::Result::Stockrotationstage",
95 { "foreign.rota_id" => "self.rota_id" },
96 { cascade_copy => 0, cascade_delete => 0 },
100 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-09 15:50:42
101 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lTIDZ+w+46Kniub5Tqpqlg
103 __PACKAGE__->add_columns(
104 '+cyclical' => { is_boolean => 1 },
105 '+active' => { is_boolean => 1 }
108 # You can replace this text with custom code or comments, and it will be preserved on regeneration