Bug 23152: Implement koha_object[s]_class when needed
[koha-equinox.git] / Koha / Schema / Result / AuthHeader.pm
1 use utf8;
2 package Koha::Schema::Result::AuthHeader;
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::AuthHeader
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<auth_header>
19
20 =cut
21
22 __PACKAGE__->table("auth_header");
23
24 =head1 ACCESSORS
25
26 =head2 authid
27
28   data_type: 'bigint'
29   extra: {unsigned => 1}
30   is_auto_increment: 1
31   is_nullable: 0
32
33 =head2 authtypecode
34
35   data_type: 'varchar'
36   default_value: (empty string)
37   is_nullable: 0
38   size: 10
39
40 =head2 datecreated
41
42   data_type: 'date'
43   datetime_undef_if_invalid: 1
44   is_nullable: 1
45
46 =head2 modification_time
47
48   data_type: 'timestamp'
49   datetime_undef_if_invalid: 1
50   default_value: current_timestamp
51   is_nullable: 0
52
53 =head2 origincode
54
55   data_type: 'varchar'
56   is_nullable: 1
57   size: 20
58
59 =head2 authtrees
60
61   data_type: 'longtext'
62   is_nullable: 1
63
64 =head2 marc
65
66   data_type: 'blob'
67   is_nullable: 1
68
69 =head2 linkid
70
71   data_type: 'bigint'
72   is_nullable: 1
73
74 =head2 marcxml
75
76   data_type: 'longtext'
77   is_nullable: 0
78
79 =cut
80
81 __PACKAGE__->add_columns(
82   "authid",
83   {
84     data_type => "bigint",
85     extra => { unsigned => 1 },
86     is_auto_increment => 1,
87     is_nullable => 0,
88   },
89   "authtypecode",
90   { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
91   "datecreated",
92   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
93   "modification_time",
94   {
95     data_type => "timestamp",
96     datetime_undef_if_invalid => 1,
97     default_value => \"current_timestamp",
98     is_nullable => 0,
99   },
100   "origincode",
101   { data_type => "varchar", is_nullable => 1, size => 20 },
102   "authtrees",
103   { data_type => "longtext", is_nullable => 1 },
104   "marc",
105   { data_type => "blob", is_nullable => 1 },
106   "linkid",
107   { data_type => "bigint", is_nullable => 1 },
108   "marcxml",
109   { data_type => "longtext", is_nullable => 0 },
110 );
111
112 =head1 PRIMARY KEY
113
114 =over 4
115
116 =item * L</authid>
117
118 =back
119
120 =cut
121
122 __PACKAGE__->set_primary_key("authid");
123
124
125 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
126 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kHEdfMFYFtn3sQ20qsdFyg
127
128 sub koha_object_class {
129     'Koha::Authority';
130 }
131 sub koha_objects_class {
132     'Koha::Authoritys';
133 }
134
135 1;