2 package Koha
::Schema
::Result
::Branchtransfer
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Branchtransfer
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<branchtransfers>
22 __PACKAGE__
->table("branchtransfers");
36 datetime_undef_if_invalid: 1
42 default_value: (empty string)
50 datetime_undef_if_invalid: 1
56 default_value: (empty string)
63 data_type: 'mediumtext'
68 __PACKAGE__
->add_columns(
71 data_type
=> "integer",
78 data_type
=> "datetime",
79 datetime_undef_if_invalid
=> 1,
84 data_type
=> "varchar",
92 data_type
=> "datetime",
93 datetime_undef_if_invalid
=> 1,
98 data_type
=> "varchar",
105 { data_type
=> "mediumtext", is_nullable
=> 1 },
114 Related object: L<Koha::Schema::Result::Branch>
118 __PACKAGE__
->belongs_to(
120 "Koha::Schema::Result::Branch",
121 { branchcode
=> "frombranch" },
122 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
129 Related object: L<Koha::Schema::Result::Item>
133 __PACKAGE__
->belongs_to(
135 "Koha::Schema::Result::Item",
136 { itemnumber
=> "itemnumber" },
137 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
144 Related object: L<Koha::Schema::Result::Branch>
148 __PACKAGE__
->belongs_to(
150 "Koha::Schema::Result::Branch",
151 { branchcode
=> "tobranch" },
152 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
156 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
157 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NPbH+5o2BVPj8yeoUqEavw
160 # You can replace this text with custom content, and it will be preserved on regeneration