1 package Koha::Schema::Result::Virtualshelfshare;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base 'DBIx::Class::Core';
14 Koha::Schema::Result::Virtualshelfshare
18 __PACKAGE__->table("virtualshelfshares");
53 __PACKAGE__->add_columns(
55 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
57 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
59 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
61 { data_type => "varchar", is_nullable => 1, size => 10 },
63 { data_type => "datetime", is_nullable => 1 },
65 __PACKAGE__->set_primary_key("id");
73 Related object: L<Koha::Schema::Result::Virtualshelve>
77 __PACKAGE__->belongs_to(
79 "Koha::Schema::Result::Virtualshelve",
80 { shelfnumber => "shelfnumber" },
81 { on_delete => "CASCADE", on_update => "CASCADE" },
88 Related object: L<Koha::Schema::Result::Borrower>
92 __PACKAGE__->belongs_to(
94 "Koha::Schema::Result::Borrower",
95 { borrowernumber => "borrowernumber" },
96 { join_type => "LEFT", on_delete => "CASCADE", on_update => "CASCADE" },
100 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
101 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wbmtFrbzS+jaFaiZRZ0uwg
104 # You can replace this text with custom content, and it will be preserved on regeneration