Bug 21395: Fix creation of PO file
[koha.git] / Koha / Schema / Result / ImportAuth.pm
bloba8fc448da19ab8962a33045c62be0d68438d5948
1 use utf8;
2 package Koha::Schema::Result::ImportAuth;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::ImportAuth
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<import_auths>
20 =cut
22 __PACKAGE__->table("import_auths");
24 =head1 ACCESSORS
26 =head2 import_record_id
28 data_type: 'integer'
29 is_foreign_key: 1
30 is_nullable: 0
32 =head2 matched_authid
34 data_type: 'integer'
35 is_nullable: 1
37 =head2 control_number
39 data_type: 'varchar'
40 is_nullable: 1
41 size: 25
43 =head2 authorized_heading
45 data_type: 'varchar'
46 is_nullable: 1
47 size: 128
49 =head2 original_source
51 data_type: 'varchar'
52 is_nullable: 1
53 size: 25
55 =cut
57 __PACKAGE__->add_columns(
58 "import_record_id",
59 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
60 "matched_authid",
61 { data_type => "integer", is_nullable => 1 },
62 "control_number",
63 { data_type => "varchar", is_nullable => 1, size => 25 },
64 "authorized_heading",
65 { data_type => "varchar", is_nullable => 1, size => 128 },
66 "original_source",
67 { data_type => "varchar", is_nullable => 1, size => 25 },
70 =head1 RELATIONS
72 =head2 import_record
74 Type: belongs_to
76 Related object: L<Koha::Schema::Result::ImportRecord>
78 =cut
80 __PACKAGE__->belongs_to(
81 "import_record",
82 "Koha::Schema::Result::ImportRecord",
83 { import_record_id => "import_record_id" },
84 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
88 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
89 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bm1ctlmYDh4qWUU95SLqBw
92 # You can replace this text with custom content, and it will be preserved on regeneration