2 package Koha::Schema::Result::Aqcontact;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Aqcontact
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<aqcontacts>
22 __PACKAGE__->table("aqcontacts");
73 =head2 orderacquisition
79 =head2 claimacquisition
111 __PACKAGE__->add_columns(
113 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
115 { data_type => "varchar", is_nullable => 1, size => 100 },
117 { data_type => "varchar", is_nullable => 1, size => 100 },
119 { data_type => "varchar", is_nullable => 1, size => 100 },
121 { data_type => "varchar", is_nullable => 1, size => 100 },
123 { data_type => "varchar", is_nullable => 1, size => 100 },
125 { data_type => "varchar", is_nullable => 1, size => 100 },
127 { data_type => "longtext", is_nullable => 1 },
129 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
131 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
133 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
135 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
137 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
139 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
152 __PACKAGE__->set_primary_key("id");
160 Related object: L<Koha::Schema::Result::Aqbookseller>
164 __PACKAGE__->belongs_to(
166 "Koha::Schema::Result::Aqbookseller",
167 { id => "booksellerid" },
168 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
172 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
173 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:R2x8Z9Db2oDULEODgLuw8Q
175 sub koha_object_class {
176 'Koha::Acquisition::Bookseller::Contact';
178 sub koha_objects_class {
179 'Koha::Acquisition::Bookseller::Contacts';