Bug 23152: Implement koha_object[s]_class when needed
[koha-equinox.git] / Koha / Schema / Result / Issuingrule.pm
index 0ea74ca..ecc549e 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'
@@ -91,22 +97,6 @@ __PACKAGE__->table("issuingrules");
   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 maxonsiteissueqty
-
-  data_type: 'integer'
-  is_nullable: 1
-
 =head2 issuelength
 
   data_type: 'integer'
@@ -176,6 +166,11 @@ __PACKAGE__->table("issuingrules");
   default_value: 1
   is_nullable: 0
 
+=head2 holds_per_day
+
+  data_type: 'smallint'
+  is_nullable: 1
+
 =head2 branchcode
 
   data_type: 'varchar'
@@ -215,6 +210,12 @@ __PACKAGE__->table("issuingrules");
   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(
@@ -234,6 +235,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",
@@ -242,12 +245,6 @@ __PACKAGE__->add_columns(
   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
   "accountsent",
   { data_type => "integer", is_nullable => 1 },
-  "chargename",
-  { data_type => "varchar", is_nullable => 1, size => 100 },
-  "maxissueqty",
-  { data_type => "integer", is_nullable => 1 },
-  "maxonsiteissueqty",
-  { data_type => "integer", is_nullable => 1 },
   "issuelength",
   { data_type => "integer", is_nullable => 1 },
   "lengthunit",
@@ -277,6 +274,8 @@ __PACKAGE__->add_columns(
   { 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",
@@ -294,6 +293,8 @@ __PACKAGE__->add_columns(
     extra => { list => ["no", "yes", "bib_only", "item_only"] },
     is_nullable => 0,
   },
+  "note",
+  { data_type => "varchar", is_nullable => 1, size => 100 },
 );
 
 =head1 PRIMARY KEY
@@ -313,9 +314,14 @@ __PACKAGE__->add_columns(
 __PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype");
 
 
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-04-27 19:15:48
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:D1443VWPcoIXN3+lIkckIQ
+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-03-05 20:49:11
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6bPX0BRWWQZrWFun3GP86Q
 
+sub koha_object_class {
+    'Koha::IssuingRule';
+}
+sub koha_objects_class {
+    'Koha::IssuingRules';
+}
 
-# You can replace this text with custom code or comments, and it will be preserved on regeneration
 1;