use utf8; package Koha::Schema::Result::Issuingrule; # Created by DBIx::Class::Schema::Loader # DO NOT MODIFY THE FIRST PART OF THIS FILE =head1 NAME Koha::Schema::Result::Issuingrule =cut use strict; use warnings; use base 'DBIx::Class::Core'; =head1 TABLE: C =cut __PACKAGE__->table("issuingrules"); =head1 ACCESSORS =head2 categorycode data_type: 'varchar' default_value: (empty string) is_nullable: 0 size: 10 =head2 itemtype data_type: 'varchar' default_value: (empty string) is_nullable: 0 size: 10 =head2 restrictedtype data_type: 'tinyint' is_nullable: 1 =head2 rentaldiscount data_type: 'decimal' is_nullable: 1 size: [28,6] =head2 reservecharge data_type: 'decimal' is_nullable: 1 size: [28,6] =head2 fine data_type: 'decimal' is_nullable: 1 size: [28,6] =head2 finedays data_type: 'integer' is_nullable: 1 =head2 maxsuspensiondays data_type: 'integer' is_nullable: 1 =head2 firstremind data_type: 'integer' is_nullable: 1 =head2 chargeperiod data_type: 'integer' is_nullable: 1 =head2 accountsent data_type: 'integer' is_nullable: 1 =head2 chargename data_type: 'varchar' is_nullable: 1 size: 100 =head2 maxissueqty data_type: 'integer' is_nullable: 1 =head2 issuelength data_type: 'integer' is_nullable: 1 =head2 lengthunit data_type: 'varchar' default_value: 'days' is_nullable: 1 size: 10 =head2 hardduedate data_type: 'date' datetime_undef_if_invalid: 1 is_nullable: 1 =head2 hardduedatecompare data_type: 'tinyint' default_value: 0 is_nullable: 0 =head2 renewalsallowed data_type: 'smallint' default_value: 0 is_nullable: 0 =head2 renewalperiod data_type: 'integer' is_nullable: 1 =head2 norenewalbefore data_type: 'integer' is_nullable: 1 =head2 auto_renew data_type: 'tinyint' default_value: 0 is_nullable: 1 =head2 reservesallowed data_type: 'smallint' default_value: 0 is_nullable: 0 =head2 branchcode data_type: 'varchar' default_value: (empty string) is_nullable: 0 size: 10 =head2 overduefinescap data_type: 'decimal' is_nullable: 1 size: [28,6] =cut __PACKAGE__->add_columns( "categorycode", { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 }, "itemtype", { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 }, "restrictedtype", { data_type => "tinyint", is_nullable => 1 }, "rentaldiscount", { data_type => "decimal", is_nullable => 1, size => [28, 6] }, "reservecharge", { data_type => "decimal", is_nullable => 1, size => [28, 6] }, "fine", { data_type => "decimal", is_nullable => 1, size => [28, 6] }, "finedays", { data_type => "integer", is_nullable => 1 }, "maxsuspensiondays", { data_type => "integer", is_nullable => 1 }, "firstremind", { data_type => "integer", is_nullable => 1 }, "chargeperiod", { data_type => "integer", is_nullable => 1 }, "accountsent", { data_type => "integer", is_nullable => 1 }, "chargename", { data_type => "varchar", is_nullable => 1, size => 100 }, "maxissueqty", { data_type => "integer", is_nullable => 1 }, "issuelength", { data_type => "integer", is_nullable => 1 }, "lengthunit", { data_type => "varchar", default_value => "days", is_nullable => 1, size => 10, }, "hardduedate", { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, "hardduedatecompare", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, "renewalsallowed", { data_type => "smallint", default_value => 0, is_nullable => 0 }, "renewalperiod", { data_type => "integer", is_nullable => 1 }, "norenewalbefore", { data_type => "integer", is_nullable => 1 }, "auto_renew", { data_type => "tinyint", default_value => 0, is_nullable => 1 }, "reservesallowed", { data_type => "smallint", default_value => 0, is_nullable => 0 }, "branchcode", { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 }, "overduefinescap", { data_type => "decimal", is_nullable => 1, size => [28, 6] }, ); =head1 PRIMARY KEY =over 4 =item * L =item * L =item * L =back =cut __PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype"); # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-09-17 21:06:58 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vmlv13CeQ99RO0VsviRABg # You can replace this text with custom content, and it will be preserved on regeneration 1;