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