Bug 25501: Supress warnings on installing translation
[koha.git] / Koha / Schema / Result / Deletedbiblio.pm
blob5d02066493a0f2ea52bbd2c4f7745e99b5eb80f8
1 use utf8;
2 package Koha::Schema::Result::Deletedbiblio;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::Deletedbiblio
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<deletedbiblio>
20 =cut
22 __PACKAGE__->table("deletedbiblio");
24 =head1 ACCESSORS
26 =head2 biblionumber
28 data_type: 'integer'
29 is_auto_increment: 1
30 is_nullable: 0
32 =head2 frameworkcode
34 data_type: 'varchar'
35 default_value: (empty string)
36 is_nullable: 0
37 size: 4
39 =head2 author
41 data_type: 'longtext'
42 is_nullable: 1
44 =head2 title
46 data_type: 'longtext'
47 is_nullable: 1
49 =head2 medium
51 data_type: 'longtext'
52 is_nullable: 1
54 =head2 subtitle
56 data_type: 'longtext'
57 is_nullable: 1
59 =head2 part_number
61 data_type: 'longtext'
62 is_nullable: 1
64 =head2 part_name
66 data_type: 'longtext'
67 is_nullable: 1
69 =head2 unititle
71 data_type: 'longtext'
72 is_nullable: 1
74 =head2 notes
76 data_type: 'longtext'
77 is_nullable: 1
79 =head2 serial
81 data_type: 'tinyint'
82 is_nullable: 1
84 =head2 seriestitle
86 data_type: 'longtext'
87 is_nullable: 1
89 =head2 copyrightdate
91 data_type: 'smallint'
92 is_nullable: 1
94 =head2 timestamp
96 data_type: 'timestamp'
97 datetime_undef_if_invalid: 1
98 default_value: current_timestamp
99 is_nullable: 0
101 =head2 datecreated
103 data_type: 'date'
104 datetime_undef_if_invalid: 1
105 is_nullable: 0
107 =head2 abstract
109 data_type: 'longtext'
110 is_nullable: 1
112 =cut
114 __PACKAGE__->add_columns(
115 "biblionumber",
116 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
117 "frameworkcode",
118 { data_type => "varchar", default_value => "", is_nullable => 0, size => 4 },
119 "author",
120 { data_type => "longtext", is_nullable => 1 },
121 "title",
122 { data_type => "longtext", is_nullable => 1 },
123 "medium",
124 { data_type => "longtext", is_nullable => 1 },
125 "subtitle",
126 { data_type => "longtext", is_nullable => 1 },
127 "part_number",
128 { data_type => "longtext", is_nullable => 1 },
129 "part_name",
130 { data_type => "longtext", is_nullable => 1 },
131 "unititle",
132 { data_type => "longtext", is_nullable => 1 },
133 "notes",
134 { data_type => "longtext", is_nullable => 1 },
135 "serial",
136 { data_type => "tinyint", is_nullable => 1 },
137 "seriestitle",
138 { data_type => "longtext", is_nullable => 1 },
139 "copyrightdate",
140 { data_type => "smallint", is_nullable => 1 },
141 "timestamp",
143 data_type => "timestamp",
144 datetime_undef_if_invalid => 1,
145 default_value => \"current_timestamp",
146 is_nullable => 0,
148 "datecreated",
149 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 0 },
150 "abstract",
151 { data_type => "longtext", is_nullable => 1 },
154 =head1 PRIMARY KEY
156 =over 4
158 =item * L</biblionumber>
160 =back
162 =cut
164 __PACKAGE__->set_primary_key("biblionumber");
166 =head1 RELATIONS
168 =head2 deletedbiblio_metadatas
170 Type: has_many
172 Related object: L<Koha::Schema::Result::DeletedbiblioMetadata>
174 =cut
176 __PACKAGE__->has_many(
177 "deletedbiblio_metadatas",
178 "Koha::Schema::Result::DeletedbiblioMetadata",
179 { "foreign.biblionumber" => "self.biblionumber" },
180 { cascade_copy => 0, cascade_delete => 0 },
184 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-08-05 13:53:34
185 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FQaznWmkfR2Ge5NG8lDmSw
187 sub koha_objects_class {
188 'Koha::Old::Biblios';
190 sub koha_object_class {
191 'Koha::Old::Biblio';