Bug 8798: (follow-up) update schema files
[koha.git] / Koha / Schema / Result / Issuingrule.pm
1 package Koha::Schema::Result::Issuingrule;
2
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
5
6 use strict;
7 use warnings;
8
9 use base 'DBIx::Class::Core';
10
11
12 =head1 NAME
13
14 Koha::Schema::Result::Issuingrule
15
16 =cut
17
18 __PACKAGE__->table("issuingrules");
19
20 =head1 ACCESSORS
21
22 =head2 categorycode
23
24   data_type: 'varchar'
25   default_value: (empty string)
26   is_nullable: 0
27   size: 10
28
29 =head2 itemtype
30
31   data_type: 'varchar'
32   default_value: (empty string)
33   is_nullable: 0
34   size: 10
35
36 =head2 restrictedtype
37
38   data_type: 'tinyint'
39   is_nullable: 1
40
41 =head2 rentaldiscount
42
43   data_type: 'decimal'
44   is_nullable: 1
45   size: [28,6]
46
47 =head2 reservecharge
48
49   data_type: 'decimal'
50   is_nullable: 1
51   size: [28,6]
52
53 =head2 fine
54
55   data_type: 'decimal'
56   is_nullable: 1
57   size: [28,6]
58
59 =head2 finedays
60
61   data_type: 'integer'
62   is_nullable: 1
63
64 =head2 firstremind
65
66   data_type: 'integer'
67   is_nullable: 1
68
69 =head2 chargeperiod
70
71   data_type: 'integer'
72   is_nullable: 1
73
74 =head2 accountsent
75
76   data_type: 'integer'
77   is_nullable: 1
78
79 =head2 chargename
80
81   data_type: 'varchar'
82   is_nullable: 1
83   size: 100
84
85 =head2 maxissueqty
86
87   data_type: 'integer'
88   is_nullable: 1
89
90 =head2 issuelength
91
92   data_type: 'integer'
93   is_nullable: 1
94
95 =head2 lengthunit
96
97   data_type: 'varchar'
98   default_value: 'days'
99   is_nullable: 1
100   size: 10
101
102 =head2 hardduedate
103
104   data_type: 'date'
105   is_nullable: 1
106
107 =head2 hardduedatecompare
108
109   data_type: 'tinyint'
110   default_value: 0
111   is_nullable: 0
112
113 =head2 renewalsallowed
114
115   data_type: 'smallint'
116   default_value: 0
117   is_nullable: 0
118
119 =head2 renewalperiod
120
121   data_type: 'integer'
122   is_nullable: 1
123
124 =head2 reservesallowed
125
126   data_type: 'smallint'
127   default_value: 0
128   is_nullable: 0
129
130 =head2 holdspickupdelay
131
132   data_type: 'integer'
133   is_nullable: 1
134
135 =head2 branchcode
136
137   data_type: 'varchar'
138   default_value: (empty string)
139   is_nullable: 0
140   size: 10
141
142 =head2 overduefinescap
143
144   data_type: 'decimal'
145   is_nullable: 1
146
147 =cut
148
149 __PACKAGE__->add_columns(
150   "categorycode",
151   { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
152   "itemtype",
153   { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
154   "restrictedtype",
155   { data_type => "tinyint", is_nullable => 1 },
156   "rentaldiscount",
157   { data_type => "decimal", is_nullable => 1, size => [28, 6] },
158   "reservecharge",
159   { data_type => "decimal", is_nullable => 1, size => [28, 6] },
160   "fine",
161   { data_type => "decimal", is_nullable => 1, size => [28, 6] },
162   "finedays",
163   { data_type => "integer", is_nullable => 1 },
164   "firstremind",
165   { data_type => "integer", is_nullable => 1 },
166   "chargeperiod",
167   { data_type => "integer", is_nullable => 1 },
168   "accountsent",
169   { data_type => "integer", is_nullable => 1 },
170   "chargename",
171   { data_type => "varchar", is_nullable => 1, size => 100 },
172   "maxissueqty",
173   { data_type => "integer", is_nullable => 1 },
174   "issuelength",
175   { data_type => "integer", is_nullable => 1 },
176   "lengthunit",
177   {
178     data_type => "varchar",
179     default_value => "days",
180     is_nullable => 1,
181     size => 10,
182   },
183   "hardduedate",
184   { data_type => "date", is_nullable => 1 },
185   "hardduedatecompare",
186   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
187   "renewalsallowed",
188   { data_type => "smallint", default_value => 0, is_nullable => 0 },
189   "renewalperiod",
190   { data_type => "integer", is_nullable => 1 },
191   "reservesallowed",
192   { data_type => "smallint", default_value => 0, is_nullable => 0 },
193   "holdspickupdelay",
194   { data_type => "integer", is_nullable => 1 },
195   "branchcode",
196   { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
197   "overduefinescap",
198   { data_type => "decimal", is_nullable => 1 },
199 );
200 __PACKAGE__->set_primary_key("branchcode", "categorycode", "itemtype");
201
202
203 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2013-06-18 13:13:57
204 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:odTb6vtz4DignNIlYwkNEg
205
206
207 # You can replace this text with custom content, and it will be preserved on regeneration
208 1;