Bug 20402: Implement OAuth2 authentication for REST API
[koha.git] / Koha / Schema / Result / DefaultCircRule.pm
1 use utf8;
2 package Koha::Schema::Result::DefaultCircRule;
3
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6
7 =head1 NAME
8
9 Koha::Schema::Result::DefaultCircRule
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<default_circ_rules>
19
20 =cut
21
22 __PACKAGE__->table("default_circ_rules");
23
24 =head1 ACCESSORS
25
26 =head2 singleton
27
28   data_type: 'enum'
29   default_value: 'singleton'
30   extra: {list => ["singleton"]}
31   is_nullable: 0
32
33 =head2 maxissueqty
34
35   data_type: 'integer'
36   is_nullable: 1
37
38 =head2 maxonsiteissueqty
39
40   data_type: 'integer'
41   is_nullable: 1
42
43 =head2 holdallowed
44
45   data_type: 'integer'
46   is_nullable: 1
47
48 =head2 hold_fulfillment_policy
49
50   data_type: 'enum'
51   default_value: 'any'
52   extra: {list => ["any","homebranch","holdingbranch"]}
53   is_nullable: 0
54
55 =head2 returnbranch
56
57   data_type: 'varchar'
58   is_nullable: 1
59   size: 15
60
61 =cut
62
63 __PACKAGE__->add_columns(
64   "singleton",
65   {
66     data_type => "enum",
67     default_value => "singleton",
68     extra => { list => ["singleton"] },
69     is_nullable => 0,
70   },
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",
78   {
79     data_type => "enum",
80     default_value => "any",
81     extra => { list => ["any", "homebranch", "holdingbranch"] },
82     is_nullable => 0,
83   },
84   "returnbranch",
85   { data_type => "varchar", is_nullable => 1, size => 15 },
86 );
87
88 =head1 PRIMARY KEY
89
90 =over 4
91
92 =item * L</singleton>
93
94 =back
95
96 =cut
97
98 __PACKAGE__->set_primary_key("singleton");
99
100
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
103
104
105 # You can replace this text with custom content, and it will be preserved on regeneration
106 1;