Bug 9303 [QA Followup] - Restore missing biblio relationship
[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 returnbranch
49
50   data_type: 'varchar'
51   is_nullable: 1
52   size: 15
53
54 =cut
55
56 __PACKAGE__->add_columns(
57   "singleton",
58   {
59     data_type => "enum",
60     default_value => "singleton",
61     extra => { list => ["singleton"] },
62     is_nullable => 0,
63   },
64   "maxissueqty",
65   { data_type => "integer", is_nullable => 1 },
66   "maxonsiteissueqty",
67   { data_type => "integer", is_nullable => 1 },
68   "holdallowed",
69   { data_type => "integer", is_nullable => 1 },
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.07042 @ 2015-05-13 17:48:39
88 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TLEpv+H3v7P3psVl+WMA0Q
89
90
91 # You can replace this text with custom content, and it will be preserved on regeneration
92 1;