Lines 1-12
Link Here
|
1 |
use utf8; |
1 |
use utf8; |
2 |
package Koha::Schema::Result::DebarmentType; |
2 |
package Koha::Schema::Result::RestrictionType; |
3 |
|
3 |
|
4 |
# Created by DBIx::Class::Schema::Loader |
4 |
# Created by DBIx::Class::Schema::Loader |
5 |
# DO NOT MODIFY THE FIRST PART OF THIS FILE |
5 |
# DO NOT MODIFY THE FIRST PART OF THIS FILE |
6 |
|
6 |
|
7 |
=head1 NAME |
7 |
=head1 NAME |
8 |
|
8 |
|
9 |
Koha::Schema::Result::DebarmentType |
9 |
Koha::Schema::Result::RestrictionType |
10 |
|
10 |
|
11 |
=cut |
11 |
=cut |
12 |
|
12 |
|
Lines 15-25
use warnings;
Link Here
|
15 |
|
15 |
|
16 |
use base 'DBIx::Class::Core'; |
16 |
use base 'DBIx::Class::Core'; |
17 |
|
17 |
|
18 |
=head1 TABLE: C<debarment_types> |
18 |
=head1 TABLE: C<restriction_types> |
19 |
|
19 |
|
20 |
=cut |
20 |
=cut |
21 |
|
21 |
|
22 |
__PACKAGE__->table("debarment_types"); |
22 |
__PACKAGE__->table("restriction_types"); |
23 |
|
23 |
|
24 |
=head1 ACCESSORS |
24 |
=head1 ACCESSORS |
25 |
|
25 |
|
Lines 89-96
__PACKAGE__->has_many(
Link Here
|
89 |
); |
89 |
); |
90 |
|
90 |
|
91 |
|
91 |
|
92 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-05-04 11:05:19 |
92 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-08-19 17:53:05 |
93 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cRSViJItfpT3mxCX82/9eQ |
93 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CC8yZ6IqZPnySpMC5Mn/ig |
94 |
|
94 |
|
95 |
__PACKAGE__->add_columns( |
95 |
__PACKAGE__->add_columns( |
96 |
'+is_system' => { is_boolean => 1 }, |
96 |
'+is_system' => { is_boolean => 1 }, |
97 |
- |
|
|