Bug 32030: DBIC Specific

Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com>

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2022-05-25 13:59:00 +02:00 committed by Tomas Cohen Arazi
parent d391d1a422
commit 96ea0648cb
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
11 changed files with 70 additions and 11 deletions

View File

@ -260,6 +260,15 @@ __PACKAGE__->belongs_to(
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-11-01 07:44:13
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rdLbabpHCgb4l88Gmgst+g
__PACKAGE__->add_columns(
'+is_perpetual' => { is_boolean => 1 }
);
sub koha_object_class {
'Koha::ERM::Agreement';
}
sub koha_objects_class {
'Koha::ERM::Agreements';
}
# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;

View File

@ -161,6 +161,11 @@ __PACKAGE__->belongs_to(
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-07-20 08:58:20
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pO0QPWFMSap1XER+0hdEqg
sub koha_object_class {
'Koha::ERM::Agreement::License';
}
sub koha_objects_class {
'Koha::ERM::Agreement::Licenses';
}
# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;

View File

@ -120,6 +120,11 @@ __PACKAGE__->belongs_to(
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-05-25 11:46:59
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NCQpSw+rp/9B/yOrtLtK6g
sub koha_object_class {
'Koha::ERM::Agreement::Period';
}
sub koha_objects_class {
'Koha::ERM::Agreement::Periods';
}
# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;

View File

@ -133,6 +133,11 @@ __PACKAGE__->belongs_to(
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-05-25 11:46:59
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EYK21+2xV7p1yCXR8OFKIA
sub koha_object_class {
'Koha::ERM::Agreement::Relationship';
}
sub koha_objects_class {
'Koha::ERM::Agreement::Relationships';
}
# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;

View File

@ -198,6 +198,11 @@ __PACKAGE__->belongs_to(
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-10-21 09:22:27
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rbU2G4zjKlEcOtuwVBSXaw
sub koha_object_class {
'Koha::ERM::Document';
}
sub koha_objects_class {
'Koha::ERM::Documents';
}
# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;

View File

@ -191,6 +191,11 @@ __PACKAGE__->belongs_to(
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-10-19 09:25:48
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KbZxONSm/pxXvUFi3PuZiQ
sub koha_object_class {
'Koha::ERM::EHoldings::Package';
}
sub koha_objects_class {
'Koha::ERM::EHoldings::Packages';
}
# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;

View File

@ -103,6 +103,11 @@ __PACKAGE__->belongs_to(
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-07-20 08:58:20
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OfIIIupuz76wN2HDac5fng
sub koha_object_class {
'Koha::ERM::Package::Agreement';
}
sub koha_objects_class {
'Koha::ERM::Package::Agreements';
}
# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;

View File

@ -170,6 +170,11 @@ __PACKAGE__->belongs_to(
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-07-20 08:58:20
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FQbMPJvUGn+kxlA+C4JvYg
sub koha_objects_class {
'Koha::ERM::EHoldings::Resources';
}
sub koha_object_class {
'Koha::ERM::EHoldings::Resource';
}
# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;

View File

@ -299,6 +299,11 @@ __PACKAGE__->has_many(
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-06-22 11:41:06
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+DZRDExmVLe+MBtk+TEhJw
sub koha_objects_class {
'Koha::ERM::EHoldings::Titles';
}
sub koha_object_class {
'Koha::ERM::EHoldings::Title';
}
# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;

View File

@ -190,6 +190,11 @@ __PACKAGE__->belongs_to(
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-11-01 07:44:13
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Fs4bmI/N6Cvicv3RW2qwXQ
sub koha_object_class {
'Koha::ERM::License';
}
sub koha_objects_class {
'Koha::ERM::Licenses';
}
# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;

View File

@ -129,6 +129,11 @@ __PACKAGE__->belongs_to(
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-11-01 07:44:13
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RkK5cQWFEmcrDioAfjOVWQ
sub koha_object_class {
'Koha::ERM::Agreement::UserRole';
}
sub koha_objects_class {
'Koha::ERM::Agreement::UserRoles';
}
# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;