Bug 7295: (follow-up) update DBIx::Class schema classes
[koha.git] / Koha / Schema / Result / Deletedborrower.pm
1 use utf8;
2 package Koha::Schema::Result::Deletedborrower;
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::Deletedborrower
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<deletedborrowers>
19
20 =cut
21
22 __PACKAGE__->table("deletedborrowers");
23
24 =head1 ACCESSORS
25
26 =head2 borrowernumber
27
28   data_type: 'integer'
29   default_value: 0
30   is_nullable: 0
31
32 =head2 cardnumber
33
34   data_type: 'varchar'
35   is_nullable: 1
36   size: 16
37
38 =head2 surname
39
40   data_type: 'mediumtext'
41   is_nullable: 0
42
43 =head2 firstname
44
45   data_type: 'text'
46   is_nullable: 1
47
48 =head2 title
49
50   data_type: 'mediumtext'
51   is_nullable: 1
52
53 =head2 othernames
54
55   data_type: 'mediumtext'
56   is_nullable: 1
57
58 =head2 initials
59
60   data_type: 'text'
61   is_nullable: 1
62
63 =head2 streetnumber
64
65   data_type: 'varchar'
66   is_nullable: 1
67   size: 10
68
69 =head2 streettype
70
71   data_type: 'varchar'
72   is_nullable: 1
73   size: 50
74
75 =head2 address
76
77   data_type: 'mediumtext'
78   is_nullable: 0
79
80 =head2 address2
81
82   data_type: 'text'
83   is_nullable: 1
84
85 =head2 city
86
87   data_type: 'mediumtext'
88   is_nullable: 0
89
90 =head2 state
91
92   data_type: 'text'
93   is_nullable: 1
94
95 =head2 zipcode
96
97   data_type: 'varchar'
98   is_nullable: 1
99   size: 25
100
101 =head2 country
102
103   data_type: 'text'
104   is_nullable: 1
105
106 =head2 email
107
108   data_type: 'mediumtext'
109   is_nullable: 1
110
111 =head2 phone
112
113   data_type: 'text'
114   is_nullable: 1
115
116 =head2 mobile
117
118   data_type: 'varchar'
119   is_nullable: 1
120   size: 50
121
122 =head2 fax
123
124   data_type: 'mediumtext'
125   is_nullable: 1
126
127 =head2 emailpro
128
129   data_type: 'text'
130   is_nullable: 1
131
132 =head2 phonepro
133
134   data_type: 'text'
135   is_nullable: 1
136
137 =head2 b_streetnumber
138
139   data_type: 'varchar'
140   is_nullable: 1
141   size: 10
142
143 =head2 b_streettype
144
145   data_type: 'varchar'
146   is_nullable: 1
147   size: 50
148
149 =head2 b_address
150
151   data_type: 'varchar'
152   is_nullable: 1
153   size: 100
154
155 =head2 b_address2
156
157   data_type: 'text'
158   is_nullable: 1
159
160 =head2 b_city
161
162   data_type: 'mediumtext'
163   is_nullable: 1
164
165 =head2 b_state
166
167   data_type: 'text'
168   is_nullable: 1
169
170 =head2 b_zipcode
171
172   data_type: 'varchar'
173   is_nullable: 1
174   size: 25
175
176 =head2 b_country
177
178   data_type: 'text'
179   is_nullable: 1
180
181 =head2 b_email
182
183   data_type: 'text'
184   is_nullable: 1
185
186 =head2 b_phone
187
188   data_type: 'mediumtext'
189   is_nullable: 1
190
191 =head2 dateofbirth
192
193   data_type: 'date'
194   datetime_undef_if_invalid: 1
195   is_nullable: 1
196
197 =head2 branchcode
198
199   data_type: 'varchar'
200   default_value: (empty string)
201   is_nullable: 0
202   size: 10
203
204 =head2 categorycode
205
206   data_type: 'varchar'
207   default_value: (empty string)
208   is_nullable: 0
209   size: 10
210
211 =head2 dateenrolled
212
213   data_type: 'date'
214   datetime_undef_if_invalid: 1
215   is_nullable: 1
216
217 =head2 dateexpiry
218
219   data_type: 'date'
220   datetime_undef_if_invalid: 1
221   is_nullable: 1
222
223 =head2 gonenoaddress
224
225   data_type: 'tinyint'
226   is_nullable: 1
227
228 =head2 lost
229
230   data_type: 'tinyint'
231   is_nullable: 1
232
233 =head2 debarred
234
235   data_type: 'date'
236   datetime_undef_if_invalid: 1
237   is_nullable: 1
238
239 =head2 debarredcomment
240
241   data_type: 'varchar'
242   is_nullable: 1
243   size: 255
244
245 =head2 contactname
246
247   data_type: 'mediumtext'
248   is_nullable: 1
249
250 =head2 contactfirstname
251
252   data_type: 'text'
253   is_nullable: 1
254
255 =head2 contacttitle
256
257   data_type: 'text'
258   is_nullable: 1
259
260 =head2 guarantorid
261
262   data_type: 'integer'
263   is_nullable: 1
264
265 =head2 borrowernotes
266
267   data_type: 'mediumtext'
268   is_nullable: 1
269
270 =head2 relationship
271
272   data_type: 'varchar'
273   is_nullable: 1
274   size: 100
275
276 =head2 ethnicity
277
278   data_type: 'varchar'
279   is_nullable: 1
280   size: 50
281
282 =head2 ethnotes
283
284   data_type: 'varchar'
285   is_nullable: 1
286   size: 255
287
288 =head2 sex
289
290   data_type: 'varchar'
291   is_nullable: 1
292   size: 1
293
294 =head2 password
295
296   data_type: 'varchar'
297   is_nullable: 1
298   size: 30
299
300 =head2 flags
301
302   data_type: 'integer'
303   is_nullable: 1
304
305 =head2 userid
306
307   data_type: 'varchar'
308   is_nullable: 1
309   size: 30
310
311 =head2 opacnote
312
313   data_type: 'mediumtext'
314   is_nullable: 1
315
316 =head2 contactnote
317
318   data_type: 'varchar'
319   is_nullable: 1
320   size: 255
321
322 =head2 sort1
323
324   data_type: 'varchar'
325   is_nullable: 1
326   size: 80
327
328 =head2 sort2
329
330   data_type: 'varchar'
331   is_nullable: 1
332   size: 80
333
334 =head2 altcontactfirstname
335
336   data_type: 'varchar'
337   is_nullable: 1
338   size: 255
339
340 =head2 altcontactsurname
341
342   data_type: 'varchar'
343   is_nullable: 1
344   size: 255
345
346 =head2 altcontactaddress1
347
348   data_type: 'varchar'
349   is_nullable: 1
350   size: 255
351
352 =head2 altcontactaddress2
353
354   data_type: 'varchar'
355   is_nullable: 1
356   size: 255
357
358 =head2 altcontactaddress3
359
360   data_type: 'varchar'
361   is_nullable: 1
362   size: 255
363
364 =head2 altcontactstate
365
366   data_type: 'text'
367   is_nullable: 1
368
369 =head2 altcontactzipcode
370
371   data_type: 'varchar'
372   is_nullable: 1
373   size: 50
374
375 =head2 altcontactcountry
376
377   data_type: 'text'
378   is_nullable: 1
379
380 =head2 altcontactphone
381
382   data_type: 'varchar'
383   is_nullable: 1
384   size: 50
385
386 =head2 smsalertnumber
387
388   data_type: 'varchar'
389   is_nullable: 1
390   size: 50
391
392 =head2 privacy
393
394   data_type: 'integer'
395   default_value: 1
396   is_nullable: 0
397
398 =cut
399
400 __PACKAGE__->add_columns(
401   "borrowernumber",
402   { data_type => "integer", default_value => 0, is_nullable => 0 },
403   "cardnumber",
404   { data_type => "varchar", is_nullable => 1, size => 16 },
405   "surname",
406   { data_type => "mediumtext", is_nullable => 0 },
407   "firstname",
408   { data_type => "text", is_nullable => 1 },
409   "title",
410   { data_type => "mediumtext", is_nullable => 1 },
411   "othernames",
412   { data_type => "mediumtext", is_nullable => 1 },
413   "initials",
414   { data_type => "text", is_nullable => 1 },
415   "streetnumber",
416   { data_type => "varchar", is_nullable => 1, size => 10 },
417   "streettype",
418   { data_type => "varchar", is_nullable => 1, size => 50 },
419   "address",
420   { data_type => "mediumtext", is_nullable => 0 },
421   "address2",
422   { data_type => "text", is_nullable => 1 },
423   "city",
424   { data_type => "mediumtext", is_nullable => 0 },
425   "state",
426   { data_type => "text", is_nullable => 1 },
427   "zipcode",
428   { data_type => "varchar", is_nullable => 1, size => 25 },
429   "country",
430   { data_type => "text", is_nullable => 1 },
431   "email",
432   { data_type => "mediumtext", is_nullable => 1 },
433   "phone",
434   { data_type => "text", is_nullable => 1 },
435   "mobile",
436   { data_type => "varchar", is_nullable => 1, size => 50 },
437   "fax",
438   { data_type => "mediumtext", is_nullable => 1 },
439   "emailpro",
440   { data_type => "text", is_nullable => 1 },
441   "phonepro",
442   { data_type => "text", is_nullable => 1 },
443   "b_streetnumber",
444   { data_type => "varchar", is_nullable => 1, size => 10 },
445   "b_streettype",
446   { data_type => "varchar", is_nullable => 1, size => 50 },
447   "b_address",
448   { data_type => "varchar", is_nullable => 1, size => 100 },
449   "b_address2",
450   { data_type => "text", is_nullable => 1 },
451   "b_city",
452   { data_type => "mediumtext", is_nullable => 1 },
453   "b_state",
454   { data_type => "text", is_nullable => 1 },
455   "b_zipcode",
456   { data_type => "varchar", is_nullable => 1, size => 25 },
457   "b_country",
458   { data_type => "text", is_nullable => 1 },
459   "b_email",
460   { data_type => "text", is_nullable => 1 },
461   "b_phone",
462   { data_type => "mediumtext", is_nullable => 1 },
463   "dateofbirth",
464   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
465   "branchcode",
466   { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
467   "categorycode",
468   { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
469   "dateenrolled",
470   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
471   "dateexpiry",
472   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
473   "gonenoaddress",
474   { data_type => "tinyint", is_nullable => 1 },
475   "lost",
476   { data_type => "tinyint", is_nullable => 1 },
477   "debarred",
478   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
479   "debarredcomment",
480   { data_type => "varchar", is_nullable => 1, size => 255 },
481   "contactname",
482   { data_type => "mediumtext", is_nullable => 1 },
483   "contactfirstname",
484   { data_type => "text", is_nullable => 1 },
485   "contacttitle",
486   { data_type => "text", is_nullable => 1 },
487   "guarantorid",
488   { data_type => "integer", is_nullable => 1 },
489   "borrowernotes",
490   { data_type => "mediumtext", is_nullable => 1 },
491   "relationship",
492   { data_type => "varchar", is_nullable => 1, size => 100 },
493   "ethnicity",
494   { data_type => "varchar", is_nullable => 1, size => 50 },
495   "ethnotes",
496   { data_type => "varchar", is_nullable => 1, size => 255 },
497   "sex",
498   { data_type => "varchar", is_nullable => 1, size => 1 },
499   "password",
500   { data_type => "varchar", is_nullable => 1, size => 30 },
501   "flags",
502   { data_type => "integer", is_nullable => 1 },
503   "userid",
504   { data_type => "varchar", is_nullable => 1, size => 30 },
505   "opacnote",
506   { data_type => "mediumtext", is_nullable => 1 },
507   "contactnote",
508   { data_type => "varchar", is_nullable => 1, size => 255 },
509   "sort1",
510   { data_type => "varchar", is_nullable => 1, size => 80 },
511   "sort2",
512   { data_type => "varchar", is_nullable => 1, size => 80 },
513   "altcontactfirstname",
514   { data_type => "varchar", is_nullable => 1, size => 255 },
515   "altcontactsurname",
516   { data_type => "varchar", is_nullable => 1, size => 255 },
517   "altcontactaddress1",
518   { data_type => "varchar", is_nullable => 1, size => 255 },
519   "altcontactaddress2",
520   { data_type => "varchar", is_nullable => 1, size => 255 },
521   "altcontactaddress3",
522   { data_type => "varchar", is_nullable => 1, size => 255 },
523   "altcontactstate",
524   { data_type => "text", is_nullable => 1 },
525   "altcontactzipcode",
526   { data_type => "varchar", is_nullable => 1, size => 50 },
527   "altcontactcountry",
528   { data_type => "text", is_nullable => 1 },
529   "altcontactphone",
530   { data_type => "varchar", is_nullable => 1, size => 50 },
531   "smsalertnumber",
532   { data_type => "varchar", is_nullable => 1, size => 50 },
533   "privacy",
534   { data_type => "integer", default_value => 1, is_nullable => 0 },
535 );
536
537
538 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
539 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yA/UeNpbYIUrX/iWsF0NLw
540
541
542 # You can replace this text with custom content, and it will be preserved on regeneration
543 1;