2 package Koha
::Schema
::Result
::Aqbookseller
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Aqbookseller
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<aqbooksellers>
22 __PACKAGE__
->table("aqbooksellers");
34 data_type: 'mediumtext'
39 data_type: 'mediumtext'
44 data_type: 'mediumtext'
49 data_type: 'mediumtext'
54 data_type: 'mediumtext'
65 data_type: 'mediumtext'
70 data_type: 'mediumtext'
76 default_value: (empty string)
82 data_type: 'mediumtext'
87 data_type: 'mediumtext'
90 =head2 bookselleremail
92 data_type: 'mediumtext'
97 data_type: 'mediumtext'
108 data_type: 'mediumtext'
149 data_type: 'mediumtext'
211 __PACKAGE__
->add_columns(
213 { data_type
=> "integer", is_auto_increment
=> 1, is_nullable
=> 0 },
215 { data_type
=> "mediumtext", is_nullable
=> 0 },
217 { data_type
=> "mediumtext", is_nullable
=> 1 },
219 { data_type
=> "mediumtext", is_nullable
=> 1 },
221 { data_type
=> "mediumtext", is_nullable
=> 1 },
223 { data_type
=> "mediumtext", is_nullable
=> 1 },
225 { data_type
=> "varchar", is_nullable
=> 1, size
=> 30 },
227 { data_type
=> "mediumtext", is_nullable
=> 1 },
229 { data_type
=> "mediumtext", is_nullable
=> 1 },
231 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 3 },
233 { data_type
=> "mediumtext", is_nullable
=> 1 },
235 { data_type
=> "mediumtext", is_nullable
=> 1 },
237 { data_type
=> "mediumtext", is_nullable
=> 1 },
239 { data_type
=> "mediumtext", is_nullable
=> 1 },
241 { data_type
=> "varchar", is_nullable
=> 1, size
=> 100 },
243 { data_type
=> "mediumtext", is_nullable
=> 1 },
245 { data_type
=> "varchar", is_nullable
=> 1, size
=> 255 },
247 { data_type
=> "varchar", is_nullable
=> 1, size
=> 100 },
249 { data_type
=> "varchar", is_nullable
=> 1, size
=> 100 },
251 { data_type
=> "varchar", is_nullable
=> 1, size
=> 100 },
253 { data_type
=> "varchar", is_nullable
=> 1, size
=> 100 },
255 { data_type
=> "varchar", is_nullable
=> 1, size
=> 100 },
257 { data_type
=> "mediumtext", is_nullable
=> 1 },
259 { data_type
=> "tinyint", is_nullable
=> 1 },
261 { data_type
=> "varchar", is_foreign_key
=> 1, is_nullable
=> 1, size
=> 10 },
263 { data_type
=> "varchar", is_foreign_key
=> 1, is_nullable
=> 1, size
=> 10 },
265 { data_type
=> "tinyint", is_nullable
=> 1 },
267 { data_type
=> "tinyint", is_nullable
=> 1 },
269 { data_type
=> "tinyint", is_nullable
=> 1 },
271 { data_type
=> "decimal", is_nullable
=> 1, size
=> [6, 4] },
273 { data_type
=> "float", is_nullable
=> 1, size
=> [6, 4] },
275 { data_type
=> "varchar", is_nullable
=> 1, size
=> 50 },
277 { data_type
=> "integer", is_nullable
=> 1 },
290 __PACKAGE__
->set_primary_key("id");
294 =head2 aqbasketgroups
298 Related object: L<Koha::Schema::Result::Aqbasketgroup>
302 __PACKAGE__
->has_many(
304 "Koha::Schema::Result::Aqbasketgroup",
305 { "foreign.booksellerid" => "self.id" },
306 { cascade_copy
=> 0, cascade_delete
=> 0 },
313 Related object: L<Koha::Schema::Result::Aqbasket>
317 __PACKAGE__
->has_many(
319 "Koha::Schema::Result::Aqbasket",
320 { "foreign.booksellerid" => "self.id" },
321 { cascade_copy
=> 0, cascade_delete
=> 0 },
328 Related object: L<Koha::Schema::Result::Aqcontract>
332 __PACKAGE__
->has_many(
334 "Koha::Schema::Result::Aqcontract",
335 { "foreign.booksellerid" => "self.id" },
336 { cascade_copy
=> 0, cascade_delete
=> 0 },
343 Related object: L<Koha::Schema::Result::Aqinvoice>
347 __PACKAGE__
->has_many(
349 "Koha::Schema::Result::Aqinvoice",
350 { "foreign.booksellerid" => "self.id" },
351 { cascade_copy
=> 0, cascade_delete
=> 0 },
358 Related object: L<Koha::Schema::Result::Currency>
362 __PACKAGE__
->belongs_to(
364 "Koha::Schema::Result::Currency",
365 { currency
=> "invoiceprice" },
369 on_delete
=> "CASCADE",
370 on_update
=> "CASCADE",
378 Related object: L<Koha::Schema::Result::Currency>
382 __PACKAGE__
->belongs_to(
384 "Koha::Schema::Result::Currency",
385 { currency
=> "listprice" },
389 on_delete
=> "CASCADE",
390 on_update
=> "CASCADE",
395 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
396 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Pqq5chHLUwm5Ss5CCQBL2g
399 # You can replace this text with custom content, and it will be preserved on regeneration