Bug 18925: DBRev 18.12.00.020
[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 holdallowed
34
35   data_type: 'integer'
36   is_nullable: 1
37
38 =head2 hold_fulfillment_policy
39
40   data_type: 'enum'
41   default_value: 'any'
42   extra: {list => ["any","homebranch","holdingbranch"]}
43   is_nullable: 0
44
45 =head2 returnbranch
46
47   data_type: 'varchar'
48   is_nullable: 1
49   size: 15
50
51 =cut
52
53 __PACKAGE__->add_columns(
54   "singleton",
55   {
56     data_type => "enum",
57     default_value => "singleton",
58     extra => { list => ["singleton"] },
59     is_nullable => 0,
60   },
61   "holdallowed",
62   { data_type => "integer", is_nullable => 1 },
63   "hold_fulfillment_policy",
64   {
65     data_type => "enum",
66     default_value => "any",
67     extra => { list => ["any", "homebranch", "holdingbranch"] },
68     is_nullable => 0,
69   },
70   "returnbranch",
71   { data_type => "varchar", is_nullable => 1, size => 15 },
72 );
73
74 =head1 PRIMARY KEY
75
76 =over 4
77
78 =item * L</singleton>
79
80 =back
81
82 =cut
83
84 __PACKAGE__->set_primary_key("singleton");
85
86
87 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-03-05 20:42:53
88 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mrebGRlc4MORi6OtUk8NyA
89
90
91 # You can replace this text with custom content, and it will be preserved on regeneration
92 1;