Bug 12365: Notes for rules
[koha.git] / Koha / Schema / Result / Issuingrule.pm
index f782456..2a10924 100644 (file)
@@ -70,6 +70,12 @@ __PACKAGE__->table("issuingrules");
   data_type: 'integer'
   is_nullable: 1
 
+=head2 suspension_chargeperiod
+
+  data_type: 'integer'
+  default_value: 1
+  is_nullable: 1
+
 =head2 firstremind
 
   data_type: 'integer'
@@ -153,12 +159,34 @@ __PACKAGE__->table("issuingrules");
   default_value: 0
   is_nullable: 1
 
+=head2 no_auto_renewal_after
+
+  data_type: 'integer'
+  is_nullable: 1
+
+=head2 no_auto_renewal_after_hard_limit
+
+  data_type: 'date'
+  datetime_undef_if_invalid: 1
+  is_nullable: 1
+
 =head2 reservesallowed
 
   data_type: 'smallint'
   default_value: 0
   is_nullable: 0
 
+=head2 holds_per_record
+
+  data_type: 'smallint'
+  default_value: 1
+  is_nullable: 0
+
+=head2 holds_per_day
+
+  data_type: 'smallint'
+  is_nullable: 1
+
 =head2 branchcode
 
   data_type: 'varchar'
@@ -191,6 +219,19 @@ __PACKAGE__->table("issuingrules");
   is_nullable: 0
   size: 1
 
+=head2 article_requests
+
+  data_type: 'enum'
+  default_value: 'no'
+  extra: {list => ["no","yes","bib_only","item_only"]}
+  is_nullable: 0
+
+=head2 note
+
+  data_type: 'varchar'
+  is_nullable: 1
+  size: 100
+
 =cut
 
 __PACKAGE__->add_columns(
@@ -210,6 +251,8 @@ __PACKAGE__->add_columns(
   { data_type => "integer", is_nullable => 1 },
   "maxsuspensiondays",
   { data_type => "integer", is_nullable => 1 },
+  "suspension_chargeperiod",
+  { data_type => "integer", default_value => 1, is_nullable => 1 },
   "firstremind",
   { data_type => "integer", is_nullable => 1 },
   "chargeperiod",
@@ -245,8 +288,16 @@ __PACKAGE__->add_columns(
   { data_type => "integer", is_nullable => 1 },
   "auto_renew",
   { data_type => "tinyint", default_value => 0, is_nullable => 1 },
+  "no_auto_renewal_after",
+  { data_type => "integer", is_nullable => 1 },
+  "no_auto_renewal_after_hard_limit",
+  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
   "reservesallowed",
   { data_type => "smallint", default_value => 0, is_nullable => 0 },
+  "holds_per_record",
+  { data_type => "smallint", default_value => 1, is_nullable => 0 },
+  "holds_per_day",
+  { data_type => "smallint", is_nullable => 1 },
   "branchcode",
   { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
   "overduefinescap",
@@ -257,6 +308,15 @@ __PACKAGE__->add_columns(
   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
   "opacitemholds",
   { data_type => "char", default_value => "N", is_nullable => 0, size => 1 },
+  "article_requests",
+  {
+    data_type => "enum",
+    default_value => "no",
+    extra => { list => ["no", "yes", "bib_only", "item_only"] },
+    is_nullable => 0,
+  },
+  "note",
+  { data_type => "varchar", is_nullable => 1, size => 100 },
 );
 
 =head1 PRIMARY KEY
@@ -276,9 +336,9 @@ __PACKAGE__->add_columns(
 __PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype");
 
 
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-12-31 15:26:16
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:K/8SKpDjba5CM4+WPZtWPw
+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-24 13:17:50
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hVIiAIZ5ui3ZhLhuVxCzZg
 
 
-# You can replace this text with custom content, and it will be preserved on regeneration
+# You can replace this text with custom code or comments, and it will be preserved on regeneration
 1;