Bug 16829: DBIx update
[koha.git] / Koha / Schema / Result / DefaultCircRule.pm
blob355f4ea385109e131d22ecd9339a42663493428e
1 use utf8;
2 package Koha::Schema::Result::DefaultCircRule;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::DefaultCircRule
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<default_circ_rules>
20 =cut
22 __PACKAGE__->table("default_circ_rules");
24 =head1 ACCESSORS
26 =head2 singleton
28 data_type: 'enum'
29 default_value: 'singleton'
30 extra: {list => ["singleton"]}
31 is_nullable: 0
33 =head2 maxissueqty
35 data_type: 'integer'
36 is_nullable: 1
38 =head2 maxonsiteissueqty
40 data_type: 'integer'
41 is_nullable: 1
43 =head2 holdallowed
45 data_type: 'integer'
46 is_nullable: 1
48 =head2 hold_fulfillment_policy
50 data_type: 'enum'
51 default_value: 'any'
52 extra: {list => ["any","homebranch","holdingbranch"]}
53 is_nullable: 0
55 =head2 returnbranch
57 data_type: 'varchar'
58 is_nullable: 1
59 size: 15
61 =cut
63 __PACKAGE__->add_columns(
64 "singleton",
66 data_type => "enum",
67 default_value => "singleton",
68 extra => { list => ["singleton"] },
69 is_nullable => 0,
71 "maxissueqty",
72 { data_type => "integer", is_nullable => 1 },
73 "maxonsiteissueqty",
74 { data_type => "integer", is_nullable => 1 },
75 "holdallowed",
76 { data_type => "integer", is_nullable => 1 },
77 "hold_fulfillment_policy",
79 data_type => "enum",
80 default_value => "any",
81 extra => { list => ["any", "homebranch", "holdingbranch"] },
82 is_nullable => 0,
84 "returnbranch",
85 { data_type => "varchar", is_nullable => 1, size => 15 },
88 =head1 PRIMARY KEY
90 =over 4
92 =item * L</singleton>
94 =back
96 =cut
98 __PACKAGE__->set_primary_key("singleton");
101 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-29 10:32:00
102 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fqBrj0c9h9c0eBlC0kG51w
105 # You can replace this text with custom content, and it will be preserved on regeneration