"Fossies" - the Fresh Open Source Software Archive

Member "koha-19.11.15/Koha/Schema/Result/MessageTransportType.pm" (23 Feb 2021, 2979 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 "MessageTransportType.pm" see the Fossies "Dox" file reference documentation.

    1 use utf8;
    2 package Koha::Schema::Result::MessageTransportType;
    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::MessageTransportType
   10 
   11 =cut
   12 
   13 use strict;
   14 use warnings;
   15 
   16 use base 'DBIx::Class::Core';
   17 
   18 =head1 TABLE: C<message_transport_types>
   19 
   20 =cut
   21 
   22 __PACKAGE__->table("message_transport_types");
   23 
   24 =head1 ACCESSORS
   25 
   26 =head2 message_transport_type
   27 
   28   data_type: 'varchar'
   29   is_nullable: 0
   30   size: 20
   31 
   32 =cut
   33 
   34 __PACKAGE__->add_columns(
   35   "message_transport_type",
   36   { data_type => "varchar", is_nullable => 0, size => 20 },
   37 );
   38 
   39 =head1 PRIMARY KEY
   40 
   41 =over 4
   42 
   43 =item * L</message_transport_type>
   44 
   45 =back
   46 
   47 =cut
   48 
   49 __PACKAGE__->set_primary_key("message_transport_type");
   50 
   51 =head1 RELATIONS
   52 
   53 =head2 borrower_message_transport_preferences
   54 
   55 Type: has_many
   56 
   57 Related object: L<Koha::Schema::Result::BorrowerMessageTransportPreference>
   58 
   59 =cut
   60 
   61 __PACKAGE__->has_many(
   62   "borrower_message_transport_preferences",
   63   "Koha::Schema::Result::BorrowerMessageTransportPreference",
   64   {
   65     "foreign.message_transport_type" => "self.message_transport_type",
   66   },
   67   { cascade_copy => 0, cascade_delete => 0 },
   68 );
   69 
   70 =head2 letters
   71 
   72 Type: has_many
   73 
   74 Related object: L<Koha::Schema::Result::Letter>
   75 
   76 =cut
   77 
   78 __PACKAGE__->has_many(
   79   "letters",
   80   "Koha::Schema::Result::Letter",
   81   {
   82     "foreign.message_transport_type" => "self.message_transport_type",
   83   },
   84   { cascade_copy => 0, cascade_delete => 0 },
   85 );
   86 
   87 =head2 message_queues
   88 
   89 Type: has_many
   90 
   91 Related object: L<Koha::Schema::Result::MessageQueue>
   92 
   93 =cut
   94 
   95 __PACKAGE__->has_many(
   96   "message_queues",
   97   "Koha::Schema::Result::MessageQueue",
   98   {
   99     "foreign.message_transport_type" => "self.message_transport_type",
  100   },
  101   { cascade_copy => 0, cascade_delete => 0 },
  102 );
  103 
  104 =head2 message_transports
  105 
  106 Type: has_many
  107 
  108 Related object: L<Koha::Schema::Result::MessageTransport>
  109 
  110 =cut
  111 
  112 __PACKAGE__->has_many(
  113   "message_transports",
  114   "Koha::Schema::Result::MessageTransport",
  115   {
  116     "foreign.message_transport_type" => "self.message_transport_type",
  117   },
  118   { cascade_copy => 0, cascade_delete => 0 },
  119 );
  120 
  121 =head2 overduerules_transport_types
  122 
  123 Type: has_many
  124 
  125 Related object: L<Koha::Schema::Result::OverduerulesTransportType>
  126 
  127 =cut
  128 
  129 __PACKAGE__->has_many(
  130   "overduerules_transport_types",
  131   "Koha::Schema::Result::OverduerulesTransportType",
  132   {
  133     "foreign.message_transport_type" => "self.message_transport_type",
  134   },
  135   { cascade_copy => 0, cascade_delete => 0 },
  136 );
  137 
  138 =head2 borrower_message_preferences
  139 
  140 Type: many_to_many
  141 
  142 Composing rels: L</borrower_message_transport_preferences> -> borrower_message_preference
  143 
  144 =cut
  145 
  146 __PACKAGE__->many_to_many(
  147   "borrower_message_preferences",
  148   "borrower_message_transport_preferences",
  149   "borrower_message_preference",
  150 );
  151 
  152 
  153 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2014-05-02 18:04:32
  154 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YpzL/dxDWq//5vqXfvHoVQ
  155 
  156 
  157 # You can replace this text with custom content, and it will be preserved on regeneration
  158 1;