Lines 1-77
Link Here
|
1 |
use utf8; |
|
|
2 |
package Koha::Schema::Result::ImportRecordMatches; |
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::ImportRecordMatches |
10 |
|
11 |
=cut |
12 |
|
13 |
use strict; |
14 |
use warnings; |
15 |
|
16 |
use base 'DBIx::Class::Core'; |
17 |
|
18 |
=head1 TABLE: C<import_record_matches> |
19 |
|
20 |
=cut |
21 |
|
22 |
__PACKAGE__->table("import_record_matches"); |
23 |
|
24 |
=head1 ACCESSORS |
25 |
|
26 |
=head2 import_record_id |
27 |
|
28 |
data_type: 'integer' |
29 |
is_foreign_key: 1 |
30 |
is_nullable: 0 |
31 |
|
32 |
=head2 candidate_match_id |
33 |
|
34 |
data_type: 'integer' |
35 |
is_nullable: 0 |
36 |
|
37 |
=head2 score |
38 |
|
39 |
data_type: 'integer' |
40 |
default_value: 0 |
41 |
is_nullable: 0 |
42 |
|
43 |
=cut |
44 |
|
45 |
__PACKAGE__->add_columns( |
46 |
"import_record_id", |
47 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
48 |
"candidate_match_id", |
49 |
{ data_type => "integer", is_nullable => 0 }, |
50 |
"score", |
51 |
{ data_type => "integer", default_value => 0, is_nullable => 0 }, |
52 |
); |
53 |
|
54 |
=head1 RELATIONS |
55 |
|
56 |
=head2 import_record |
57 |
|
58 |
Type: belongs_to |
59 |
|
60 |
Related object: L<Koha::Schema::Result::ImportRecord> |
61 |
|
62 |
=cut |
63 |
|
64 |
__PACKAGE__->belongs_to( |
65 |
"import_record", |
66 |
"Koha::Schema::Result::ImportRecord", |
67 |
{ import_record_id => "import_record_id" }, |
68 |
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, |
69 |
); |
70 |
|
71 |
|
72 |
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 |
73 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VLaEo7f96O80PqFr/baR9A |
74 |
|
75 |
|
76 |
# You can replace this text with custom content, and it will be preserved on regeneration |
77 |
1; |
78 |
- |