Koha-clms/Koha/Schema/Result/Subscriptionhistory.pm

115 lines
2.0 KiB
Perl

use utf8;
package Koha::Schema::Result::Subscriptionhistory;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME
Koha::Schema::Result::Subscriptionhistory
=cut
use strict;
use warnings;
use base 'DBIx::Class::Core';
=head1 TABLE: C<subscriptionhistory>
=cut
__PACKAGE__->table("subscriptionhistory");
=head1 ACCESSORS
=head2 biblionumber
data_type: 'integer'
default_value: 0
is_nullable: 0
=head2 subscriptionid
data_type: 'integer'
default_value: 0
is_nullable: 0
=head2 histstartdate
data_type: 'date'
datetime_undef_if_invalid: 1
is_nullable: 1
=head2 histenddate
data_type: 'date'
datetime_undef_if_invalid: 1
is_nullable: 1
=head2 missinglist
data_type: 'longtext'
is_nullable: 0
=head2 recievedlist
data_type: 'longtext'
is_nullable: 0
=head2 opacnote
data_type: 'longtext'
is_nullable: 1
=head2 librariannote
data_type: 'longtext'
is_nullable: 1
=cut
__PACKAGE__->add_columns(
"biblionumber",
{ data_type => "integer", default_value => 0, is_nullable => 0 },
"subscriptionid",
{ data_type => "integer", default_value => 0, is_nullable => 0 },
"histstartdate",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"histenddate",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"missinglist",
{ data_type => "longtext", is_nullable => 0 },
"recievedlist",
{ data_type => "longtext", is_nullable => 0 },
"opacnote",
{ data_type => "longtext", is_nullable => 1 },
"librariannote",
{ data_type => "longtext", is_nullable => 1 },
);
=head1 PRIMARY KEY
=over 4
=item * L</subscriptionid>
=back
=cut
__PACKAGE__->set_primary_key("subscriptionid");
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-06-17 07:24:39
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SK33dc7lx/rDGX3tiR84ww
sub koha_object_class {
'Koha::Subscription::History';
}
sub koha_objects_class {
'Koha::Subscription::Histories';
}
1;