Bug 23152: (RM follow-up) Add handling for Koha::Plugin::Methods
[koha-equinox.git] / Koha / Schema / Result / PluginMethod.pm
1 use utf8;
2 package Koha::Schema::Result::PluginMethod;
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::PluginMethod
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<plugin_methods>
19
20 =cut
21
22 __PACKAGE__->table("plugin_methods");
23
24 =head1 ACCESSORS
25
26 =head2 plugin_class
27
28   data_type: 'varchar'
29   is_nullable: 0
30   size: 255
31
32 =head2 plugin_method
33
34   data_type: 'varchar'
35   is_nullable: 0
36   size: 255
37
38 =cut
39
40 __PACKAGE__->add_columns(
41   "plugin_class",
42   { data_type => "varchar", is_nullable => 0, size => 255 },
43   "plugin_method",
44   { data_type => "varchar", is_nullable => 0, size => 255 },
45 );
46
47 =head1 PRIMARY KEY
48
49 =over 4
50
51 =item * L</plugin_class>
52
53 =item * L</plugin_method>
54
55 =back
56
57 =cut
58
59 __PACKAGE__->set_primary_key("plugin_class", "plugin_method");
60
61
62 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-07-13 12:37:57
63 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:koGk3Dh0wkslqYPUqUcK0w
64
65 sub koha_objects_class {
66     'Koha::Plugins::Methods';
67 }
68 sub koha_object_class {
69     'Koha::Plugins::Method';
70 }
71
72 # You can replace this text with custom code or comments, and it will be preserved on regeneration
73 1;