"Fossies" - the Fresh Open Source Software Archive

Member "koha-19.11.15/Koha/Schema/Result/ImportBiblio.pm" (23 Feb 2021, 2291 Bytes) of package /linux/misc/koha-19.11.15.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Perl source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "ImportBiblio.pm" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 20.05.06_vs_20.11.00.

    1 use utf8;
    2 package Koha::Schema::Result::ImportBiblio;
    3 
    4 # Created by DBIx::Class::Schema::Loader
    5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
    6 
    7 =head1 NAME
    8 
    9 Koha::Schema::Result::ImportBiblio
   10 
   11 =cut
   12 
   13 use strict;
   14 use warnings;
   15 
   16 use base 'DBIx::Class::Core';
   17 
   18 =head1 TABLE: C<import_biblios>
   19 
   20 =cut
   21 
   22 __PACKAGE__->table("import_biblios");
   23 
   24 =head1 ACCESSORS
   25 
   26 =head2 import_record_id
   27 
   28   data_type: 'integer'
   29   is_foreign_key: 1
   30   is_nullable: 0
   31 
   32 =head2 matched_biblionumber
   33 
   34   data_type: 'integer'
   35   is_nullable: 1
   36 
   37 =head2 control_number
   38 
   39   data_type: 'varchar'
   40   is_nullable: 1
   41   size: 25
   42 
   43 =head2 original_source
   44 
   45   data_type: 'varchar'
   46   is_nullable: 1
   47   size: 25
   48 
   49 =head2 title
   50 
   51   data_type: 'varchar'
   52   is_nullable: 1
   53   size: 128
   54 
   55 =head2 author
   56 
   57   data_type: 'varchar'
   58   is_nullable: 1
   59   size: 80
   60 
   61 =head2 isbn
   62 
   63   data_type: 'varchar'
   64   is_nullable: 1
   65   size: 30
   66 
   67 =head2 issn
   68 
   69   data_type: 'varchar'
   70   is_nullable: 1
   71   size: 9
   72 
   73 =head2 has_items
   74 
   75   data_type: 'tinyint'
   76   default_value: 0
   77   is_nullable: 0
   78 
   79 =cut
   80 
   81 __PACKAGE__->add_columns(
   82   "import_record_id",
   83   { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
   84   "matched_biblionumber",
   85   { data_type => "integer", is_nullable => 1 },
   86   "control_number",
   87   { data_type => "varchar", is_nullable => 1, size => 25 },
   88   "original_source",
   89   { data_type => "varchar", is_nullable => 1, size => 25 },
   90   "title",
   91   { data_type => "varchar", is_nullable => 1, size => 128 },
   92   "author",
   93   { data_type => "varchar", is_nullable => 1, size => 80 },
   94   "isbn",
   95   { data_type => "varchar", is_nullable => 1, size => 30 },
   96   "issn",
   97   { data_type => "varchar", is_nullable => 1, size => 9 },
   98   "has_items",
   99   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
  100 );
  101 
  102 =head1 RELATIONS
  103 
  104 =head2 import_record
  105 
  106 Type: belongs_to
  107 
  108 Related object: L<Koha::Schema::Result::ImportRecord>
  109 
  110 =cut
  111 
  112 __PACKAGE__->belongs_to(
  113   "import_record",
  114   "Koha::Schema::Result::ImportRecord",
  115   { import_record_id => "import_record_id" },
  116   { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
  117 );
  118 
  119 
  120 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
  121 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6dQmL78YztbxS9qXHciPTQ
  122 
  123 
  124 # You can replace this text with custom content, and it will be preserved on regeneration
  125 1;