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

83 lines
1.5 KiB
Perl

use utf8;
package Koha::Schema::Result::Reserveconstraint;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME
Koha::Schema::Result::Reserveconstraint
=cut
use strict;
use warnings;
use base 'DBIx::Class::Core';
=head1 TABLE: C<reserveconstraints>
=cut
__PACKAGE__->table("reserveconstraints");
=head1 ACCESSORS
=head2 borrowernumber
data_type: 'integer'
default_value: 0
is_nullable: 0
=head2 reservedate
data_type: 'date'
datetime_undef_if_invalid: 1
is_nullable: 1
=head2 biblionumber
data_type: 'integer'
default_value: 0
is_nullable: 0
=head2 biblioitemnumber
data_type: 'integer'
is_nullable: 1
=head2 timestamp
data_type: 'timestamp'
datetime_undef_if_invalid: 1
default_value: current_timestamp
is_nullable: 0
=cut
__PACKAGE__->add_columns(
"borrowernumber",
{ data_type => "integer", default_value => 0, is_nullable => 0 },
"reservedate",
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"biblionumber",
{ data_type => "integer", default_value => 0, is_nullable => 0 },
"biblioitemnumber",
{ data_type => "integer", is_nullable => 1 },
"timestamp",
{
data_type => "timestamp",
datetime_undef_if_invalid => 1,
default_value => \"current_timestamp",
is_nullable => 0,
},
);
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qsSPIwQxTBxw3s2a3hD34g
# You can replace this text with custom content, and it will be preserved on regeneration
1;