2 package Koha::Schema::Result::BorrowerModification;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::BorrowerModification
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<borrower_modifications>
22 __PACKAGE__->table("borrower_modifications");
28 data_type: 'timestamp'
29 datetime_undef_if_invalid: 1
30 default_value: current_timestamp
33 =head2 verification_token
36 default_value: (empty string)
54 data_type: 'mediumtext'
64 data_type: 'mediumtext'
69 data_type: 'mediumtext'
91 data_type: 'mediumtext'
101 data_type: 'mediumtext'
122 data_type: 'mediumtext'
138 data_type: 'mediumtext'
151 =head2 B_streetnumber
153 accessor: 'b_streetnumber'
160 accessor: 'b_streettype'
167 accessor: 'b_address'
174 accessor: 'b_address2'
181 data_type: 'mediumtext'
192 accessor: 'b_zipcode'
199 accessor: 'b_country'
212 data_type: 'mediumtext'
218 datetime_undef_if_invalid: 1
236 datetime_undef_if_invalid: 1
242 datetime_undef_if_invalid: 1
258 datetime_undef_if_invalid: 1
261 =head2 debarredcomment
269 data_type: 'mediumtext'
272 =head2 contactfirstname
289 data_type: 'mediumtext'
323 data_type: 'mediumtext'
344 =head2 altcontactfirstname
350 =head2 altcontactsurname
356 =head2 altcontactaddress1
362 =head2 altcontactaddress2
368 =head2 altcontactaddress3
374 =head2 altcontactstate
379 =head2 altcontactzipcode
385 =head2 altcontactcountry
390 =head2 altcontactphone
396 =head2 smsalertnumber
407 =head2 extended_attributes
414 __PACKAGE__->add_columns(
417 data_type => "timestamp",
418 datetime_undef_if_invalid => 1,
419 default_value => \"current_timestamp",
422 "verification_token",
423 { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
425 { data_type => "integer", default_value => 0, is_nullable => 0 },
427 { data_type => "varchar", is_nullable => 1, size => 16 },
429 { data_type => "mediumtext", is_nullable => 1 },
431 { data_type => "text", is_nullable => 1 },
433 { data_type => "mediumtext", is_nullable => 1 },
435 { data_type => "mediumtext", is_nullable => 1 },
437 { data_type => "text", is_nullable => 1 },
439 { data_type => "varchar", is_nullable => 1, size => 10 },
441 { data_type => "varchar", is_nullable => 1, size => 50 },
443 { data_type => "mediumtext", is_nullable => 1 },
445 { data_type => "text", is_nullable => 1 },
447 { data_type => "mediumtext", is_nullable => 1 },
449 { data_type => "text", is_nullable => 1 },
451 { data_type => "varchar", is_nullable => 1, size => 25 },
453 { data_type => "text", is_nullable => 1 },
455 { data_type => "mediumtext", is_nullable => 1 },
457 { data_type => "text", is_nullable => 1 },
459 { data_type => "varchar", is_nullable => 1, size => 50 },
461 { data_type => "mediumtext", is_nullable => 1 },
463 { data_type => "text", is_nullable => 1 },
465 { data_type => "text", is_nullable => 1 },
468 accessor => "b_streetnumber",
469 data_type => "varchar",
475 accessor => "b_streettype",
476 data_type => "varchar",
482 accessor => "b_address",
483 data_type => "varchar",
488 { accessor => "b_address2", data_type => "text", is_nullable => 1 },
490 { accessor => "b_city", data_type => "mediumtext", is_nullable => 1 },
492 { accessor => "b_state", data_type => "text", is_nullable => 1 },
495 accessor => "b_zipcode",
496 data_type => "varchar",
501 { accessor => "b_country", data_type => "text", is_nullable => 1 },
503 { accessor => "b_email", data_type => "text", is_nullable => 1 },
505 { accessor => "b_phone", data_type => "mediumtext", is_nullable => 1 },
507 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
509 { data_type => "varchar", is_nullable => 1, size => 10 },
511 { data_type => "varchar", is_nullable => 1, size => 10 },
513 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
515 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
517 { data_type => "tinyint", is_nullable => 1 },
519 { data_type => "tinyint", is_nullable => 1 },
521 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
523 { data_type => "varchar", is_nullable => 1, size => 255 },
525 { data_type => "mediumtext", is_nullable => 1 },
527 { data_type => "text", is_nullable => 1 },
529 { data_type => "text", is_nullable => 1 },
531 { data_type => "integer", is_nullable => 1 },
533 { data_type => "mediumtext", is_nullable => 1 },
535 { data_type => "varchar", is_nullable => 1, size => 100 },
537 { data_type => "varchar", is_nullable => 1, size => 1 },
539 { data_type => "varchar", is_nullable => 1, size => 30 },
541 { data_type => "integer", is_nullable => 1 },
543 { data_type => "varchar", is_nullable => 1, size => 75 },
545 { data_type => "mediumtext", is_nullable => 1 },
547 { data_type => "varchar", is_nullable => 1, size => 255 },
549 { data_type => "varchar", is_nullable => 1, size => 80 },
551 { data_type => "varchar", is_nullable => 1, size => 80 },
552 "altcontactfirstname",
553 { data_type => "varchar", is_nullable => 1, size => 255 },
555 { data_type => "varchar", is_nullable => 1, size => 255 },
556 "altcontactaddress1",
557 { data_type => "varchar", is_nullable => 1, size => 255 },
558 "altcontactaddress2",
559 { data_type => "varchar", is_nullable => 1, size => 255 },
560 "altcontactaddress3",
561 { data_type => "varchar", is_nullable => 1, size => 255 },
563 { data_type => "text", is_nullable => 1 },
565 { data_type => "varchar", is_nullable => 1, size => 50 },
567 { data_type => "text", is_nullable => 1 },
569 { data_type => "varchar", is_nullable => 1, size => 50 },
571 { data_type => "varchar", is_nullable => 1, size => 50 },
573 { data_type => "integer", is_nullable => 1 },
574 "extended_attributes",
575 { data_type => "text", is_nullable => 1 },
582 =item * L</verification_token>
584 =item * L</borrowernumber>
590 __PACKAGE__->set_primary_key("verification_token", "borrowernumber");
593 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-12-12 20:04:12
594 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IZNhBX5Bj+x4S8JCWG+7lA
597 # You can replace this text with custom content, and it will be preserved on regeneration