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'
102 data_type: 'mediumtext'
170 __PACKAGE__->add_columns(
172 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
174 { data_type => "mediumtext", is_nullable => 0 },
176 { data_type => "mediumtext", is_nullable => 1 },
178 { data_type => "mediumtext", is_nullable => 1 },
180 { data_type => "mediumtext", is_nullable => 1 },
182 { data_type => "mediumtext", is_nullable => 1 },
184 { data_type => "varchar", is_nullable => 1, size => 30 },
186 { data_type => "mediumtext", is_nullable => 1 },
188 { data_type => "mediumtext", is_nullable => 1 },
190 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
192 { data_type => "mediumtext", is_nullable => 1 },
194 { data_type => "mediumtext", is_nullable => 1 },
196 { data_type => "mediumtext", is_nullable => 1 },
198 { data_type => "mediumtext", is_nullable => 1 },
200 { data_type => "mediumtext", is_nullable => 1 },
202 { data_type => "varchar", is_nullable => 1, size => 255 },
204 { data_type => "tinyint", is_nullable => 1 },
206 { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
208 { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
210 { data_type => "tinyint", is_nullable => 1 },
212 { data_type => "tinyint", is_nullable => 1 },
214 { data_type => "tinyint", is_nullable => 1 },
216 { data_type => "decimal", is_nullable => 1, size => [6, 4] },
218 { data_type => "float", is_nullable => 1, size => [6, 4] },
220 { data_type => "varchar", is_nullable => 1, size => 50 },
222 { data_type => "integer", is_nullable => 1 },
235 __PACKAGE__->set_primary_key("id");
239 =head2 aqbasketgroups
243 Related object: L<Koha::Schema::Result::Aqbasketgroup>
247 __PACKAGE__->has_many(
249 "Koha::Schema::Result::Aqbasketgroup",
250 { "foreign.booksellerid" => "self.id" },
251 { cascade_copy => 0, cascade_delete => 0 },
258 Related object: L<Koha::Schema::Result::Aqbasket>
262 __PACKAGE__->has_many(
264 "Koha::Schema::Result::Aqbasket",
265 { "foreign.booksellerid" => "self.id" },
266 { cascade_copy => 0, cascade_delete => 0 },
273 Related object: L<Koha::Schema::Result::Aqcontact>
277 __PACKAGE__->has_many(
279 "Koha::Schema::Result::Aqcontact",
280 { "foreign.booksellerid" => "self.id" },
281 { cascade_copy => 0, cascade_delete => 0 },
288 Related object: L<Koha::Schema::Result::Aqcontract>
292 __PACKAGE__->has_many(
294 "Koha::Schema::Result::Aqcontract",
295 { "foreign.booksellerid" => "self.id" },
296 { cascade_copy => 0, cascade_delete => 0 },
303 Related object: L<Koha::Schema::Result::Aqinvoice>
307 __PACKAGE__->has_many(
309 "Koha::Schema::Result::Aqinvoice",
310 { "foreign.booksellerid" => "self.id" },
311 { cascade_copy => 0, cascade_delete => 0 },
318 Related object: L<Koha::Schema::Result::Currency>
322 __PACKAGE__->belongs_to(
324 "Koha::Schema::Result::Currency",
325 { currency => "invoiceprice" },
329 on_delete => "CASCADE",
330 on_update => "CASCADE",
338 Related object: L<Koha::Schema::Result::Currency>
342 __PACKAGE__->belongs_to(
344 "Koha::Schema::Result::Currency",
345 { currency => "listprice" },
349 on_delete => "CASCADE",
350 on_update => "CASCADE",
355 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-09 15:14:35
356 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JPswQh/s5S4nZnUzMckLnw
359 # You can replace this text with custom content, and it will be preserved on regeneration