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

(-)a/Koha/Schema/Result/UsersColumnsSetting.pm (-1 / +139 lines)
Line 0 Link Here
0
- 
1
use utf8;
2
package Koha::Schema::Result::UsersColumnsSetting;
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::UsersColumnsSetting
10
11
=cut
12
13
use strict;
14
use warnings;
15
16
use base 'DBIx::Class::Core';
17
18
=head1 TABLE: C<users_columns_settings>
19
20
=cut
21
22
__PACKAGE__->table("users_columns_settings");
23
24
=head1 ACCESSORS
25
26
=head2 borrowernumber
27
28
  data_type: 'integer'
29
  is_foreign_key: 1
30
  is_nullable: 0
31
32
=head2 module
33
34
  data_type: 'varchar'
35
  is_nullable: 0
36
  size: 50
37
38
=head2 page
39
40
  data_type: 'varchar'
41
  is_nullable: 0
42
  size: 50
43
44
=head2 tablename
45
46
  data_type: 'varchar'
47
  is_nullable: 0
48
  size: 50
49
50
=head2 additional_param
51
52
  data_type: 'varchar'
53
  is_nullable: 0
54
  size: 255
55
56
=head2 columnname
57
58
  data_type: 'varchar'
59
  is_nullable: 0
60
  size: 50
61
62
=head2 is_hidden
63
64
  data_type: 'integer'
65
  default_value: 0
66
  is_nullable: 0
67
68
=cut
69
70
__PACKAGE__->add_columns(
71
  "borrowernumber",
72
  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
73
  "module",
74
  { data_type => "varchar", is_nullable => 0, size => 50 },
75
  "page",
76
  { data_type => "varchar", is_nullable => 0, size => 50 },
77
  "tablename",
78
  { data_type => "varchar", is_nullable => 0, size => 50 },
79
  "additional_param",
80
  { data_type => "varchar", is_nullable => 0, size => 255 },
81
  "columnname",
82
  { data_type => "varchar", is_nullable => 0, size => 50 },
83
  "is_hidden",
84
  { data_type => "integer", default_value => 0, is_nullable => 0 },
85
);
86
87
=head1 PRIMARY KEY
88
89
=over 4
90
91
=item * L</borrowernumber>
92
93
=item * L</module>
94
95
=item * L</page>
96
97
=item * L</tablename>
98
99
=item * L</columnname>
100
101
=item * L</additional_param>
102
103
=back
104
105
=cut
106
107
__PACKAGE__->set_primary_key(
108
  "borrowernumber",
109
  "module",
110
  "page",
111
  "tablename",
112
  "columnname",
113
  "additional_param",
114
);
115
116
=head1 RELATIONS
117
118
=head2 borrowernumber
119
120
Type: belongs_to
121
122
Related object: L<Koha::Schema::Result::Borrower>
123
124
=cut
125
126
__PACKAGE__->belongs_to(
127
  "borrowernumber",
128
  "Koha::Schema::Result::Borrower",
129
  { borrowernumber => "borrowernumber" },
130
  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
131
);
132
133
134
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-09-19 06:48:44
135
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bZsyJuDZrtJmcGa/vv4Ngg
136
137
138
# You can replace this text with custom code or comments, and it will be preserved on regeneration
139
1;

Return to bug 16881