"Fossies" - the Fresh Open Source Software Archive

Member "koha-19.11.15/Koha/Schema/Result/Alert.pm" (23 Feb 2021, 1421 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 "Alert.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::Alert;
    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::Alert
   10 
   11 =cut
   12 
   13 use strict;
   14 use warnings;
   15 
   16 use base 'DBIx::Class::Core';
   17 
   18 =head1 TABLE: C<alert>
   19 
   20 =cut
   21 
   22 __PACKAGE__->table("alert");
   23 
   24 =head1 ACCESSORS
   25 
   26 =head2 alertid
   27 
   28   data_type: 'integer'
   29   is_auto_increment: 1
   30   is_nullable: 0
   31 
   32 =head2 borrowernumber
   33 
   34   data_type: 'integer'
   35   default_value: 0
   36   is_nullable: 0
   37 
   38 =head2 type
   39 
   40   data_type: 'varchar'
   41   default_value: (empty string)
   42   is_nullable: 0
   43   size: 10
   44 
   45 =head2 externalid
   46 
   47   data_type: 'varchar'
   48   default_value: (empty string)
   49   is_nullable: 0
   50   size: 20
   51 
   52 =cut
   53 
   54 __PACKAGE__->add_columns(
   55   "alertid",
   56   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
   57   "borrowernumber",
   58   { data_type => "integer", default_value => 0, is_nullable => 0 },
   59   "type",
   60   { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
   61   "externalid",
   62   { data_type => "varchar", default_value => "", is_nullable => 0, size => 20 },
   63 );
   64 
   65 =head1 PRIMARY KEY
   66 
   67 =over 4
   68 
   69 =item * L</alertid>
   70 
   71 =back
   72 
   73 =cut
   74 
   75 __PACKAGE__->set_primary_key("alertid");
   76 
   77 
   78 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
   79 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:O4b7dlkDRkE6WLPKI5AO+A
   80 
   81 
   82 # You can replace this text with custom content, and it will be preserved on regeneration
   83 1;