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

(-)a/Koha/Schema/Result/Accountline.pm (-2 / +17 lines)
Lines 220-228 __PACKAGE__->belongs_to( Link Here
220
  },
220
  },
221
);
221
);
222
222
223
=head2 pos_terminal_transactions
223
224
224
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-01-26 17:18:34
225
Type: has_many
225
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RCQohhphtg+0+RszpB4wLg
226
227
Related object: L<Koha::Schema::Result::PosTerminalTransaction>
228
229
=cut
230
231
__PACKAGE__->has_many(
232
  "pos_terminal_transactions",
233
  "Koha::Schema::Result::PosTerminalTransaction",
234
  { "foreign.accountlines_id" => "self.accountlines_id" },
235
  { cascade_copy => 0, cascade_delete => 0 },
236
);
237
238
239
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-02-24 05:19:32
240
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OcykebNXzfbeJ3cwHzmUXA
226
241
227
242
228
# You can replace this text with custom content, and it will be preserved on regeneration
243
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/PosTerminalTransaction.pm (-1 / +111 lines)
Line 0 Link Here
0
- 
1
use utf8;
2
package Koha::Schema::Result::PosTerminalTransaction;
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::PosTerminalTransaction
10
11
=cut
12
13
use strict;
14
use warnings;
15
16
use base 'DBIx::Class::Core';
17
18
=head1 TABLE: C<pos_terminal_transactions>
19
20
=cut
21
22
__PACKAGE__->table("pos_terminal_transactions");
23
24
=head1 ACCESSORS
25
26
=head2 id
27
28
  data_type: 'integer'
29
  is_auto_increment: 1
30
  is_nullable: 0
31
32
=head2 accountlines_id
33
34
  data_type: 'integer'
35
  is_foreign_key: 1
36
  is_nullable: 0
37
38
=head2 status
39
40
  data_type: 'varchar'
41
  default_value: 'new'
42
  is_nullable: 0
43
  size: 32
44
45
=head2 response_code
46
47
  data_type: 'varchar'
48
  is_nullable: 1
49
  size: 5
50
51
=head2 message_log
52
53
  data_type: 'text'
54
  is_nullable: 1
55
56
=cut
57
58
__PACKAGE__->add_columns(
59
  "id",
60
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
61
  "accountlines_id",
62
  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
63
  "status",
64
  {
65
    data_type => "varchar",
66
    default_value => "new",
67
    is_nullable => 0,
68
    size => 32,
69
  },
70
  "response_code",
71
  { data_type => "varchar", is_nullable => 1, size => 5 },
72
  "message_log",
73
  { data_type => "text", is_nullable => 1 },
74
);
75
76
=head1 PRIMARY KEY
77
78
=over 4
79
80
=item * L</id>
81
82
=back
83
84
=cut
85
86
__PACKAGE__->set_primary_key("id");
87
88
=head1 RELATIONS
89
90
=head2 accountline
91
92
Type: belongs_to
93
94
Related object: L<Koha::Schema::Result::Accountline>
95
96
=cut
97
98
__PACKAGE__->belongs_to(
99
  "accountline",
100
  "Koha::Schema::Result::Accountline",
101
  { accountlines_id => "accountlines_id" },
102
  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
103
);
104
105
106
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-03-22 17:13:47
107
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9kf34Odpc7Yd46+Lu2pyJg
108
109
110
# You can replace this text with custom code or comments, and it will be preserved on regeneration
111
1;

Return to bug 17705