View | Details | Raw Unified | Return to bug 12558
Collapse All | Expand All

(-)a/Koha/Schema/Result/CollectionTracking.pm (-77 lines)
Lines 1-77 Link Here
1
use utf8;
2
package Koha::Schema::Result::CollectionTracking;
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::CollectionTracking
10
11
=cut
12
13
use strict;
14
use warnings;
15
16
use base 'DBIx::Class::Core';
17
18
=head1 TABLE: C<collections_tracking>
19
20
=cut
21
22
__PACKAGE__->table("collections_tracking");
23
24
=head1 ACCESSORS
25
26
=head2 collections_tracking_id
27
28
  data_type: 'integer'
29
  is_auto_increment: 1
30
  is_nullable: 0
31
32
=head2 colid
33
34
  data_type: 'integer'
35
  default_value: 0
36
  is_nullable: 0
37
38
collections.colId
39
40
=head2 itemnumber
41
42
  data_type: 'integer'
43
  default_value: 0
44
  is_nullable: 0
45
46
items.itemnumber
47
48
=cut
49
50
__PACKAGE__->add_columns(
51
  "collections_tracking_id",
52
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
53
  "colid",
54
  { data_type => "integer", default_value => 0, is_nullable => 0 },
55
  "itemnumber",
56
  { data_type => "integer", default_value => 0, is_nullable => 0 },
57
);
58
59
=head1 PRIMARY KEY
60
61
=over 4
62
63
=item * L</collections_tracking_id>
64
65
=back
66
67
=cut
68
69
__PACKAGE__->set_primary_key("collections_tracking_id");
70
71
72
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-12-11 16:55:09
73
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CAKCBAZ44Q6yAS2IKOMNlA
74
75
76
# You can replace this text with custom content, and it will be preserved on regeneration
77
1;
(-)a/Koha/Schema/Result/ImportRecordMatches.pm (-78 lines)
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
- 

Return to bug 12558