Bug 23152: Implement koha_object[s]_class when needed
[koha-equinox.git] / Koha / Schema / Result / NeedMergeAuthority.pm
1 use utf8;
2 package Koha::Schema::Result::NeedMergeAuthority;
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::NeedMergeAuthority
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<need_merge_authorities>
19
20 =cut
21
22 __PACKAGE__->table("need_merge_authorities");
23
24 =head1 ACCESSORS
25
26 =head2 id
27
28   data_type: 'integer'
29   is_auto_increment: 1
30   is_nullable: 0
31
32 =head2 authid
33
34   data_type: 'bigint'
35   is_nullable: 0
36
37 =head2 authid_new
38
39   data_type: 'bigint'
40   is_nullable: 1
41
42 =head2 reportxml
43
44   data_type: 'mediumtext'
45   is_nullable: 1
46
47 =head2 timestamp
48
49   data_type: 'timestamp'
50   datetime_undef_if_invalid: 1
51   default_value: current_timestamp
52   is_nullable: 0
53
54 =head2 done
55
56   data_type: 'tinyint'
57   default_value: 0
58   is_nullable: 1
59
60 =cut
61
62 __PACKAGE__->add_columns(
63   "id",
64   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
65   "authid",
66   { data_type => "bigint", is_nullable => 0 },
67   "authid_new",
68   { data_type => "bigint", is_nullable => 1 },
69   "reportxml",
70   { data_type => "mediumtext", is_nullable => 1 },
71   "timestamp",
72   {
73     data_type => "timestamp",
74     datetime_undef_if_invalid => 1,
75     default_value => \"current_timestamp",
76     is_nullable => 0,
77   },
78   "done",
79   { data_type => "tinyint", default_value => 0, is_nullable => 1 },
80 );
81
82 =head1 PRIMARY KEY
83
84 =over 4
85
86 =item * L</id>
87
88 =back
89
90 =cut
91
92 __PACKAGE__->set_primary_key("id");
93
94
95 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
96 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7LzwIYvExKvNgr8/HDZlsg
97
98 sub koha_object_class {
99     'Koha::Authority::MergeRequest';
100 }
101 sub koha_objects_class {
102     'Koha::Authority::MergeRequests';
103 }
104
105 1;