2 package Koha::Schema::Result::ErmEholdingsTitle;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::ErmEholdingsTitle
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<erm_eholdings_titles>
22 __PACKAGE__->table("erm_eholdings_titles");
40 =head2 publication_title
52 =head2 print_identifier
58 =head2 online_identifier
64 =head2 date_first_issue_online
70 =head2 num_first_vol_online
76 =head2 num_first_issue_online
82 =head2 date_last_issue_online
88 =head2 num_last_vol_online
94 =head2 num_last_issue_online
118 =head2 coverage_depth
130 =head2 publisher_name
136 =head2 publication_type
142 =head2 date_monograph_published_print
148 =head2 date_monograph_published_online
154 =head2 monograph_volume
160 =head2 monograph_edition
172 =head2 parent_publication_title_id
178 =head2 preceeding_publication_title_id
192 __PACKAGE__->add_columns(
194 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
196 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
198 { data_type => "varchar", is_nullable => 1, size => 255 },
200 { data_type => "varchar", is_nullable => 1, size => 255 },
202 { data_type => "varchar", is_nullable => 1, size => 255 },
204 { data_type => "varchar", is_nullable => 1, size => 255 },
205 "date_first_issue_online",
206 { data_type => "varchar", is_nullable => 1, size => 255 },
207 "num_first_vol_online",
208 { data_type => "varchar", is_nullable => 1, size => 255 },
209 "num_first_issue_online",
210 { data_type => "varchar", is_nullable => 1, size => 255 },
211 "date_last_issue_online",
212 { data_type => "varchar", is_nullable => 1, size => 255 },
213 "num_last_vol_online",
214 { data_type => "varchar", is_nullable => 1, size => 255 },
215 "num_last_issue_online",
216 { data_type => "varchar", is_nullable => 1, size => 255 },
218 { data_type => "varchar", is_nullable => 1, size => 255 },
220 { data_type => "varchar", is_nullable => 1, size => 255 },
222 { data_type => "varchar", is_nullable => 1, size => 255 },
224 { data_type => "varchar", is_nullable => 1, size => 255 },
226 { data_type => "varchar", is_nullable => 1, size => 255 },
228 { data_type => "varchar", is_nullable => 1, size => 255 },
230 { data_type => "varchar", is_nullable => 1, size => 80 },
231 "date_monograph_published_print",
232 { data_type => "varchar", is_nullable => 1, size => 255 },
233 "date_monograph_published_online",
234 { data_type => "varchar", is_nullable => 1, size => 255 },
236 { data_type => "varchar", is_nullable => 1, size => 255 },
238 { data_type => "varchar", is_nullable => 1, size => 255 },
240 { data_type => "varchar", is_nullable => 1, size => 255 },
241 "parent_publication_title_id",
242 { data_type => "varchar", is_nullable => 1, size => 255 },
243 "preceeding_publication_title_id",
244 { data_type => "varchar", is_nullable => 1, size => 255 },
246 { data_type => "varchar", is_nullable => 1, size => 255 },
259 __PACKAGE__->set_primary_key("title_id");
267 Related object: L<Koha::Schema::Result::Biblio>
271 __PACKAGE__->belongs_to(
273 "Koha::Schema::Result::Biblio",
274 { biblionumber => "biblio_id" },
278 on_delete => "SET NULL",
279 on_update => "CASCADE",
283 =head2 erm_eholdings_resources
287 Related object: L<Koha::Schema::Result::ErmEholdingsResource>
291 __PACKAGE__->has_many(
292 "erm_eholdings_resources",
293 "Koha::Schema::Result::ErmEholdingsResource",
294 { "foreign.title_id" => "self.title_id" },
295 { cascade_copy => 0, cascade_delete => 0 },
299 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-06-22 11:41:06
300 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+DZRDExmVLe+MBtk+TEhJw
302 sub koha_objects_class {
303 'Koha::ERM::EHoldings::Titles';
305 sub koha_object_class {
306 'Koha::ERM::EHoldings::Title';